Texturing State Variables
- GL\_TEXTURE\_*x*
-
Property Value 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
-
Property Value Description: x - D texture image at level of detail i Attribute group: Initial value: Get command: glGetTexImage - GL\_TEXTURE\_WIDTH
-
Property Value Description: x - D texture image i 's width Attribute group: Initial value: 0 Get command: glGetTexLevelParameter - GL\_TEXTURE\_HEIGHT
-
Property Value Description: x - D texture image i 's height Attribute group: Initial value: 0 Get command: glGetTexLevelParameter - GL\_TEXTURE\_BORDER
-
Property Value Description: x - D texture image i 's border Attribute group: Initial value: 0 Get command: glGetTexLevelParameter - GL\_TEXTURE\_COMPONENTS
-
Property Value Description: Texture image components Attribute group: Initial value: 1 Get command: glGetTexLevelParameter - GL\_TEXTURE\_BORDER\_COLOR
-
Property Value Description: Texture border color Attribute group: texture Initial value: 0, 0, 0, 0 Get command: glGetTexParameter - GL\_TEXTURE\_MIN\_FILTER
-
Property Value Description: Texture minification function Attribute group: texture Initial value: GL_NEAREST_MIPMAP_LINEAR Get command: glGetTexParameter - GL\_TEXTURE\_MAG\_FILTER
-
Property Value Description: Texture magnification function Attribute group: texture Initial value: GL_LINEAR Get command: glGetTexParameter - GL\_TEXTURE\_WRAP\_ *x*
-
Property Value Description: Texture wrap mode (x is S or T) Attribute group: texture Initial value: GL_REPEAT Get command: glGetTexParameter - GL\_TEXTURE\_ENV\_MODE
-
Property Value Description: Texture application function Attribute group: texture Initial value: GL_MODULATE Get command: glGetTexEnviv - GL\_TEXTURE\_ENV\_COLOR
-
Property Value Description: Texture environment color Attribute group: texture Initial value: 0, 0, 0, 0 Get command: glGetTexEnvfv - GL\_TEXTURE\_GEN\_ *x*
-
Property Value 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
-
Property Value Description: Texgen plane equation coefficients Attribute group: texture Initial value: Get command: glGetTexGenfv - GL\_OBJECT\_PLANE
-
Property Value Description: Texgen object linear coefficients Attribute group: texture Initial value: Get command: glGetTexGenfv - GL\_TEXTURE\_GEN\_MODE
-
Property Value Description: Function used for texgen Attribute group: texture Initial value: GL_EYE_LINEAR Get command: glGetTexGeniv