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

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

보호된 프로퍼티들

프로퍼티 타입 설명
entry string
preprocessorDefines string
target string

공개 메소드들

메소드 설명
CreateParameters ( ) : GpuProgramParameters
HLSLProgram ( ResourceManager parent, string name, System.UInt64 handle, string group, bool isManual, IManualResourceLoader loader ) : System
SetParam ( string name, string val ) : bool

Sets a param for this HLSL program.

보호된 메소드들

메소드 설명
CreateLowLevelImpl ( ) : void

Creates a low level implementation based on the results of the high level shader compilation.

LoadFromSource ( ) : void

Compiles the high level shader source to low level microcode.

LoadHighLevelImpl ( ) : void
PopulateParameterNames ( GpuProgramParameters parms ) : void

Derives parameter names from the constant table.

UnloadImpl ( ) : void

Unloads data that is no longer needed.

메소드 상세

CreateLowLevelImpl() 보호된 메소드

Creates a low level implementation based on the results of the high level shader compilation.
protected CreateLowLevelImpl ( ) : void
리턴 void

CreateParameters() 공개 메소드

public CreateParameters ( ) : GpuProgramParameters
리턴 Axiom.Graphics.GpuProgramParameters

HLSLProgram() 공개 메소드

public HLSLProgram ( ResourceManager parent, string name, System.UInt64 handle, string group, bool isManual, IManualResourceLoader loader ) : System
parent Axiom.Core.ResourceManager
name string
handle System.UInt64
group string
isManual bool
loader IManualResourceLoader
리턴 System

LoadFromSource() 보호된 메소드

Compiles the high level shader source to low level microcode.
protected LoadFromSource ( ) : void
리턴 void

LoadHighLevelImpl() 보호된 메소드

protected LoadHighLevelImpl ( ) : void
리턴 void

PopulateParameterNames() 보호된 메소드

Derives parameter names from the constant table.
protected PopulateParameterNames ( GpuProgramParameters parms ) : void
parms Axiom.Graphics.GpuProgramParameters
리턴 void

SetParam() 공개 메소드

Sets a param for this HLSL program.
public SetParam ( string name, string val ) : bool
name string
val string
리턴 bool

UnloadImpl() 보호된 메소드

Unloads data that is no longer needed.
protected UnloadImpl ( ) : void
리턴 void

프로퍼티 상세

entry 보호되어 있는 프로퍼티

Entry point to compile from the program.
protected string entry
리턴 string

preprocessorDefines 보호되어 있는 프로퍼티

preprocessor defines used 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