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

static IntPtr Tao::Cg::Cg::cgCreateProgram ( IntPtr  context,
int  type,
string  source,
int  profile,
string  entry,
string[]  args 

Compiles and creates a Cg program.

context Current Cg context.
type Type of source to use.
source Source Cg code.
profile Profile to use for compiling the program.
entry Entry point of the specified Cg source. If null, then 'main' is assumed.
args Optional args to pass to the compiler.
Handle to the newly created Cg program.

Generated by  Doxygen 1.6.0   Back to index