org.lwjgl.opengl.GL30C.glFramebufferRenderbuffer java code ...

文章推薦指數: 80 %
投票人數:10人

public static void glFramebufferRenderbuffer(@NativeType("GLenum") int ... glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); HowtouseglFramebufferRenderbuffermethodinorg.lwjgl.opengl.GL30CBestJavacodesnippetsusingorg.lwjgl.opengl.GL30C.glFramebufferRenderbuffer(Showingtop5resultsoutof315)/** *Attachesarenderbufferasalogicalbuffertothecurrentlyboundframebufferobject. * *@paramtargettheframebuffertarget.Oneof:

{@linkGL30C#GL_FRAMEBUFFERFRAMEBUFFER} {@linkGL30C#GL_READ_FRAMEBUFFERREAD_FRAMEBUFFER} {@linkGL30C#GL_DRAW_FRAMEBUFFERDRAW_FRAMEBUFFER}
*@paramattachmenttheattachmentpointoftheframebuffer.Oneof:
{@linkGL30C#GL_COLOR_ATTACHMENT0COLOR_ATTACHMENT0} {@linkGL30C#GL_COLOR_ATTACHMENT1COLOR_ATTACHMENT1} {@linkGL30C#GL_COLOR_ATTACHMENT2COLOR_ATTACHMENT2} {@linkGL30C#GL_COLOR_ATTACHMENT3COLOR_ATTACHMENT3}
{@linkGL30C#GL_COLOR_ATTACHMENT4COLOR_ATTACHMENT4} {@linkGL30C#GL_COLOR_ATTACHMENT5COLOR_ATTACHMENT5} {@linkGL30C#GL_COLOR_ATTACHMENT6COLOR_ATTACHMENT6} {@linkGL30C#GL_COLOR_ATTACHMENT7COLOR_ATTACHMENT7}
{@linkGL30C#GL_COLOR_ATTACHMENT8COLOR_ATTACHMENT8} {@linkGL30C#GL_COLOR_ATTACHMENT9COLOR_ATTACHMENT9} {@linkGL30C#GL_COLOR_ATTACHMENT10COLOR_ATTACHMENT10} {@linkGL30C#GL_COLOR_ATTACHMENT11COLOR_ATTACHMENT11}
{@linkGL30C#GL_COLOR_ATTACHMENT12COLOR_ATTACHMENT12} {@linkGL30C#GL_COLOR_ATTACHMENT13COLOR_ATTACHMENT13} {@linkGL30C#GL_COLOR_ATTACHMENT14COLOR_ATTACHMENT14} {@linkGL30C#GL_COLOR_ATTACHMENT15COLOR_ATTACHMENT15}
{@linkGL30C#GL_COLOR_ATTACHMENT16COLOR_ATTACHMENT16} {@linkGL30C#GL_COLOR_ATTACHMENT17COLOR_ATTACHMENT17} {@linkGL30C#GL_COLOR_ATTACHMENT18COLOR_ATTACHMENT18} {@linkGL30C#GL_COLOR_ATTACHMENT19COLOR_ATTACHMENT19}
{@linkGL30C#GL_COLOR_ATTACHMENT20COLOR_ATTACHMENT20} {@linkGL30C#GL_COLOR_ATTACHMENT21COLOR_ATTACHMENT21} {@linkGL30C#GL_COLOR_ATTACHMENT22COLOR_ATTACHMENT22} {@linkGL30C#GL_COLOR_ATTACHMENT23COLOR_ATTACHMENT23}
{@linkGL30C#GL_COLOR_ATTACHMENT24COLOR_ATTACHMENT24} {@linkGL30C#GL_COLOR_ATTACHMENT25COLOR_ATTACHMENT25} {@linkGL30C#GL_COLOR_ATTACHMENT26COLOR_ATTACHMENT26} {@linkGL30C#GL_COLOR_ATTACHMENT27COLOR_ATTACHMENT27}
{@linkGL30C#GL_COLOR_ATTACHMENT28COLOR_ATTACHMENT28} {@linkGL30C#GL_COLOR_ATTACHMENT29COLOR_ATTACHMENT29} {@linkGL30C#GL_COLOR_ATTACHMENT30COLOR_ATTACHMENT30} {@linkGL30C#GL_COLOR_ATTACHMENT31COLOR_ATTACHMENT31}
{@linkGL30C#GL_DEPTH_ATTACHMENTDEPTH_ATTACHMENT} {@linkGL30C#GL_STENCIL_ATTACHMENTSTENCIL_ATTACHMENT} {@linkGL30C#GL_DEPTH_STENCIL_ATTACHMENTDEPTH_STENCIL_ATTACHMENT}
*@paramrenderbuffertargettherenderbuffertarget.Mustbe:
{@linkGL30C#GL_RENDERBUFFERRENDERBUFFER}
*@paramrenderbufferthenameofanexistingrenderbufferobjectoftype{@coderenderbuffertarget}toattach */ publicstaticvoidglFramebufferRenderbuffer(@NativeType("GLenum")inttarget,@NativeType("GLenum")intattachment,@NativeType("GLenum")intrenderbuffertarget,@NativeType("GLuint")intrenderbuffer){ GL30C.glFramebufferRenderbuffer(target,attachment,renderbuffertarget,renderbuffer); } /** *Attachesarenderbufferasalogicalbuffertothecurrentlyboundframebufferobject. * *@paramtargettheframebuffertarget.Oneof:
{@linkGL30C#GL_FRAMEBUFFERFRAMEBUFFER} {@linkGL30C#GL_READ_FRAMEBUFFERREAD_FRAMEBUFFER} {@linkGL30C#GL_DRAW_FRAMEBUFFERDRAW_FRAMEBUFFER}
*@paramattachmenttheattachmentpointoftheframebuffer.Oneof:
{@linkGL30C#GL_COLOR_ATTACHMENT0COLOR_ATTACHMENT0} {@linkGL30C#GL_COLOR_ATTACHMENT1COLOR_ATTACHMENT1} {@linkGL30C#GL_COLOR_ATTACHMENT2COLOR_ATTACHMENT2} {@linkGL30C#GL_COLOR_ATTACHMENT3COLOR_ATTACHMENT3}
{@linkGL30C#GL_COLOR_ATTACHMENT4COLOR_ATTACHMENT4} {@linkGL30C#GL_COLOR_ATTACHMENT5COLOR_ATTACHMENT5} {@linkGL30C#GL_COLOR_ATTACHMENT6COLOR_ATTACHMENT6} {@linkGL30C#GL_COLOR_ATTACHMENT7COLOR_ATTACHMENT7}
{@linkGL30C#GL_COLOR_ATTACHMENT8COLOR_ATTACHMENT8} {@linkGL30C#GL_COLOR_ATTACHMENT9COLOR_ATTACHMENT9} {@linkGL30C#GL_COLOR_ATTACHMENT10COLOR_ATTACHMENT10} {@linkGL30C#GL_COLOR_ATTACHMENT11COLOR_ATTACHMENT11}
{@linkGL30C#GL_COLOR_ATTACHMENT12COLOR_ATTACHMENT12} {@linkGL30C#GL_COLOR_ATTACHMENT13COLOR_ATTACHMENT13} {@linkGL30C#GL_COLOR_ATTACHMENT14COLOR_ATTACHMENT14} {@linkGL30C#GL_COLOR_ATTACHMENT15COLOR_ATTACHMENT15}
{@linkGL30C#GL_COLOR_ATTACHMENT16COLOR_ATTACHMENT16} {@linkGL30C#GL_COLOR_ATTACHMENT17COLOR_ATTACHMENT17} {@linkGL30C#GL_COLOR_ATTACHMENT18COLOR_ATTACHMENT18} {@linkGL30C#GL_COLOR_ATTACHMENT19COLOR_ATTACHMENT19}
{@linkGL30C#GL_COLOR_ATTACHMENT20COLOR_ATTACHMENT20} {@linkGL30C#GL_COLOR_ATTACHMENT21COLOR_ATTACHMENT21} {@linkGL30C#GL_COLOR_ATTACHMENT22COLOR_ATTACHMENT22} {@linkGL30C#GL_COLOR_ATTACHMENT23COLOR_ATTACHMENT23}
{@linkGL30C#GL_COLOR_ATTACHMENT24COLOR_ATTACHMENT24} {@linkGL30C#GL_COLOR_ATTACHMENT25COLOR_ATTACHMENT25} {@linkGL30C#GL_COLOR_ATTACHMENT26COLOR_ATTACHMENT26} {@linkGL30C#GL_COLOR_ATTACHMENT27COLOR_ATTACHMENT27}
{@linkGL30C#GL_COLOR_ATTACHMENT28COLOR_ATTACHMENT28} {@linkGL30C#GL_COLOR_ATTACHMENT29COLOR_ATTACHMENT29} {@linkGL30C#GL_COLOR_ATTACHMENT30COLOR_ATTACHMENT30} {@linkGL30C#GL_COLOR_ATTACHMENT31COLOR_ATTACHMENT31}
{@linkGL30C#GL_DEPTH_ATTACHMENTDEPTH_ATTACHMENT} {@linkGL30C#GL_STENCIL_ATTACHMENTSTENCIL_ATTACHMENT} {@linkGL30C#GL_DEPTH_STENCIL_ATTACHMENTDEPTH_STENCIL_ATTACHMENT}
*@paramrenderbuffertargettherenderbuffertarget.Mustbe:
{@linkGL30C#GL_RENDERBUFFERRENDERBUFFER}
*@paramrenderbufferthenameofanexistingrenderbufferobjectoftype{@coderenderbuffertarget}toattach * *@seeReferencePage */ publicstaticvoidglFramebufferRenderbuffer(@NativeType("GLenum")inttarget,@NativeType("GLenum")intattachment,@NativeType("GLenum")intrenderbuffertarget,@NativeType("GLuint")intrenderbuffer){ GL30C.glFramebufferRenderbuffer(target,attachment,renderbuffertarget,renderbuffer); } }elseif(!_usingDepthRB&&_depthRBID!=0){ GL30C.glFramebufferRenderbuffer(GL30C.GL_FRAMEBUFFER,GL30C.GL_DEPTH_ATTACHMENT, GL30C.GL_RENDERBUFFER,_depthRBID); _usingDepthRB=true; GL30C.glFramebufferRenderbuffer(GL30C.GL_FRAMEBUFFER,GL30C.GL_COLOR_ATTACHMENT0,GL30C.GL_RENDERBUFFER,0); GL30C.glFramebufferRenderbuffer(GL30C.GL_FRAMEBUFFER,GL30C.GL_DEPTH_ATTACHMENT,GL30C.GL_RENDERBUFFER, _depthRBID); GL30C.glFramebufferRenderbuffer(GL30C.GL_FRAMEBUFFER,GL30C.GL_COLOR_ATTACHMENT0,GL30C.GL_RENDERBUFFER, _mscolorRBID); GL30C.glFramebufferRenderbuffer(GL30C.GL_FRAMEBUFFER,GL30C.GL_DEPTH_ATTACHMENT,GL30C.GL_RENDERBUFFER, _msdepthRBID); org.lwjgl.openglGL30CglFramebufferRenderbufferJavadocAttachesarenderbufferasalogicalbuffertothecurrentlyboundframebufferobject. PopularmethodsofGL30CglBindFramebufferBindsaframebuffertoaframebuffertarget.glBindRenderbufferBindsarenderbuffertoarenderbuffertarget.glBindVertexArrayBindsavertexarrayobjectglBlitFramebufferCopiesablockofpixelsfromthereadframebuffertothedrawframebuffer.glCheckFramebufferStatusChecksthecompletenessstatusofaframebuffer.glDeleteFramebuffersArrayversionof:#glDeleteFramebuffersglDeleteRenderbuffersArrayversionof:#glDeleteRenderbuffersglDeleteVertexArraysArrayversionof:#glDeleteVertexArraysglFramebufferTexture2DAttachesalevelofa2Dtextureobjectasalogicalbuffertothecurrently boundframebufferobjecglGenFramebuffersArrayversionof:#glGenFramebuffersglGenRenderbuffersArrayversionof:#glGenRenderbuffersglGenVertexArraysArrayversionof:#glGenVertexArraysglGenRenderbuffers,glGenVertexArrays,glGenerateMipmap,glRenderbufferStorage,glRenderbufferStorageMultisample,glUniform1uiv,glUniform2uiv,glUniform3uiv,glUniform4uivPopularinJavaParsingJSONdocumentstojavaclassesusinggsonfindViewById(Activity)getExternalFilesDir(Context)getContentResolver(Context)HttpServer(com.sun.net.httpserver)ThisclassimplementsasimpleHTTPserver.AHttpServerisboundtoanIP addressandportnumberaOutputStream(java.io)Awritablesinkforbytes.Mostclientswilluseoutputstreamsthatwritedata tothefilesystem(UnknownHostException(java.net)Thrownwhenahostnamecannotberesolved.Enumeration(java.util)Alegacyiterationinterface.NewcodeshoulduseIteratorinstead.Iterator replacestheenumerationSortedSet(java.util)SortedSetisaSetwhichiteratesoveritselementsinasortedorder.Theorder isdeterminedeitheTimerTask(java.util)TheTimerTaskclassrepresentsatasktorunataspecifiedtime.Thetaskmay berunonceorrepeatSublimeTextforPythonProductsSearchforJavacodeSearchforJavaScriptcodeIDEPluginsIntelliJIDEAWebStormVisualStudioAndroidStudioEclipseVisualStudioCodePyCharmSublimeTextPhpStormVimAtomGoLandRubyMineEmacsJupyterNotebookJupyterLabRiderDataGripAppCodeCompanyAboutUsContactUsCareersResourcesFAQBlogTabnineAcademyStudentsTermsofusePrivacypolicyJavaCodeIndexJavascriptCodeIndexGetTabnineforyourIDEnow


請為這篇文章評分?