Template:Glapi baseformattable: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
Adding styling parameter.
Added stencil index, per GL 4.4 rules.
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
! '''RGBA, Depth and Stencil Values'''
! '''RGBA, Depth and Stencil Values'''
! '''Internal Components'''
! '''Internal Components'''
|+
|-
| {{enum|GL_DEPTH_COMPONENT}}
| {{enum|GL_DEPTH_COMPONENT}}
| Depth
| Depth
| D
| D
|+
|-
| {{enum|GL_DEPTH_STENCIL}}
| {{enum|GL_DEPTH_STENCIL}}
| Depth, Stencil
| Depth, Stencil
| D, S
| D, S
|+
|-
| {{enum|GL_STENCIL_INDEX}}
| Stencil
| S
|-
| {{enum|GL_RED}}
| {{enum|GL_RED}}
| Red
| Red
| R
| R
|+
|-
| {{enum|GL_RG}}
| {{enum|GL_RG}}
| Red, Green
| Red, Green
| R, G
| R, G
|+
|-
| {{enum|GL_RGB}}
| {{enum|GL_RGB}}
| Red, Green, Blue
| Red, Green, Blue
| R, G, B
| R, G, B
|+
|-
| {{enum|GL_RGBA}}
| {{enum|GL_RGBA}}
| Red, Green, Blue, Alpha
| Red, Green, Blue, Alpha
| R, G, B, A
| R, G, B, A
|}
|}
<noinclude>[[Category:Template Tables]]</noinclude>

Latest revision as of 01:05, 25 July 2013

Base Internal Formats
Base Internal Format RGBA, Depth and Stencil Values Internal Components
GL_DEPTH_COMPONENT Depth D
GL_DEPTH_STENCIL Depth, Stencil D, S
GL_STENCIL_INDEX Stencil S
GL_RED Red R
GL_RG Red, Green R, G
GL_RGB Red, Green, Blue R, G, B
GL_RGBA Red, Green, Blue, Alpha R, G, B, A