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

static IntPtr Tao::Cg::Cg::cgCreateProgramFromFile ( IntPtr  context,
int  type,
string  file,
int  profile,
string  entry,
string[]  args 
)

Creates a Cg program from the specified file.

Parameters:
context Current Cg context.
type Type of source to use.
file Name of the file to load and compile.
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.
Returns:
Handle to the newly created Cg program.


Generated by  Doxygen 1.6.0   Back to index