NAME

cgGLDisableTextureParameter - disables the texture unit associated with the given texture parameter

SYNOPSIS

  #include <Cg/cgGL.h>

  void cgGLDisableTextureParameter(CGparameter param);

PARAMETERS

param

Specifies the texture parameter that has a texture object associated with it.

DESCRIPTION

cgGLDisableTextureParameter unbinds and disables the texture object that was associated with the parameter param.

See the "cgGLEnableTextureParameter" document for more information.

RETURN VALUES

cgGLDisableTextureParameter does not return any values.

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 set for any other reason.

SEE ALSO

the "cgGLEnableTextureParameter" document, and the "cgGLSetTextureParameter" document