Tao.Cg SDK Documentation

Cg.cgGetFirstParameter Method 

Gets the first parameter in specified program.

[Visual Basic]
Public Shared Function cgGetFirstParameter( _
   ByVal prog As IntPtr, _
   ByVal name_space As Integer _
) As IntPtr
[C#]
public static IntPtr cgGetFirstParameter(
   IntPtr prog,
   int name_space
);

Parameters

prog
The program to retreive the first program from.
name_space
Namespace of the parameter to iterate through.

Return Value

First parameter in specified program.

See Also

Cg Class | Tao.Cg Namespace