Template:Glapi baseformattable: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
m formatting.
Adding styling parameter.
Line 1: Line 1:
{| class="wikitable"
{| class="wikitable" style="{{{1|}}}"
|+'''Base Internal Formats'''
|+'''Base Internal Formats'''
! '''Base Internal Format'''
! '''Base Internal Format'''
Line 5: Line 5:
! '''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_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
|}
|}

Revision as of 05:38, 14 January 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_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