NAME
cgGLGetTextureParameter - retrieves the value of texture parameters
SYNOPSIS
#include <Cg/cgGL.h> GLuint cgGLGetTextureParameter( CGparameter param );PARAMETERS
- param
The texture parameter.
RETURN VALUES
cgGLGetTextureParameter returns the name of the OpenGL object that the texture was set to. If the parameter has not been set, 0 will be returned.
DESCRIPTION
cgGLGetTextureParameter retrieves the value of a texture parameter.
EXAMPLES
to-be-written
ERRORS
CG_INVALID_PROFILE_ERROR is generated if param's profile is not a supported OpenGL profile.
CG_INVALID_PARAM_HANDLE_ERROR is generated if param is not a valid parameter handle.
CG_INVALID_PARAMETER_ERROR is generated param is not a texture parameter or if the parameter fails to get for any other reason.
HISTORY
cgGLGetTextureParameter was introduced in Cg 1.1.
SEE ALSO