C# 클래스 Axiom.RenderSystems.DirectX9.HLSL.HLSLProgram

Summary description for HLSLProgram.
상속: Axiom.Graphics.HighLevelGpuProgram
파일 보기 프로젝트 열기: WolfgangSt/axiom

보호된 프로퍼티들

프로퍼티 타입 설명
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