Logo Search packages:      
Sourcecode: taoframework version File versions  Download package

static string Tao::Cg::Cg::cgGetProgramString ( IntPtr  program,
int  sourceType 
) [inline, static]

Gets the specified source from the program.

Parameters:
program Handle to the Cg program.
sourceType Type of source to pull, whether original or compiled, etc.
Returns:
String containing the source of the specified type from the program.

Definition at line 4214 of file Cg.cs.

            {
                  return Marshal.PtrToStringAnsi(cgGetProgramStringA(program, sourceType));
            }


Generated by  Doxygen 1.6.0   Back to index