C# Class Axiom.RenderSystems.Xna.HLSL.HLSLProgram

Summary description for HLSLProgram.
Inheritance: Axiom.Graphics.HighLevelGpuProgram
Datei anzeigen Open project: WolfgangSt/axiom

Protected Properties

Property Type Description
entry string
preprocessorDefines string
target string

Public Methods

Method Description
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.

Protected Methods

Method Description
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.

Method Details

CreateLowLevelImpl() protected method

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

CreateParameters() public method

public CreateParameters ( ) : GpuProgramParameters
return Axiom.Graphics.GpuProgramParameters

HLSLProgram() public method

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
return System

LoadFromSource() protected method

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

LoadHighLevelImpl() protected method

protected LoadHighLevelImpl ( ) : void
return void

PopulateParameterNames() protected method

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

SetParam() public method

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

UnloadImpl() protected method

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

Property Details

entry protected_oe property

Entry point to compile from the program.
protected string entry
return string

preprocessorDefines protected_oe property

preprocessor defines used to compile the program.
protected string preprocessorDefines
return string

target protected_oe property

Shader profile to target for the compile (i.e. vs1.1, etc).
protected string target
return string