Tao.Cg SDK Documentation

Cg.cgGetParameterDirection Method 

Gets the direction of this parameter, i.e. CG_IN, CG_OUT, CG_INOUT.

[Visual Basic]
Public Shared Function cgGetParameterDirection( _
   ByVal param As IntPtr _
) As Integer
[C#]
public static int cgGetParameterDirection(
   IntPtr param
);

Parameters

param
Id of the parameter to query.

Return Value

Enum value representing the parameter's direction.

See Also

Cg Class | Tao.Cg Namespace