Template:Glapi baseformattable: Difference between revisions
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''' | ||
| | |- | ||
| {{ | | {{enum|GL_DEPTH_COMPONENT}} | ||
| Depth | | Depth | ||
| D | | D | ||
| | |- | ||
| {{ | | {{enum|GL_DEPTH_STENCIL}} | ||
| Depth, Stencil | | Depth, Stencil | ||
| D, S | | D, S | ||
| | |- | ||
| {{ | | {{enum|GL_STENCIL_INDEX}} | ||
| Stencil | |||
| S | |||
|- | |||
| {{enum|GL_RED}} | |||
| Red | | Red | ||
| R | | R | ||
| | |- | ||
| {{ | | {{enum|GL_RG}} | ||
| Red, Green | | Red, Green | ||
| R, G | | R, G | ||
| | |- | ||
| {{ | | {{enum|GL_RGB}} | ||
| Red, Green, Blue | | Red, Green, Blue | ||
| R, G, B | | R, G, B | ||
| | |- | ||
| {{ | | {{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 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 |