Difference between revisions of "Template:Glapi view type map"

From OpenGL.org
Jump to: navigation, search
(The table from glTextureView, defining the mapping of texture targets.)
 
(Visualization fix.)
Line 1: Line 1:
 
{| class="wikitable"
 
{| class="wikitable"
|+
+
|-
 
! Original Target
 
! Original Target
 
! Compatible New Targets
 
! Compatible New Targets
|+
+
|-
 
| {{enum|GL_TEXTURE_1D}}
 
| {{enum|GL_TEXTURE_1D}}
 
| {{enum|GL_TEXTURE_1D}}, {{enum|GL_TEXTURE_1D_ARRAY}}
 
| {{enum|GL_TEXTURE_1D}}, {{enum|GL_TEXTURE_1D_ARRAY}}
|+
+
|-
 
| {{enum|GL_TEXTURE_2D}}
 
| {{enum|GL_TEXTURE_2D}}
 
| {{enum|GL_TEXTURE_2D}}, {{enum|GL_TEXTURE_2D_ARRAY}}
 
| {{enum|GL_TEXTURE_2D}}, {{enum|GL_TEXTURE_2D_ARRAY}}
|+
+
|-
 
| {{enum|GL_TEXTURE_3D}}
 
| {{enum|GL_TEXTURE_3D}}
 
| {{enum|GL_TEXTURE_3D}}
 
| {{enum|GL_TEXTURE_3D}}
|+
+
|-
 
| {{enum|GL_TEXTURE_CUBE_MAP}}
 
| {{enum|GL_TEXTURE_CUBE_MAP}}
 
| {{enum|GL_TEXTURE_CUBE_MAP}}, {{enum|GL_TEXTURE_2D}}, {{enum|GL_TEXTURE_2D_ARRAY}}, {{enum|GL_TEXTUER_CUBE_MAP_ARRAY}}
 
| {{enum|GL_TEXTURE_CUBE_MAP}}, {{enum|GL_TEXTURE_2D}}, {{enum|GL_TEXTURE_2D_ARRAY}}, {{enum|GL_TEXTUER_CUBE_MAP_ARRAY}}
|+
+
|-
 
| {{enum|GL_TEXTURE_RECTANGLE}}
 
| {{enum|GL_TEXTURE_RECTANGLE}}
 
| {{enum|GL_TEXTURE_RECTANGLE}}
 
| {{enum|GL_TEXTURE_RECTANGLE}}
|+
+
|-
 
| {{enum|GL_TEXTURE_BUFFER}}
 
| {{enum|GL_TEXTURE_BUFFER}}
 
| ''none''. Cannot be used with this function.
 
| ''none''. Cannot be used with this function.
|+
+
|-
 
| {{enum|GL_TEXTURE_1D_ARRAY}}
 
| {{enum|GL_TEXTURE_1D_ARRAY}}
 
| {{enum|GL_TEXTURE_1D}}, {{enum|GL_TEXTURE_1D_ARRAY}}
 
| {{enum|GL_TEXTURE_1D}}, {{enum|GL_TEXTURE_1D_ARRAY}}
|+
+
|-
 
| {{enum|GL_TEXTURE_2D_ARRAY}}
 
| {{enum|GL_TEXTURE_2D_ARRAY}}
 
| {{enum|GL_TEXTURE_2D}}, {{enum|GL_TEXTURE_2D_ARRAY}}
 
| {{enum|GL_TEXTURE_2D}}, {{enum|GL_TEXTURE_2D_ARRAY}}
|+
+
|-
 
| {{enum|GL_TEXTURE_CUBE_MAP_ARRAY}}
 
| {{enum|GL_TEXTURE_CUBE_MAP_ARRAY}}
 
| {{enum|GL_TEXTURE_CUBE_MAP}}, {{enum|GL_TEXTURE_2D}}, {{enum|GL_TEXTURE_2D_ARRAY}}, {{enum|GL_TEXTUER_CUBE_MAP_ARRAY}}
 
| {{enum|GL_TEXTURE_CUBE_MAP}}, {{enum|GL_TEXTURE_2D}}, {{enum|GL_TEXTURE_2D_ARRAY}}, {{enum|GL_TEXTUER_CUBE_MAP_ARRAY}}
|+
+
|-
 
| {{enum|GL_TEXTURE_2D_MULTISAMPLE}}
 
| {{enum|GL_TEXTURE_2D_MULTISAMPLE}}
 
| {{enum|GL_TEXTURE_2D_MULTISAMPLE}}, {{enum|GL_TEXTURE_MULTISAMPLE_ARRAY}}
 
| {{enum|GL_TEXTURE_2D_MULTISAMPLE}}, {{enum|GL_TEXTURE_MULTISAMPLE_ARRAY}}
|+
+
|-
 
| {{enum|GL_TEXTURE_2D_MULTISAMPLE_ARRAY}}
 
| {{enum|GL_TEXTURE_2D_MULTISAMPLE_ARRAY}}
 
| {{enum|GL_TEXTURE_2D_MULTISAMPLE}}, {{enum|GL_TEXTURE_MULTISAMPLE_ARRAY}}
 
| {{enum|GL_TEXTURE_2D_MULTISAMPLE}}, {{enum|GL_TEXTURE_MULTISAMPLE_ARRAY}}
 
|}
 
|}

Revision as of 17:48, 15 February 2013

Original Target Compatible New Targets
GL_TEXTURE_1D GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY
GL_TEXTURE_2D GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY
GL_TEXTURE_3D GL_TEXTURE_3D
GL_TEXTURE_CUBE_MAP GL_TEXTURE_CUBE_MAP, GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY, GL_TEXTUER_CUBE_MAP_ARRAY
GL_TEXTURE_RECTANGLE GL_TEXTURE_RECTANGLE
GL_TEXTURE_BUFFER none. Cannot be used with this function.
GL_TEXTURE_1D_ARRAY GL_TEXTURE_1D, GL_TEXTURE_1D_ARRAY
GL_TEXTURE_2D_ARRAY GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY
GL_TEXTURE_CUBE_MAP_ARRAY GL_TEXTURE_CUBE_MAP, GL_TEXTURE_2D, GL_TEXTURE_2D_ARRAY, GL_TEXTUER_CUBE_MAP_ARRAY
GL_TEXTURE_2D_MULTISAMPLE GL_TEXTURE_2D_MULTISAMPLE, GL_TEXTURE_MULTISAMPLE_ARRAY
GL_TEXTURE_2D_MULTISAMPLE_ARRAY GL_TEXTURE_2D_MULTISAMPLE, GL_TEXTURE_MULTISAMPLE_ARRAY