Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Texturing State Variables

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_LINEAR
Description: Texgen plane equation coefficients
Attribute group: texture
Initial value:
Get command: glGetTexGenfv

GL_OBJECT_LINEAR
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_EYTE_LINEAR
Get command: glGetTexGeniv


  

Community Additions

Show:
© 2015 Microsoft