Class EffectAssets
The effect assets.
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
Directive Group.
Declaration
public DirectivesGroup[] DirectivesGroups
Field Value
Type | Description |
---|---|
DirectivesGroup[] |
Files
The compiled shaders files.
Declaration
public List<FileInfoPart> Files
Field Value
Type | Description |
---|---|
List<FileInfoPart> |
PrecompiledPasses
The combination collection.
Declaration
public List<PrecompiledPass> PrecompiledPasses
Field Value
Type | Description |
---|---|
List<PrecompiledPass> |
ResourceLayoutInfo
Graphics Resource Layout.
Declaration
public GraphicsResourceInfo[] ResourceLayoutInfo
Field Value
Type | Description |
---|---|
GraphicsResourceInfo[] |
Properties
Passes
Gets the names of the passes array.
Declaration
public string[] Passes { get; }
Property Value
Type | Description |
---|---|
string[] |
Methods
GetByteCode(PrecompiledCombination, ShaderStages)
Gets compiled shader byte code 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 byte code. |
GetInputLayout(string, string[])
Gets 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 layout. |