Export (0) Print
Expand All

Texturing State Variables

Applies to: desktop apps only

GL_TEXTURE_x
Description:True if x - D texturing enabled (x is 1-D or 2-D)
Attribute group:texture/enable
Initial value:GL_FALSE
Get command: glIsEnabled

 

GL_TEXTURE
Description:x - D texture image at level of detail i
Attribute group:
Initial value:
Get command: glGetTexImage

 

GL_TEXTURE_WIDTH
Description:x - D texture image i 's width
Attribute group:
Initial value:0
Get command: glGetTexLevelParameter

 

GL_TEXTURE_HEIGHT
Description:x - D texture image i 's height
Attribute group:
Initial value:0
Get command: glGetTexLevelParameter

 

GL_TEXTURE_BORDER
Description:x - D texture image i 's border
Attribute group:
Initial value:0
Get command: glGetTexLevelParameter

 

GL_TEXTURE_COMPONENTS
Description:Texture image components
Attribute group:
Initial value:1
Get command: glGetTexLevelParameter

 

GL_TEXTURE_BORDER_COLOR
Description:Texture border color
Attribute group:texture
Initial value:0, 0, 0, 0
Get command: glGetTexParameter

 

GL_TEXTURE_MIN_FILTER
Description:Texture minification function
Attribute group:texture
Initial value:GL_NEAREST_MIPMAP_LINEAR
Get command: glGetTexParameter

 

GL_TEXTURE_MAG_FILTER
Description:Texture magnification function
Attribute group:texture
Initial value:GL_LINEAR
Get command: glGetTexParameter

 

GL_TEXTURE_WRAP_ x
Description:Texture wrap mode (x is S or T)
Attribute group:texture
Initial value:GL_REPEAT
Get command: glGetTexParameter

 

GL_TEXTURE_ENV_MODE
Description:Texture application function
Attribute group:texture
Initial value:GL_MODULATE
Get command: glGetTexEnviv

 

GL_TEXTURE_ENV_COLOR
Description:Texture environment color
Attribute group:texture
Initial value:0, 0, 0, 0
Get command: glGetTexEnvfv

 

GL_TEXTURE_GEN_ x
Description:Texgen is enabled (x is S, T, R, or Q)
Attribute group:texture/enable
Initial value:GL_FALSE
Get command: glIsEnabled

 

GL_EYE_PLANE
Description:Texgen plane equation coefficients
Attribute group:texture
Initial value:
Get command: glGetTexGenfv

 

GL_OBJECT_PLANE
Description:Texgen object linear coefficients
Attribute group:texture
Initial value:
Get command: glGetTexGenfv

 

GL_TEXTURE_GEN_MODE
Description:Function used for texgen
Attribute group:texture
Initial value:GL_EYE_LINEAR
Get command: glGetTexGeniv

 

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2014 Microsoft