GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus(
GLenum target
);
| Name | Description | |
|---|---|---|
| in | target | Target |
Checks settings for the current framebuffer object.
Set target to GL_FRAMEBUFFER.
This function returns the following values.
| GL_FRAMEBUFFER_COMPLETE | The correct buffer has been attached to each attachment point. |
|---|---|
| GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT | Neither the color buffer nor the depth buffer has been attached. |
| GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT | A data region has not been allocated for the buffers configured at each attachment point. |
| GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT | The same render buffer object was attached to the color and depth buffers. |
| GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS | Buffers of differing sizes are attached to the different attachment points. |
This function generates the following errors.
| GL_INVALID_OPERATION | This function was called without any command-list objects bound. |
|---|---|
| GL_INVALID_ENUM | The target argument was set to an invalid value. |
CONFIDENTIAL