Difference between revisions of "Template:Glapi buffertexformats"

From OpenGL.org
Jump to: navigation, search
(Correction.)
(Table fix.)
Line 1: Line 1:
 
{| class="wikitable" style="{{{1|}}}"
 
{| class="wikitable" style="{{{1|}}}"
|+
+
|-
 
! '''Internal Format'''
 
! '''Internal Format'''
 
! '''Base Type'''
 
! '''Base Type'''
Line 6: Line 6:
 
! '''Norm'''
 
! '''Norm'''
 
! colspan="4" | '''Components'''
 
! colspan="4" | '''Components'''
|+
+
|-
 
| {{enum|GL_R8}}
 
| {{enum|GL_R8}}
 
| ubyte
 
| ubyte
Line 15: Line 15:
 
| 0
 
| 0
 
| 1
 
| 1
|+
+
|-
 
| {{enum|GL_R16}}
 
| {{enum|GL_R16}}
 
| ushort
 
| ushort
Line 24: Line 24:
 
| 0
 
| 0
 
| 1
 
| 1
|+
+
|-
 
| {{enum|GL_R16F}}
 
| {{enum|GL_R16F}}
 
| half
 
| half
Line 33: Line 33:
 
| 0
 
| 0
 
| 1
 
| 1
|+
+
|-
 
| {{enum|GL_R32F}}
 
| {{enum|GL_R32F}}
 
| float
 
| float
Line 42: Line 42:
 
| 0
 
| 0
 
| 1
 
| 1
|+
+
|-
 
| {{enum|GL_R8I}}
 
| {{enum|GL_R8I}}
 
| byte
 
| byte
Line 51: Line 51:
 
| 0
 
| 0
 
| 1
 
| 1
|+
+
|-
 
| {{enum|GL_R16I}}
 
| {{enum|GL_R16I}}
 
| short
 
| short
Line 60: Line 60:
 
| 0
 
| 0
 
| 1
 
| 1
|+
+
|-
 
| {{enum|GL_R32I}}
 
| {{enum|GL_R32I}}
 
| int
 
| int
Line 69: Line 69:
 
| 0
 
| 0
 
| 1
 
| 1
|+
+
|-
 
| {{enum|GL_R8UI}}
 
| {{enum|GL_R8UI}}
 
| ubyte
 
| ubyte
Line 78: Line 78:
 
| 0
 
| 0
 
| 1
 
| 1
|+
+
|-
 
| {{enum|GL_R16UI}}
 
| {{enum|GL_R16UI}}
 
| ushort
 
| ushort
Line 87: Line 87:
 
| 0
 
| 0
 
| 1
 
| 1
|+
+
|-
 
| {{enum|GL_R32UI}}
 
| {{enum|GL_R32UI}}
 
| uint
 
| uint
Line 96: Line 96:
 
| 0
 
| 0
 
| 1
 
| 1
|+
+
|-
 
| {{enum|GL_RG8}}
 
| {{enum|GL_RG8}}
 
| ubyte
 
| ubyte
Line 105: Line 105:
 
| 0
 
| 0
 
| 1
 
| 1
|+
+
|-
 
| {{enum|GL_RG16}}
 
| {{enum|GL_RG16}}
 
| ushort
 
| ushort
Line 114: Line 114:
 
| 0
 
| 0
 
| 1
 
| 1
|+
+
|-
 
| {{enum|GL_RG16F}}
 
| {{enum|GL_RG16F}}
 
| half
 
| half
Line 123: Line 123:
 
| 0
 
| 0
 
| 1
 
| 1
|+
+
|-
 
| {{enum|GL_RG32F}}
 
| {{enum|GL_RG32F}}
 
| float
 
| float
Line 132: Line 132:
 
| 0
 
| 0
 
| 1
 
| 1
|+
+
|-
 
| {{enum|GL_RG8I}}
 
| {{enum|GL_RG8I}}
 
| byte
 
| byte
Line 141: Line 141:
 
| 0
 
| 0
 
| 1
 
| 1
|+
+
|-
 
| {{enum|GL_RG16I}}
 
| {{enum|GL_RG16I}}
 
| short
 
| short
Line 150: Line 150:
 
| 0
 
| 0
 
| 1
 
| 1
|+
+
|-
 
| {{enum|GL_RG32I}}
 
| {{enum|GL_RG32I}}
 
| int
 
| int
Line 159: Line 159:
 
| 0
 
| 0
 
| 1
 
| 1
|+
+
|-
 
| {{enum|GL_RG8UI}}
 
| {{enum|GL_RG8UI}}
 
| ubyte
 
| ubyte
Line 168: Line 168:
 
| 0
 
| 0
 
| 1
 
| 1
|+
+
|-
 
| {{enum|GL_RG16UI}}
 
| {{enum|GL_RG16UI}}
 
| ushort
 
| ushort
Line 177: Line 177:
 
| 0
 
| 0
 
| 1
 
| 1
|+
+
|-
 
| {{enum|GL_RG32UI}}
 
| {{enum|GL_RG32UI}}
 
| uint
 
| uint
Line 186: Line 186:
 
| 0
 
| 0
 
| 1
 
| 1
|+
+
|-
 
| {{enum|GL_RGB32F}}
 
| {{enum|GL_RGB32F}}
 
| float
 
| float
Line 195: Line 195:
 
| B
 
| B
 
| 1
 
| 1
|+
+
|-
 
| {{enum|GL_RGB32I}}
 
| {{enum|GL_RGB32I}}
 
| int
 
| int
Line 204: Line 204:
 
| B
 
| B
 
| 1
 
| 1
|+
+
|-
 
| {{enum|GL_RGB32UI}}
 
| {{enum|GL_RGB32UI}}
 
| uint
 
| uint
Line 213: Line 213:
 
| B
 
| B
 
| 1
 
| 1
|+
+
|-
 
| {{enum|GL_RGBA8}}
 
| {{enum|GL_RGBA8}}
 
| ubyte
 
| ubyte
Line 222: Line 222:
 
| B
 
| B
 
| A
 
| A
|+
+
|-
 
| {{enum|GL_RGBA16}}
 
| {{enum|GL_RGBA16}}
 
| short
 
| short
Line 231: Line 231:
 
| B
 
| B
 
| A
 
| A
|+
+
|-
 
| {{enum|GL_RGBA16F}}
 
| {{enum|GL_RGBA16F}}
 
| half
 
| half
Line 240: Line 240:
 
| B
 
| B
 
| A
 
| A
|+
+
|-
 
| {{enum|GL_RGBA32F}}
 
| {{enum|GL_RGBA32F}}
 
| float
 
| float
Line 249: Line 249:
 
| B
 
| B
 
| A
 
| A
|+
+
|-
 
| {{enum|GL_RGBA8I}}
 
| {{enum|GL_RGBA8I}}
 
| byte
 
| byte
Line 258: Line 258:
 
| B
 
| B
 
| A
 
| A
|+
+
|-
 
| {{enum|GL_RGBA16I}}
 
| {{enum|GL_RGBA16I}}
 
| short
 
| short
Line 267: Line 267:
 
| B
 
| B
 
| A
 
| A
|+
+
|-
 
| {{enum|GL_RGBA32I}}
 
| {{enum|GL_RGBA32I}}
 
| int
 
| int
Line 276: Line 276:
 
| B
 
| B
 
| A
 
| A
|+
+
|-
 
| {{enum|GL_RGBA8UI}}
 
| {{enum|GL_RGBA8UI}}
 
| ubyte
 
| ubyte
Line 285: Line 285:
 
| B
 
| B
 
| A
 
| A
|+
+
|-
 
| {{enum|GL_RGBA16UI}}
 
| {{enum|GL_RGBA16UI}}
 
| ushort
 
| ushort
Line 294: Line 294:
 
| B
 
| B
 
| A
 
| A
|+
+
|-
 
| {{enum|GL_RGBA32UI}}
 
| {{enum|GL_RGBA32UI}}
 
| uint
 
| uint
Line 304: Line 304:
 
| A
 
| A
 
|}
 
|}
 +
<noinclude>[[Category:Template Tables]]</noinclude>

Revision as of 03:16, 16 February 2013

Internal Format Base Type Count Norm Components
GL_R8 ubyte 1 YES R 0 0 1
GL_R16 ushort 1 YES R 0 0 1
GL_R16F half 1 NO R 0 0 1
GL_R32F float 1 NO R 0 0 1
GL_R8I byte 1 NO R 0 0 1
GL_R16I short 1 NO R 0 0 1
GL_R32I int 1 NO R 0 0 1
GL_R8UI ubyte 1 NO R 0 0 1
GL_R16UI ushort 1 NO R 0 0 1
GL_R32UI uint 1 NO R 0 0 1
GL_RG8 ubyte 2 YES R G 0 1
GL_RG16 ushort 2 YES R G 0 1
GL_RG16F half 2 NO R G 0 1
GL_RG32F float 2 NO R G 0 1
GL_RG8I byte 2 NO R G 0 1
GL_RG16I short 2 NO R G 0 1
GL_RG32I int 2 NO R G 0 1
GL_RG8UI ubyte 2 NO R G 0 1
GL_RG16UI ushort 2 NO R G 0 1
GL_RG32UI uint 2 NO R G 0 1
GL_RGB32F float 3 NO R G B 1
GL_RGB32I int 3 NO R G B 1
GL_RGB32UI uint 3 NO R G B 1
GL_RGBA8 ubyte 4 YES R G B A
GL_RGBA16 short 4 YES R G B A
GL_RGBA16F half 4 NO R G B A
GL_RGBA32F float 4 NO R G B A
GL_RGBA8I byte 4 NO R G B A
GL_RGBA16I short 4 NO R G B A
GL_RGBA32I int 4 NO R G B A
GL_RGBA8UI ubyte 4 NO R G B A
GL_RGBA16UI ushort 4 NO R G B A
GL_RGBA32UI uint 4 NO R G B A