Cg.cgIsParameterReferenced Method
Queries whether the specified program will be used in the final compiled program.
[Visual Basic]
Public Shared Function cgIsParameterReferenced( _
ByVal
param As
IntPtr _
) As
Integer
[C#]
public static
int cgIsParameterReferenced(
IntPtr param);
Parameters
-
param
- Handle to the Cg parameter.
Return Value
True if the param is being used, false if not.
Remarks
The compiler may ignore parameters that are not actually used within the program.
See Also
Cg Class | Tao.Cg Namespace