glCheckFramebufferStatus - OpenGL ES 3 Reference Pages
文章推薦指數: 80 %
glCheckFramebufferStatus queries the completeness status of the framebuffer object currently bound to target . target must be GL_DRAW_FRAMEBUFFER ... Name glCheckFramebufferStatus—checkthecompletenessstatusofaframebuffer CSpecification GLenumglCheckFramebufferStatus( GLenumtarget); Parameters target Specifythetargetoftheframebuffercompletenesscheck. Description glCheckFramebufferStatusqueriesthecompletenessstatusoftheframebufferobjectcurrentlyboundtotarget. targetmustbeGL_DRAW_FRAMEBUFFER,GL_READ_FRAMEBUFFERorGL_FRAMEBUFFER. GL_FRAMEBUFFERisequivalenttoGL_DRAW_FRAMEBUFFER. ThereturnvalueisGL_FRAMEBUFFER_COMPLETEiftheframebufferboundtotargetiscomplete.Otherwise, thereturnvalueisdeterminedasfollows: GL_FRAMEBUFFER_UNDEFINEDisreturnediftargetisthedefaultframebuffer,butthedefaultframebufferdoesnotexist. GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENTisreturnedifanyoftheframebufferattachmentpointsareframebufferincomplete. GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENTisreturnediftheframebufferdoesnothaveatleastoneimageattachedtoit. GL_FRAMEBUFFER_UNSUPPORTEDisreturnedifdepthandstencilattachments,ifpresent,arenotthesamerenderbuffer,orif thecombinationofinternalformatsoftheattachedimagesviolatesanimplementation-dependentsetofrestrictions. GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLEisreturnedifthevalueofGL_RENDERBUFFER_SAMPLESisnotthesame forallattachedrenderbuffersor,iftheattachedimagesareamixofrenderbuffersandtextures,thevalueofGL_RENDERBUFFER_SAMPLES isnotzero. Additionally,ifanerroroccurs,zeroisreturned. Errors GL_INVALID_ENUMisgeneratediftargetisnotGL_DRAW_FRAMEBUFFER, GL_READ_FRAMEBUFFERorGL_FRAMEBUFFER. APIVersionSupport OpenGLESAPIVersion FunctionName 2.0 3.0 glCheckFramebufferStatus ✔ ✔ SeeAlso glGenFramebuffers, glDeleteFramebuffers glBindFramebuffer Copyright Copyright©2010-2014KhronosGroup. Thismaterialmaybedistributedsubjecttothetermsandconditionssetforthin theOpenPublicationLicense,v1.0,8June1999. http://opencontent.org/openpub/.
延伸文章資訊
- 1GLES2.0中文API-glCheckFramebufferStatus - CSDN博客
名称glCheckFramebufferStatus - 返回帧缓冲区对象的帧缓冲区完整性状态C规范GLenum glCheckFramebufferStatus(GLenum target);...
- 2glCheckFramebufferStatus - OpenGL ES 3 Reference Pages
glCheckFramebufferStatus queries the completeness status of the framebuffer object currently boun...
- 3glCheckFramebufferStatus - OpenGL 4 Reference Pages
glCheckFramebufferStatus and glCheckNamedFramebufferStatus return the completeness status of a fr...
- 4C++ (Cpp) glCheckFramebufferStatus Examples - HotExamples
C++ (Cpp) glCheckFramebufferStatus - 30 examples found. These are the top rated real world C++ (C...
- 5opengl API glCheckFramebufferStatus详解_妙为的博客
glCheckFramebufferStatus and glCheckNamedFramebufferStatus return the completeness status of a fr...