The fields of the Cg class are listed below. For a complete list of Cg class members, see the Cg Members topic.
![]() ![]() | A collection of one or more elements of the same type. |
![]() ![]() | Cannot bind the given parameters. Array dimensions do not match. |
![]() ![]() | The array is has the wrong dimension. |
![]() ![]() | The parameter must be an array. |
![]() ![]() | The specified array sizes are not compatible with the given array. |
![]() ![]() | Cannot bind the given parameters. Array types do not match. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | Cannot bind the given parameters. Binding will form a cycle. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | The bool type represents Boolean values. Objects of bool type are either true or false. |
![]() ![]() | Single-element, packed, bool array (vector type). |
![]() ![]() | 1x1, packed, bool array (matrix type). |
![]() ![]() | 1x2, packed, bool array (matrix type). |
![]() ![]() | 1x3, packed, bool array (matrix type). |
![]() ![]() | 1x4, packed, bool array (matrix type). |
![]() ![]() | Two-element, packed, bool array (vector type). |
![]() ![]() | 2x1, packed, bool array (matrix type). |
![]() ![]() | 2x2, packed, bool array (matrix type). |
![]() ![]() | 2x3, packed, bool array (matrix type). |
![]() ![]() | 2x4, packed, bool array (matrix type). |
![]() ![]() | Three-element, packed, bool array (vector type). |
![]() ![]() | 3x1, packed, bool array (matrix type). |
![]() ![]() | 3x2, packed, bool array (matrix type). |
![]() ![]() | 3x3, packed, bool array (matrix type). |
![]() ![]() | 3x4, packed, bool array (matrix type). |
![]() ![]() | Four-element, packed, bool array (vector type). |
![]() ![]() | 4x1, packed, bool array (matrix type). |
![]() ![]() | 4x2, packed, bool array (matrix type). |
![]() ![]() | 4x3, packed, bool array (matrix type). |
![]() ![]() | 4x4, packed, bool array (matrix type). |
![]() ![]() | |
![]() ![]() | Cannot destroy the parameter. It is bound to other parameters or is not a root parameter. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | The string for the compiled program. |
![]() ![]() | The compile returned an error. |
![]() ![]() | A type being added to the context conflicts with an existing type. |
![]() ![]() | A type being added to the context conflicts with an existing type. |
![]() ![]() | |
![]() ![]() | A constant parameter never changes for the life of a compiled program. Modifying a constant parameter requires program recompilation. |
![]() ![]() | |
![]() ![]() | The default values for a uniform parameter. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | An error. |
![]() ![]() | False. |
![]() ![]() | The file could not be read. |
![]() ![]() | The file could not be written. |
![]() ![]() | The fixed type is a signed type with a range of at least [-2,2) and with at least 10 bits of fractional precision. Overflow operations on the data type clamp rather than wrap. Fragment profiles must support the fixed type, but may implement it with the same precision as the half or float types. Vertex profiles are required to provide partial support for the fixed type. Vertex profiles have the option to provide full support for the fixed type or to implement the fixed type with the same precision as the half or float types. |
![]() ![]() | Single-element, packed, fixed array (vector type). |
![]() ![]() | 1x1, packed, fixed array (matrix type). |
![]() ![]() | 1x2, packed, fixed array (matrix type). |
![]() ![]() | 1x3, packed, fixed array (matrix type). |
![]() ![]() | 1x4, packed, fixed array (matrix type). |
![]() ![]() | Two-element, packed, fixed array (vector type). |
![]() ![]() | 2x1, packed, fixed array (matrix type). |
![]() ![]() | 2x2, packed, fixed array (matrix type). |
![]() ![]() | 2x3, packed, fixed array (matrix type). |
![]() ![]() | 2x4, packed, fixed array (matrix type). |
![]() ![]() | Three-element, packed, fixed array (vector type). |
![]() ![]() | 3x1, packed, fixed array (matrix type). |
![]() ![]() | 3x2, packed, fixed array (matrix type). |
![]() ![]() | 3x3, packed, fixed array (matrix type). |
![]() ![]() | 3x4, packed, fixed array (matrix type). |
![]() ![]() | Four-element, packed, fixed array (vector type). |
![]() ![]() | 4x1, packed, fixed array (matrix type). |
![]() ![]() | 4x2, packed, fixed array (matrix type). |
![]() ![]() | 4x3, packed, fixed array (matrix type). |
![]() ![]() | 4x4, packed, fixed array (matrix type). |
![]() ![]() | The float type is as close as possible to the IEEE single precision (32-bit) floating point. Profiles must support the float data type. |
![]() ![]() | Single-element, packed, float array (vector type). |
![]() ![]() | 1x1, packed, float array (matrix type). |
![]() ![]() | 1x2, packed, float array (matrix type). |
![]() ![]() | 1x3, packed, float array (matrix type). |
![]() ![]() | 1x4, packed, float array (matrix type). |
![]() ![]() | Two-element, packed, float array (vector type). |
![]() ![]() | 2x1, packed, float array (matrix type). |
![]() ![]() | 2x2, packed, float array (matrix type). |
![]() ![]() | 2x3, packed, float array (matrix type). |
![]() ![]() | 2x4, packed, float array (matrix type). |
![]() ![]() | Three-element, packed, float array (vector type). |
![]() ![]() | 3x1, packed, float array (matrix type). |
![]() ![]() | 3x2, packed, float array (matrix type). |
![]() ![]() | 3x3, packed, float array (matrix type). |
![]() ![]() | 3x4, packed, float array (matrix type). |
![]() ![]() | Four-element, packed, float array (vector type). |
![]() ![]() | 4x1, packed, float array (matrix type). |
![]() ![]() | 4x2, packed, float array (matrix type). |
![]() ![]() | 4x3, packed, float array (matrix type). |
![]() ![]() | 4x4, packed, float array (matrix type). |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | A global. |
![]() ![]() | The half type is lower-precision IEEE-like floating point. Profiles must support the half type, but may choose to implement it with the same precision as the float type. |
![]() ![]() | Single-element, packed, half array (vector type). |
![]() ![]() | 1x1, packed, half array (matrix type). |
![]() ![]() | 1x2, packed, half array (matrix type). |
![]() ![]() | 1x3, packed, half array (matrix type). |
![]() ![]() | 1x4, packed, half array (matrix type). |
![]() ![]() | Two-element, packed, half array (vector type). |
![]() ![]() | 2x1, packed, half array (matrix type). |
![]() ![]() | 2x2, packed, half array (matrix type). |
![]() ![]() | 2x3, packed, half array (matrix type). |
![]() ![]() | 2x4, packed, half array (matrix type). |
![]() ![]() | Three-element, packed, half array (vector type). |
![]() ![]() | 3x1, packed, half array (matrix type). |
![]() ![]() | 3x2, packed, half array (matrix type). |
![]() ![]() | 3x3, packed, half array (matrix type). |
![]() ![]() | 3x4, packed, half array (matrix type). |
![]() ![]() | Four-element, packed, half array (vector type). |
![]() ![]() | 4x1, packed, half array (matrix type). |
![]() ![]() | 4x2, packed, half array (matrix type). |
![]() ![]() | 4x3, packed, half array (matrix type). |
![]() ![]() | 4x4, packed, half array (matrix type). |
![]() ![]() | |
![]() ![]() | Specifies an input parameter. |
![]() ![]() | Specifies a parameter that is both input and output. |
![]() ![]() | The int type is preferably 32-bit two?’s complement. Profiles may optionally treat int as float. |
![]() ![]() | Single-element, packed, int array (vector type). |
![]() | 1x1, packed, int array (matrix type). |
![]() ![]() | 1x2, packed, int array (matrix type). |
![]() ![]() | 1x3, packed, int array (matrix type). |
![]() ![]() | 1x4, packed, int array (matrix type). |
![]() ![]() | Two-element, packed, int array (vector type). |
![]() ![]() | 2x1, packed, int array (matrix type). |
![]() ![]() | 2x2, packed, int array (matrix type). |
![]() ![]() | 2x3, packed, int array (matrix type). |
![]() ![]() | 2x4, packed, int array (matrix type). |
![]() ![]() | Three-element, packed, int array (vector type). |
![]() ![]() | 3x1, packed, int array (matrix type). |
![]() ![]() | 3x2, packed, int array (matrix type). |
![]() ![]() | 3x3, packed, int array (matrix type). |
![]() ![]() | 3x4, packed, int array (matrix type). |
![]() ![]() | Four-element, packed, int array (vector type). |
![]() ![]() | 4x1, packed, int array (matrix type). |
![]() ![]() | 4x2, packed, int array (matrix type). |
![]() ![]() | 4x3, packed, int array (matrix type). |
![]() ![]() | 4x4, packed, int array (matrix type). |
![]() ![]() | Invalid annotation handle. |
![]() ![]() | Invalid context handle. |
![]() ![]() | The dimension value is invalid. |
![]() ![]() | Invalid effect handle. |
![]() ![]() | The enumerant parameter has an invalid value. |
![]() ![]() | Invalid function handle. |
![]() ![]() | Invalid parameter handle. |
![]() ![]() | The parameter used is invalid. |
![]() ![]() | Invalid parameter handle. |
![]() ![]() | The type of the parameter is invalid. |
![]() ![]() | The parameter could not be changed to the given variability. |
![]() ![]() | Invalid pass handle. |
![]() ![]() | The supplied pointer is NULL. |
![]() ![]() | The profile is not supported. |
![]() ![]() | Invalid program handle. |
![]() ![]() | The size value is invalid. |
![]() ![]() | Invalid state assignment handle. |
![]() ![]() | Invalid state handle. |
![]() ![]() | Technique did not pass validation. |
![]() ![]() | Invalid technique handle. |
![]() ![]() | An unknown value type was assigned to a parameter. |
![]() ![]() | The parameter is not a program parameter. |
![]() ![]() | |
![]() ![]() | Memory allocation failed. |
![]() ![]() | A structure parameter that contains parameters that differ in variability. |
![]() ![]() | No error has occurred. |
![]() ![]() | The parameter is not of a numeric type. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | The parameter must be a 4x4 matrix type. |
![]() ![]() | Not enough data was provided. |
![]() ![]() | The parameter is not of matrix type. |
![]() ![]() | The parameter is not a root parameter. |
![]() ![]() | nvparse could not successfully parse the output from the Cg compiler backend. |
![]() ![]() | A string that contains object code that resulted from the precompilation of some Cg source code. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | Specifies an output parameter. |
![]() ![]() | Index into the array is out of bounds. |
![]() ![]() | The parameter must be a resizable array. |
![]() ![]() | The parameter must be global. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | The two parameters being bound do not match. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | OpenGL ARB fragment programs 1.0. |
![]() ![]() | OpenGL ARB vertex programs 1.0. |
![]() ![]() | OpenGL NV2x fragment programs. |
![]() ![]() | OpenGL NV30 fragment programs. |
![]() ![]() | DirectX 9 vertex shaders. |
![]() ![]() | |
![]() ![]() | DirectX 8 pixel shaders. |
![]() ![]() | DirectX 8 pixel shaders. |
![]() ![]() | DirectX 8 pixel shaders. |
![]() ![]() | DirectX 9 pixel shaders. |
![]() ![]() | DirectX 9 pixel shaders. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | OpenGL NV2x vertex programs. |
![]() ![]() | OpenGL NV30 vertex programs. |
![]() ![]() | OpenGL NV40 vertex programs. |
![]() ![]() | DirectX 8 vertex shaders. |
![]() ![]() | DirectX 9 vertex shaders. |
![]() ![]() | DirectX 9 vertex shaders. |
![]() ![]() | The program. |
![]() ![]() | The program could not bind. |
![]() ![]() | The main entry point for the program. |
![]() ![]() | The program could not load. |
![]() ![]() | The program must be loaded before this operation may be used. |
![]() ![]() | The profile for the program. |
![]() ![]() | The original Cg source program. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | A handle to a 1-dimensional texture object. |
![]() ![]() | A handle to a 2-dimensional texture object. |
![]() ![]() | A handle to a 3-dimensional texture object. |
![]() ![]() | A handle to a texture object cube map. |
![]() ![]() | A handle to a texture object rectangle. |
![]() ![]() | A string that contains Cg source code. |
![]() ![]() | |
![]() ![]() | Invalid parameter handle. |
![]() ![]() | |
![]() ![]() | A collection of one or more members of possibly different types. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | Texture unit. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | |
![]() ![]() | True. |
![]() ![]() | Connecting the parameters failed because The type of the source parameter is not defined within the given program or does not match the type with the same name in the program. |
![]() ![]() | Start of the Cg data type definitions. |
![]() ![]() | |
![]() ![]() | A uniform parameter is one whose value does not chance with each invocation of a program, but whose value can change between groups of program invocations. |
![]() ![]() | Unknown resource. |
![]() ![]() | The specified profile is unknown. |
![]() ![]() | An unknown data type. |
![]() ![]() | An unsupported GL extension was required to perform this operation. |
![]() ![]() | The variable arguments were specified incorrectly. |
![]() ![]() | A varying parameter is one whose value changes with each invocation of the program. |
![]() ![]() | |
![]() ![]() | |
![]() ![]() |