Property | Type | Description | |
---|---|---|---|
columnMajorMatrices | bool | ||
entry | string | ||
microcode | SlimDX.Direct3D9.ShaderBytecode | ||
optimizationLevel | OptimizationLevel | ||
parametersMap | GpuProgramParameters.GpuConstantDefinitionMap | ||
preprocessorDefines | string | ||
target | string |
Method | Description | |
---|---|---|
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. |
|
HLSLProgram ( |
Creates a new instance of HLSLProgram
|
|
SetParam ( string name, string val ) : bool |
Sets a param for this HLSL program.
|
Method | Description | |
---|---|---|
dispose ( bool disposeManagedResources ) : void |
Method | Description | |
---|---|---|
BuildConstantDefinitions ( ) : void | ||
CompileMicrocode ( ) : void | ||
CreateLowLevelImpl ( ) : void | ||
LoadFromSource ( ) : void | ||
PopulateDef ( ConstantDescription d3DDesc, |
||
ProcessParamElement ( ConstantTable constantTable, EffectHandle parent, string prefix, int index ) : void | ||
UnloadHighLevelImpl ( ) : void | ||
buildDefines ( string defines ) : List |
public CreateParameters ( ) : |
||
return |
public HLSLProgram ( |
||
parent | 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 |
return | System |
public SetParam ( string name, string val ) : bool | ||
name | string | |
val | string | |
return | bool |
protected dispose ( bool disposeManagedResources ) : void | ||
disposeManagedResources | bool | |
return | void |
protected ShaderBytecode,SlimDX.Direct3D9 microcode | ||
return | SlimDX.Direct3D9.ShaderBytecode |
protected OptimizationLevel optimizationLevel | ||
return | OptimizationLevel |
protected GpuProgramParameters.GpuConstantDefinitionMap parametersMap | ||
return | GpuProgramParameters.GpuConstantDefinitionMap |