Framebuffer Control State Variables
GL_DRAW_BUFFER
Description: Buffers selected for drawing Attribute group: color-buffer Initial value: Get command: glGetIntegerv GL_INDEX_WRITEMASK
Description: Color-index writemask Attribute group: color-buffer Initial value: 1's Get command: glGetIntegerv GL_COLOR_WRITEMASK
Description: Color write enables; R, G, B, or A Attribute group: color-buffer Initial value: GL_TRUE Get command: glGetBooleanv GL_DEPTH_WRITEMASK
Description: Depth buffer enabled for writing Attribute group: depth-buffer Initial value: GL_TRUE Get command: glGetBooleanv GL_STENCIL_WRITEMASK
Description: Stencil-buffer writemask Attribute group: stencil-buffer Initial value: 1's Get command: glGetIntegerv GL_COLOR_CLEAR_VALUE
Description: Color-buffer clear value (RGBA mode) Attribute group: color-buffer Initial value: 0, 0, 0, 0 Get command: glGetFloatv GL_INDEX_CLEAR_VALUE
Description: Color-buffer clear value (color-index mode) Attribute group: color-buffer Initial value: 0 Get command: glGetFloatv GL_DEPTH_CLEAR_VALUE
Description: Depth-buffer clear value Attribute group: depth-buffer Initial value: 1 Get command: glGetIntegerv GL_STENCIL_CLEAR_VALUE
Description: Stencil-buffer clear value Attribute group: stencil-buffer Initial value: 0 Get command: glGetIntegerv GL_ACCUM_CLEAR_VALUE
Description: Accumulation-buffer clear value Attribute group: accum-buffer Initial value: 0 Get command: glGetFloatv