Template:Glapi baseformattable: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
Table template for base image formats.
 
Added stencil index, per GL 4.4 rules.
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|
{| class="wikitable" style="{{{1|}}}"
|+'''Base Internal Formats'''
|+'''Base Internal Formats'''
! '''Base Internal Format'''
! '''Base Internal Format'''
! '''RGBA, Depth and Stencil Values'''
! '''RGBA, Depth and Stencil Values'''
! '''Internal Components'''
! '''Internal Components'''
|+
|-
| {{code|GL_DEPTH_COMPONENT}}
| {{enum|GL_DEPTH_COMPONENT}}
| Depth
| Depth
| D
| D
|+
|-
| {{code|GL_DEPTH_STENCIL}}
| {{enum|GL_DEPTH_STENCIL}}
| Depth, Stencil
| Depth, Stencil
| D, S
| D, S
|+
|-
| {{code|GL_RED}}
| {{enum|GL_STENCIL_INDEX}}
| Stencil
| S
|-
| {{enum|GL_RED}}
| Red
| Red
| R
| R
|+
|-
| {{code|GL_RG}}
| {{enum|GL_RG}}
| Red, Green
| Red, Green
| R, G
| R, G
|+
|-
| {{code|GL_RGB}}
| {{enum|GL_RGB}}
| Red, Green, Blue
| Red, Green, Blue
| R, G, B
| R, G, B
|+
|-
| {{code|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