Difference between revisions of "Template:Bind image format table"

From OpenGL.org
Jump to: navigation, search
(Adding styling parameter.)
(Formatting fix.)
 
Line 1: Line 1:
 
{| class="wikitable" style="{{{1|}}}"
 
{| class="wikitable" style="{{{1|}}}"
|+'''Internal Formats for Image Variables'''
+
|-'''Internal Formats for Image Variables'''
 
! '''Image Unit Format'''
 
! '''Image Unit Format'''
 
! '''Format Qualifier'''
 
! '''Format Qualifier'''
 
! '''Image Unit Format'''
 
! '''Image Unit Format'''
 
! '''Format Qualifier'''
 
! '''Format Qualifier'''
|+
+
|-
 
| {{enum|GL_RGBA32F}}
 
| {{enum|GL_RGBA32F}}
 
| {{code|rgba32f}}
 
| {{code|rgba32f}}
 
| {{enum|GL_RGBA32UI}}
 
| {{enum|GL_RGBA32UI}}
 
| {{code|rgba32ui}}
 
| {{code|rgba32ui}}
|+
+
|-
 
| {{enum|GL_RGBA16F}}
 
| {{enum|GL_RGBA16F}}
 
| {{code|rgba16f}}
 
| {{code|rgba16f}}
 
| {{enum|GL_RGBA16UI}}
 
| {{enum|GL_RGBA16UI}}
 
| {{code|rgba16ui}}
 
| {{code|rgba16ui}}
|+
+
|-
 
| {{enum|GL_RG32F}}
 
| {{enum|GL_RG32F}}
 
| {{code|rg32f}}
 
| {{code|rg32f}}
 
| {{enum|GL_RGB10_A2UI}}
 
| {{enum|GL_RGB10_A2UI}}
 
| {{code|rgb10_a2ui}}
 
| {{code|rgb10_a2ui}}
|+
+
|-
 
| {{enum|GL_RG16F}}
 
| {{enum|GL_RG16F}}
 
| {{code|rg16f}}
 
| {{code|rg16f}}
 
| {{enum|GL_RGBA8UI}}
 
| {{enum|GL_RGBA8UI}}
 
| {{code|rgba8ui}}
 
| {{code|rgba8ui}}
|+
+
|-
 
| {{enum|GL_R11F_G11F_B10F}}
 
| {{enum|GL_R11F_G11F_B10F}}
 
| {{code|r11f_g11f_b10f}}
 
| {{code|r11f_g11f_b10f}}
 
| {{enum|GL_RG32UI}}
 
| {{enum|GL_RG32UI}}
 
| {{code|rg32ui}}
 
| {{code|rg32ui}}
|+
+
|-
 
| {{enum|GL_R32F}}
 
| {{enum|GL_R32F}}
 
| {{code|r32f}}
 
| {{code|r32f}}
 
| {{enum|GL_RG16UI}}
 
| {{enum|GL_RG16UI}}
 
| {{code|rg16ui}}
 
| {{code|rg16ui}}
|+
+
|-
 
| {{enum|GL_R16F}}
 
| {{enum|GL_R16F}}
 
| {{code|r16f}}
 
| {{code|r16f}}
 
| {{enum|GL_RG8UI}}
 
| {{enum|GL_RG8UI}}
 
| {{code|rg8ui}}
 
| {{code|rg8ui}}
|+
+
|-
 
| {{enum|GL_RGBA16}}
 
| {{enum|GL_RGBA16}}
 
| {{code|rgba16}}
 
| {{code|rgba16}}
 
| {{enum|GL_R32UI}}
 
| {{enum|GL_R32UI}}
 
| {{code|r32ui}}
 
| {{code|r32ui}}
|+
+
|-
 
| {{enum|GL_RGB10_A2}}
 
| {{enum|GL_RGB10_A2}}
 
| {{code|rgb10_a2}}
 
| {{code|rgb10_a2}}
 
| {{enum|GL_R16UI}}
 
| {{enum|GL_R16UI}}
 
| {{code|r16ui}}
 
| {{code|r16ui}}
|+
+
|-
 
| {{enum|GL_RGBA8}}
 
| {{enum|GL_RGBA8}}
 
| {{code|rgba8}}
 
| {{code|rgba8}}
 
| {{enum|GL_R8UI}}
 
| {{enum|GL_R8UI}}
 
| {{code|r8ui}}
 
| {{code|r8ui}}
|+
+
|-
 
| {{enum|GL_RG16}}
 
| {{enum|GL_RG16}}
 
| {{code|rg16}}
 
| {{code|rg16}}
 
| {{enum|GL_RGBA32I}}
 
| {{enum|GL_RGBA32I}}
 
| {{code|rgba32i}}
 
| {{code|rgba32i}}
|+
+
|-
 
| {{enum|GL_RG8}}
 
| {{enum|GL_RG8}}
 
| {{code|rg8}}
 
| {{code|rg8}}
 
| {{enum|GL_RGBA16I}}
 
| {{enum|GL_RGBA16I}}
 
| {{code|rgba16i}}
 
| {{code|rgba16i}}
|+
+
|-
 
| {{enum|GL_R16}}
 
| {{enum|GL_R16}}
 
| {{code|r16}}
 
| {{code|r16}}
 
| {{enum|GL_RGBA8I}}
 
| {{enum|GL_RGBA8I}}
 
| {{code|rgba8i}}
 
| {{code|rgba8i}}
|+
+
|-
 
| {{enum|GL_R8}}
 
| {{enum|GL_R8}}
 
| {{code|r8}}
 
| {{code|r8}}
 
| {{enum|GL_RG32I}}
 
| {{enum|GL_RG32I}}
 
| {{code|rg32i}}
 
| {{code|rg32i}}
|+
+
|-
 
| {{enum|GL_RGBA16_SNORM}}
 
| {{enum|GL_RGBA16_SNORM}}
 
| {{code|rgba16_snorm}}
 
| {{code|rgba16_snorm}}
 
| {{enum|GL_RG16I}}
 
| {{enum|GL_RG16I}}
 
| {{code|rg16i}}
 
| {{code|rg16i}}
|+
+
|-
 
| {{enum|GL_RGBA8_SNORM}}
 
| {{enum|GL_RGBA8_SNORM}}
 
| {{code|rgba8_snorm}}
 
| {{code|rgba8_snorm}}
 
| {{enum|GL_RG8I}}
 
| {{enum|GL_RG8I}}
 
| {{code|rg8i}}
 
| {{code|rg8i}}
|+
+
|-
 
| {{enum|GL_RG16_SNORM}}
 
| {{enum|GL_RG16_SNORM}}
 
| {{code|rg16_snorm}}
 
| {{code|rg16_snorm}}
 
| {{enum|GL_R32I}}
 
| {{enum|GL_R32I}}
 
| {{code|r32i}}
 
| {{code|r32i}}
|+
+
|-
 
| {{enum|GL_RG8_SNORM}}
 
| {{enum|GL_RG8_SNORM}}
 
| {{code|rg8_snorm}}
 
| {{code|rg8_snorm}}
 
| {{enum|GL_R16I}}
 
| {{enum|GL_R16I}}
 
| {{code|r16i}}
 
| {{code|r16i}}
|+
+
|-
 
| {{enum|GL_R16_SNORM}}
 
| {{enum|GL_R16_SNORM}}
 
| {{code|r16_snorm}}
 
| {{code|r16_snorm}}
Line 101: Line 101:
 
| {{code|r8i}}
 
| {{code|r8i}}
 
|}
 
|}
 +
<noinclude>[[Category:Template Tables]]</noinclude>

Latest revision as of 03:07, 16 February 2013

Image Unit Format Format Qualifier Image Unit Format Format Qualifier
GL_RGBA32F rgba32f​ GL_RGBA32UI rgba32ui​
GL_RGBA16F rgba16f​ GL_RGBA16UI rgba16ui​
GL_RG32F rg32f​ GL_RGB10_A2UI rgb10_a2ui​
GL_RG16F rg16f​ GL_RGBA8UI rgba8ui​
GL_R11F_G11F_B10F r11f_g11f_b10f​ GL_RG32UI rg32ui​
GL_R32F r32f​ GL_RG16UI rg16ui​
GL_R16F r16f​ GL_RG8UI rg8ui​
GL_RGBA16 rgba16​ GL_R32UI r32ui​
GL_RGB10_A2 rgb10_a2​ GL_R16UI r16ui​
GL_RGBA8 rgba8​ GL_R8UI r8ui​
GL_RG16 rg16​ GL_RGBA32I rgba32i​
GL_RG8 rg8​ GL_RGBA16I rgba16i​
GL_R16 r16​ GL_RGBA8I rgba8i​
GL_R8 r8​ GL_RG32I rg32i​
GL_RGBA16_SNORM rgba16_snorm​ GL_RG16I rg16i​
GL_RGBA8_SNORM rgba8_snorm​ GL_RG8I rg8i​
GL_RG16_SNORM rg16_snorm​ GL_R32I r32i​
GL_RG8_SNORM rg8_snorm​ GL_R16I r16i​
GL_R16_SNORM r16_snorm​ GL_R8I r8i​