Свойство | Тип | Описание | |
---|---|---|---|
factories | AxiomCollection |
Метод | Описание | |
---|---|---|
AddFactory ( HighLevelGpuProgramFactory factory ) : void |
Add a new factory object for high-level programs of a given language.
|
|
CreateProgram ( string name, string group, string language, GpuProgramType type ) : Axiom.Graphics.HighLevelGpuProgram |
Creates a new, unloaded HighLevelGpuProgram instance. This method creates a new program of the type specified as the second and third parameters. You will have to call further methods on the returned program in order to define the program fully before you can load it. |
|
GetFactory ( string language ) : HighLevelGpuProgramFactory |
Retreives a factory instance capable of producing HighLevelGpuPrograms of the specified language.
|
|
IsLanguageSupported ( string language ) : bool | ||
RemoveFactory ( HighLevelGpuProgramFactory factory ) : void |
Unregisters a factory
|
|
this ( System.UInt64 handle ) : Axiom.Graphics.HighLevelGpuProgram |
Gets a HighLevelGpuProgram with the specified handle.
|
|
this ( string name ) : Axiom.Graphics.HighLevelGpuProgram |
Gets a HighLevelGpuProgram with the specified name.
|
Метод | Описание | |
---|---|---|
_create ( string name, System.UInt64 handle, string group, bool isManual, IManualResourceLoader loader, NameValuePairList createParams ) : Axiom.Core.Resource | ||
dispose ( bool disposeManagedResources ) : void |
Called when the engine is shutting down. Called when the engine is shutting down.
|
Метод | Описание | |
---|---|---|
HighLevelGpuProgramManager ( ) : System |
Internal constructor. This class cannot be instantiated externally.
|
public AddFactory ( HighLevelGpuProgramFactory factory ) : void | ||
factory | HighLevelGpuProgramFactory | /// The factory instance to register. /// |
Результат | void |
public CreateProgram ( string name, string group, string language, GpuProgramType type ) : Axiom.Graphics.HighLevelGpuProgram | ||
name | string | Name of the program to create. |
group | string | |
language | string | HLSL language to use. |
type | GpuProgramType | Type of program, i.e. vertex or fragment. |
Результат | Axiom.Graphics.HighLevelGpuProgram |
public GetFactory ( string language ) : HighLevelGpuProgramFactory | ||
language | string | HLSL language. |
Результат | HighLevelGpuProgramFactory |
public IsLanguageSupported ( string language ) : bool | ||
language | string | |
Результат | bool |
public RemoveFactory ( HighLevelGpuProgramFactory factory ) : void | ||
factory | HighLevelGpuProgramFactory | |
Результат | void |
protected _create ( string name, System.UInt64 handle, string group, bool isManual, IManualResourceLoader loader, NameValuePairList createParams ) : Axiom.Core.Resource | ||
name | string | |
handle | System.UInt64 | |
group | string | |
isManual | bool | |
loader | IManualResourceLoader | |
createParams | NameValuePairList | |
Результат | Axiom.Core.Resource |
protected dispose ( bool disposeManagedResources ) : void | ||
disposeManagedResources | bool | |
Результат | void |
public this ( System.UInt64 handle ) : Axiom.Graphics.HighLevelGpuProgram | ||
handle | System.UInt64 | Handle of the program to retrieve. |
Результат | Axiom.Graphics.HighLevelGpuProgram |
public this ( string name ) : Axiom.Graphics.HighLevelGpuProgram | ||
name | string | Name of the program to retrieve. |
Результат | Axiom.Graphics.HighLevelGpuProgram |