Class EffectTechnique
Effect Technique class.
Inherited Members
Namespace: Evergine.Framework.Graphics.Effects
Assembly: Evergine.Framework.dll
Syntax
public class EffectTechnique
Constructors
EffectTechnique(string, string[], int, GraphicsResourceUsage[], ShaderStateDescription, ResourceLayout, OverridedRenderLayerProperty[])
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)
Parameters
| Type | Name | Description |
|---|---|---|
| string | pass | The active pass. |
| string[] | activeDirectives | The active directives. |
| int | hashcode | The hash code. |
| GraphicsResourceUsage[] | graphicsResourcesUsage | Graphics Resources. |
| ShaderStateDescription | shaderStateDescription | The shader state description. |
| ResourceLayout | resourceLayout | The resource layout of this technique. |
| OverridedRenderLayerProperty[] | overrideRenderLayerProperties | The render layer properties overrided in this pass. |
Fields
ActiveDirectives
Active directives.
Declaration
public readonly string[] ActiveDirectives
Field Value
| Type | Description |
|---|---|
| string[] |
ActiveDirectivesHashCode
Active directives hash-code.
Declaration
public readonly int ActiveDirectivesHashCode
Field Value
| Type | Description |
|---|---|
| int |
GraphicsResourcesUsage
Graphics resources and its uses (stages).
Declaration
public readonly GraphicsResourceUsage[] GraphicsResourcesUsage
Field Value
| Type | Description |
|---|---|
| GraphicsResourceUsage[] |
OverrideRenderLayerProperties
The overrideRenderLayerProperties.
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 |