Cg.cgGetProgramString Method
Gets the specified source from the program.
[Visual Basic]
Public Shared Function cgGetProgramString( _
ByVal
program As
IntPtr, _
ByVal
sourceType As
Integer _
) As
String
[C#]
public static
string cgGetProgramString(
IntPtr program,
int sourceType);
Parameters
-
program
- Handle to the Cg program.
-
sourceType
- Type of source to pull, whether original or compiled, etc.
Return Value
String containing the source of the specified type from the program.
See Also
Cg Class | Tao.Cg Namespace