Class EffectAssets
The effect assets.
Inherited Members
Namespace: Evergine.Framework.Graphics.Effects.Models
Assembly: Evergine.Framework.dll
Syntax
public class EffectAssets
Constructors
EffectAssets()
Initializes a new instance of the EffectAssets class.
Declaration
public EffectAssets()
Fields
DirectivesGroups
Directives Group.
Declaration
public DirectivesGroup[] DirectivesGroups
Field Value
Type | Description |
---|---|
DirectivesGroup[] |
Files
The compiled shader files.
Declaration
public List<FileInfoPart> Files
Field Value
Type | Description |
---|---|
List<FileInfoPart> |
PrecompiledPasses
The combinations.
Declaration
public List<PrecompiledPass> PrecompiledPasses
Field Value
Type | Description |
---|---|
List<PrecompiledPass> |
ResourceLayoutInfo
GraphicsResourceLayout.
Declaration
public GraphicsResourceInfo[] ResourceLayoutInfo
Field Value
Type | Description |
---|---|
GraphicsResourceInfo[] |
Properties
Passes
Gets the passes names array.
Declaration
public string[] Passes { get; }
Property Value
Type | Description |
---|---|
string[] |
Methods
GetByteCode(PrecompiledCombination, ShaderStages)
Get compiled shader byteCode by stage.
Declaration
public byte[] GetByteCode(PrecompiledCombination shaderCombination, ShaderStages stage)
Parameters
Type | Name | Description |
---|---|---|
PrecompiledCombination | shaderCombination | Shader combination. |
ShaderStages | stage | Shader stage. |
Returns
Type | Description |
---|---|
byte[] | Compiled shader byteCode. |
GetInputLayout(string, string[])
Get Input Layout.
Declaration
public InputLayouts GetInputLayout(string passName, string[] activeDirectives)
Parameters
Type | Name | Description |
---|---|---|
string | passName | Pass Name. |
string[] | activeDirectives | Active directives. |
Returns
Type | Description |
---|---|
InputLayouts | Input layouts. |