Свойство | Type | Description | |
---|---|---|---|
cgContext | |||
cgProgram | |||
entry | string | ||
profiles | string[] | ||
selectedCgProfile | int | ||
selectedProfile | string |
Méthode | Description | |
---|---|---|
CgProgram ( |
Constructor.
|
|
SetParam ( string name, string val ) : bool |
Method for passing parameters into the CgProgram.
|
|
Touch ( ) : void |
Only bother with supported programs.
|
Méthode | Description | |
---|---|---|
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 | ||
Résultat | void |
public CgProgram ( |
||
parent | ||
name | string | Name of this program. |
handle | ulong | |
group | string | |
isManual | bool | |
loader | IManualResourceLoader | |
context | CG context id. | |
Résultat | System |
protected PopulateParameterNames ( |
||
parms | ||
Résultat | void |
public SetParam ( string name, string val ) : bool | ||
name | string | /// Param name. /// |
val | string | /// Param value. /// |
Résultat | bool |