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

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

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

Свойство Тип Описание
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