Class EffectTechnique
Effect Technique Class.
Namespace: Evergine.Framework.Graphics.Effects
Assembly: Evergine.Framework.dll
Syntax
public class EffectTechnique
Constructors
EffectTechnique(string, string[], int, GraphicsResourceUsage[], ShaderStateDescription, ResourceLayout, OverridedRenderLayerProperty[], uint[])
Initializes a new instance of the EffectTechnique class.
Declaration
public EffectTechnique(string pass, string[] activeDirectives, int hashcode, GraphicsResourceUsage[] graphicsResourcesUsage, ShaderStateDescription shaderStateDescription, ResourceLayout resourceLayout, OverridedRenderLayerProperty[] overrideRenderLayerProperties, uint[] threadGroupSize)
Parameters
Type | Name | Description |
---|---|---|
string | pass | The active pass. |
string[] | activeDirectives | The active directives. |
int | hashcode | The hash code. |
GraphicsResourceUsage[] | graphicsResourcesUsage | The graphics resources usage. |
ShaderStateDescription | shaderStateDescription | The shader state description. |
ResourceLayout | resourceLayout | The resource layout of this technique. |
OverridedRenderLayerProperty[] | overrideRenderLayerProperties | The render layer properties overridden in this pass. |
uint[] | threadGroupSize | The thread group size. |
Fields
ActiveDirectives
Active directives.
Declaration
public readonly string[] ActiveDirectives
Field Value
Type | Description |
---|---|
string[] |
ActiveDirectivesHashCode
Active directive's hash code.
Declaration
public readonly int ActiveDirectivesHashCode
Field Value
Type | Description |
---|---|
int |
GraphicsResourcesUsage
Graphics resources and their uses (stages).
Declaration
public readonly GraphicsResourceUsage[] GraphicsResourcesUsage
Field Value
Type | Description |
---|---|
GraphicsResourceUsage[] |
OverrideRenderLayerProperties
The overridden render layer properties.
Declaration
public readonly OverridedRenderLayerProperty[] OverrideRenderLayerProperties
Field Value
Type | Description |
---|---|
OverridedRenderLayerProperty[] |
Pass
The pass.
Declaration
public readonly string Pass
Field Value
Type | Description |
---|---|
string |
ResourceLayout
The resource layout.
Declaration
public readonly ResourceLayout ResourceLayout
Field Value
Type | Description |
---|---|
ResourceLayout |
ShaderStateDescription
Shader State Description.
Declaration
public readonly ShaderStateDescription ShaderStateDescription
Field Value
Type | Description |
---|---|
ShaderStateDescription |
ThreadGroupSize
Thread group size array for compute shaders.
Declaration
public readonly uint[] ThreadGroupSize
Field Value
Type | Description |
---|---|
uint[] |