Свойство | Тип | Описание | |
---|---|---|---|
cgContext | |||
cgProgram | |||
entry | string | ||
profiles | string[] | ||
selectedCgProfile | int | ||
selectedProfile | string |
Метод | Описание | |
---|---|---|
CgProgram ( |
Constructor.
|
|
SetParam ( string name, string val ) : bool |
Method for passing parameters into the CgProgram.
|
|
Touch ( ) : void |
Only bother with supported programs.
|
Метод | Описание | |
---|---|---|
BuildConstantDefinitions ( ) : void | ||
CreateLowLevelImpl ( ) : void |
Create as assembler program from the compiled source supplied by the Cg compiler.
|
|
LoadFromSource ( ) : void |
|
|
PopulateParameterNames ( |
|
|
SelectProfile ( ) : void |
Internal method which works out which profile to use for this program
|
|
UnloadImpl ( ) : void |
Unloads the Cg program.
|
protected BuildConstantDefinitions ( ) : void | ||
Результат | void |
public CgProgram ( |
||
parent | ||
name | string | Name of this program. |
handle | ulong | |
group | string | |
isManual | bool | |
loader | IManualResourceLoader | |
context | CG context id. | |
Результат | System |
protected PopulateParameterNames ( |
||
parms | ||
Результат | void |
public SetParam ( string name, string val ) : bool | ||
name | string | /// Param name. /// |
val | string | /// Param value. /// |
Результат | bool |