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 Effect
Declaration
public EffectAssets()
Fields
DirectivesGroups
Directives Group.
Declaration
public DirectivesGroup[] DirectivesGroups
Field Value
Type | Description |
---|---|
Directives |
Files
The compiled shader files.
Declaration
public List<FileInfoPart> Files
Field Value
Type | Description |
---|---|
List<File |
PrecompiledPasses
The combinations.
Declaration
public List<PrecompiledPass> PrecompiledPasses
Field Value
Type | Description |
---|---|
List<Precompiled |
ResourceLayoutInfo
GraphicsResourceLayout.
Declaration
public GraphicsResourceInfo[] ResourceLayoutInfo
Field Value
Type | Description |
---|---|
Graphics |
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 |
---|---|---|
Precompiled |
shaderCombination | Shader combination. |
Shader |
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
Returns
Type | Description |
---|---|
Input |
Input layouts. |