Given the specified context handle, returns true if it is a valid Cg context.
[Visual Basic]
Public Shared Function cgIsContext( _
ByVal
context As
IntPtr _
) As
Integer
[C#]
public static
int cgIsContext(
IntPtr context);
Parameters
-
context
- Handle of the context to check.
Return Value
CG_TRUE if valid, CG_FALSE otherwise.
See Also
Cg Class | Tao.Cg Namespace