Logo Search packages:      
Sourcecode: taoframework version File versions  Download package

static int Tao::Cg::Cg::cgGetParameterResourceIndex ( IntPtr  param  ) 

Retrieves the index of the specifed parameter according to its type and variability.

For example, if the resource for a given parameter is CG_TEXCOORD7, cgGetParameterResourceIndex() returns 7. Also, for uniform params, it equates to the constant index that will be used in the resulting program.

Parameters:
param Handle of the param to query.
Returns:
Index of the specified parameter according to its type and variability.


Generated by  Doxygen 1.6.0   Back to index