Rediger

Del via


Framebuffer Control State Variables

GL\_DRAW\_BUFFER
Property Value
Description: Buffers selected for drawing
Attribute group: color-buffer
Initial value:
Get command: glGetIntegerv

 

GL\_INDEX\_WRITEMASK
Property Value
Description: Color-index writemask
Attribute group: color-buffer
Initial value: 1's
Get command: glGetIntegerv

 

GL\_COLOR\_WRITEMASK
Property Value
Description: Color write enables; R, G, B, or A
Attribute group: color-buffer
Initial value: GL_TRUE
Get command: glGetBooleanv

 

GL\_DEPTH\_WRITEMASK
Property Value
Description: Depth buffer enabled for writing
Attribute group: depth-buffer
Initial value: GL_TRUE
Get command: glGetBooleanv

 

GL\_STENCIL\_WRITEMASK
Property Value
Description: Stencil-buffer writemask
Attribute group: stencil-buffer
Initial value: 1's
Get command: glGetIntegerv

 

GL\_COLOR\_CLEAR\_VALUE
Property 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
Property Value
Description: Color-buffer clear value (color-index mode)
Attribute group: color-buffer
Initial value: 0
Get command: glGetFloatv

 

GL\_DEPTH\_CLEAR\_VALUE
Property Value
Description: Depth-buffer clear value
Attribute group: depth-buffer
Initial value: 1
Get command: glGetIntegerv

 

GL\_STENCIL\_CLEAR\_VALUE
Property Value
Description: Stencil-buffer clear value
Attribute group: stencil-buffer
Initial value: 0
Get command: glGetIntegerv

 

GL\_ACCUM\_CLEAR\_VALUE
Property Value
Description: Accumulation-buffer clear value
Attribute group: accum-buffer
Initial value: 0
Get command: glGetFloatv