glGetTexEnv

return texture environment parameters

Signature

glGetTexEnv( )->
glGetTexEnvfv( GLenum ( target ) , GLenum ( pname ) , GLfloat * ( params ) )-> void
glGetTexEnvfv( target , pname , params )
glGetTexEnviv( GLenum ( target ) , GLenum ( pname ) , GLint * ( params ) )-> void
glGetTexEnviv( target , pname , params )

Parameters

VariablesDescription
target
Specifies a texture environment. May be GL_TEXTURE_ENV , GL_TEXTURE_FILTER_CONTROL , or GL_POINT_SPRITE .
pname
Specifies the symbolic name of a texture environment parameter. Accepted values are GL_TEXTURE_ENV_MODE , GL_TEXTURE_ENV_COLOR , GL_TEXTURE_LOD_BIAS , GL_COMBINE_RGB , GL_COMBINE_ALPHA , GL_SRC0_RGB , GL_SRC1_RGB , GL_SRC2_RGB , GL_SRC0_ALPHA , GL_SRC1_ALPHA , GL_SRC2_ALPHA , GL_OPERAND0_RGB , GL_OPERAND1_RGB , GL_OPERAND2_RGB , GL_OPERAND0_ALPHA , GL_OPERAND1_ALPHA , GL_OPERAND2_ALPHA , GL_RGB_SCALE , GL_ALPHA_SCALE , or GL_COORD_REPLACE .
params
Returns the requested data.