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

static IntPtr Tao::Cg::Cg::cgGetFirstLeafParameter ( IntPtr  program,
int  nameSpace 
)

Used to get the first leaf parameter from the specified program.

Leaf params read into params that are structs as well, eliminating the need to explictly determine if the param is a struct or other type.

Parameters:
program Handle to the program to query.
nameSpace Namespace in which to query for the params (usually CG_PROGRAM).
Returns:
Handle to the first Cg parameter in the specified program.


Generated by  Doxygen 1.6.0   Back to index