C# Класс Axiom.RenderSystems.DirectX9.HLSL.HLSLProgram

Summary description for HLSLProgram.
Наследование: Axiom.Graphics.HighLevelGpuProgram
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
columnMajorMatrices bool
entry string
microcode SlimDX.Direct3D9.ShaderBytecode
optimizationLevel OptimizationLevel
parametersMap GpuProgramParameters.GpuConstantDefinitionMap
preprocessorDefines string
target string

Открытые методы

Метод Описание
CreateParameters ( ) : GpuProgramParameters

Creates a new parameters object compatible with this program definition.

Unlike low-level assembly programs, parameters objects are specific to the program and therefore must be created from it rather than by the HighLevelGpuProgramManager. This method creates a new instance of a parameters object containing the definition of the parameters this program understands.

HLSLProgram ( ResourceManager parent, string name, System.UInt64 handle, string group, bool isManual, IManualResourceLoader loader ) : System

Creates a new instance of HLSLProgram

SetParam ( string name, string val ) : bool

Sets a param for this HLSL program.

Защищенные методы

Метод Описание
dispose ( bool disposeManagedResources ) : void

Приватные методы

Метод Описание
BuildConstantDefinitions ( ) : void
CompileMicrocode ( ) : void
CreateLowLevelImpl ( ) : void
LoadFromSource ( ) : void
PopulateDef ( ConstantDescription d3DDesc, GpuProgramParameters def ) : void
ProcessParamElement ( ConstantTable constantTable, EffectHandle parent, string prefix, int index ) : void
UnloadHighLevelImpl ( ) : void
buildDefines ( string defines ) : List

Описание методов

CreateParameters() публичный Метод

Creates a new parameters object compatible with this program definition.
Unlike low-level assembly programs, parameters objects are specific to the program and therefore must be created from it rather than by the HighLevelGpuProgramManager. This method creates a new instance of a parameters object containing the definition of the parameters this program understands.
public CreateParameters ( ) : GpuProgramParameters
Результат Axiom.Graphics.GpuProgramParameters

HLSLProgram() публичный Метод

Creates a new instance of HLSLProgram
public HLSLProgram ( ResourceManager parent, string name, System.UInt64 handle, string group, bool isManual, IManualResourceLoader loader ) : System
parent Axiom.Core.ResourceManager the ResourceManager that owns this resource
name string Name of the program
handle System.UInt64 The resource id of the program
group string the resource group
isManual bool is the program manually loaded?
loader IManualResourceLoader the loader responsible for this program
Результат System

SetParam() публичный Метод

Sets a param for this HLSL program.
public SetParam ( string name, string val ) : bool
name string
val string
Результат bool

dispose() защищенный Метод

protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
Результат void

Описание свойств

columnMajorMatrices защищенное свойство

determines which packing order to use for matrices
protected bool columnMajorMatrices
Результат bool

entry защищенное свойство

Entry point to compile from the program.
protected string entry
Результат string

microcode защищенное свойство

Holds the low level program instructions after the compile.
protected ShaderBytecode,SlimDX.Direct3D9 microcode
Результат SlimDX.Direct3D9.ShaderBytecode

optimizationLevel защищенное свойство

the optimization level to use.
protected OptimizationLevel optimizationLevel
Результат OptimizationLevel

parametersMap защищенное свойство

protected GpuProgramParameters.GpuConstantDefinitionMap parametersMap
Результат GpuProgramParameters.GpuConstantDefinitionMap

preprocessorDefines защищенное свойство

the preprocessor definitions to use to compile the program
protected string preprocessorDefines
Результат string

target защищенное свойство

Shader profile to target for the compile (i.e. vs1.1, etc).
protected string target
Результат string