Tao.Cg SDK Documentation

CgGl Methods

The methods of the CgGl class are listed below. For a complete list of CgGl class members, see the CgGl Members topic.

Public Static (Shared) Methods

cgGLBindProgram Bind the program to the current OpenGL API state.
cgGLDisableClientState Disables a vertex attribute in OpenGL state.
cgGLDisableProfile Disables the selected profile.
cgGLDisableTextureParameter Disables the texture unit associated with the given texture parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLEnableClientState Enables a vertex attribute in OpenGL state.
cgGLEnableProfile Enables the selected profile.
cgGLEnableTextureParameter Enables (binds) the texture unit associated with the given texture parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLGetLatestProfile Returns the best profile available.
cgGLGetManageTextureParameters Retreives the manage texture parameters flag from a context
cgGLGetMatrixParameterArraydcOverloaded. Gets an array matrix parameters (double) in column order.
cgGLGetMatrixParameterArraydrOverloaded. Gets an array matrix parameters (double) in row order.
cgGLGetMatrixParameterArrayfcOverloaded. Gets an array matrix parameters (float) in column order.
cgGLGetMatrixParameterArrayfrOverloaded. Gets an array matrix parameters (float) in row order.
cgGLGetMatrixParameterdcOverloaded. Gets the value of matrix parameters in column order.
cgGLGetMatrixParameterdrOverloaded. Gets the value of matrix parameters in row order.
cgGLGetMatrixParameterfcOverloaded. Gets the value of matrix parameters in column order.
cgGLGetMatrixParameterfrOverloaded. Gets the value of matrix parameters in row order.
cgGLGetParameter1dOverloaded. Gets the double value to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLGetParameter1fOverloaded. Gets the float value to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLGetParameter2dOverloaded. Gets the double values to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLGetParameter2fOverloaded. Gets the float values to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLGetParameter3dOverloaded. Gets the double values to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLGetParameter3fOverloaded. Gets the float values to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLGetParameter4dOverloaded. Gets the double values to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLGetParameter4fOverloaded. Gets the float values to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLGetParameterArray1dOverloaded. Gets the double values from the specific parameter.
cgGLGetParameterArray1fOverloaded. Gets the float values from the specific parameter.
cgGLGetParameterArray2dOverloaded. Gets the double values from the specific parameter.
cgGLGetParameterArray2fOverloaded. Gets the float values from the specific parameter.
cgGLGetParameterArray3dOverloaded. Gets the double values from the specific parameter.
cgGLGetParameterArray3fOverloaded. Gets the float values from the specific parameter.
cgGLGetParameterArray4dOverloaded. Gets the double values from the specific parameter.
cgGLGetParameterArray4fOverloaded. Gets the float values from the specific parameter.
cgGLGetProgramID Returns the program's ID.
cgGLGetTextureEnum Retreives the OpenGL enumeration for the texture unit associated with the texture parameter. Use cgGetNamedParameter to obtain the valid pointer to param. It can be one of the GL_TEXTURE#_ARB if valid.
cgGLGetTextureParameter Retreives the value of a texture parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLIsProfileSupported Checks if the profile is supported.
cgGLIsProgramLoaded Returns true if the specified program is loaded.
cgGLLoadProgram Loads program to OpenGL pipeline
cgGLRegisterStates
cgGLSetManageTextureParameters Enables or disables the automatic texture management for the given rendering context. Use CG_TRUE or CG_FALSE to enable/disable automatic texture management.
cgGLSetMatrixParameterArraydcOverloaded. Sets an array matrix parameters (double) in column order.
cgGLSetMatrixParameterArraydrOverloaded. Sets an array matrix parameters (double) in row order.
cgGLSetMatrixParameterArrayfcOverloaded. Sets an array matrix parameters (float) in column order.
cgGLSetMatrixParameterArrayfrOverloaded. Sets an array matrix parameters (float) in row order.
cgGLSetMatrixParameterdcOverloaded. Sets the value of matrix parameters in column order.
cgGLSetMatrixParameterdrOverloaded. Sets the value of matrix parameters in row order.
cgGLSetMatrixParameterfcOverloaded. Sets the value of matrix parameters in column order.
cgGLSetMatrixParameterfrOverloaded. Sets the value of matrix parameters in row order.
cgGLSetOptimalOptions Sets the best compiler options available by card, driver and selected profile.
cgGLSetParameter1d Sets the double values to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLSetParameter1dvOverloaded. Sets the double values to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLSetParameter1f Sets the float values to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLSetParameter1fvOverloaded. Sets the float value to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLSetParameter2d Sets the double values to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLSetParameter2dvOverloaded. Sets the double values to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLSetParameter2f Sets the float values to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLSetParameter2fvOverloaded. Sets the float values to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLSetParameter3d Sets the double values to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLSetParameter3dvOverloaded. Sets the double values to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLSetParameter3f Sets the float values to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLSetParameter3fvOverloaded. Sets the float values to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLSetParameter4d Sets the double values to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLSetParameter4dvOverloaded. Sets the double values to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLSetParameter4f Sets the float values to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLSetParameter4fvOverloaded. Sets the float values to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLSetParameterArray1dOverloaded. Sets the double values to the specific parameter.
cgGLSetParameterArray1fOverloaded. Sets the float values to the specific parameter.
cgGLSetParameterArray2dOverloaded. Sets the double values to the specific parameter.
cgGLSetParameterArray2fOverloaded. Sets the float values to the specific parameter.
cgGLSetParameterArray3dOverloaded. Sets the double values to the specific parameter.
cgGLSetParameterArray3fOverloaded. Sets the float values to the specific parameter.
cgGLSetParameterArray4dOverloaded. Sets the double values to the specific parameter.
cgGLSetParameterArray4fOverloaded. Sets the float values to the specific parameter.
cgGLSetParameterPointerOverloaded. Sets parameter with attribute array.
cgGLSetStateMatrixParameter Sets the values of the parameter to a matrix in the OpenGL state.
cgGLSetTextureParameter Sets texture object to the specified parameter. Use cgGetNamedParameter to obtain the valid pointer to param.
cgGLSetupSampler
cgGLUnbindProgram Unbinds the program bound in a profile.

Public Instance Methods

Equals (inherited from Object) 
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
ToString (inherited from Object) 

See Also

CgGl Class | Tao.Cg Namespace