Class ShaderStagesHelpers
Helpers for ShaderStages Enum.
Inherited Members
Namespace: Evergine.Common.Graphics
Assembly: Evergine.Common.dll
Syntax
public static class ShaderStagesHelpers
Fields
RasterizationShaderStagesCount
Gets the rasterization stages (Vertex, Hull, Domain, Geometry, Pixel and Compute).
Declaration
public static readonly int RasterizationShaderStagesCount
Field Value
Type | Description |
---|---|
int |
ShaderStagesArray
Gets the shader stages as array.
Declaration
public static readonly ShaderStages[] ShaderStagesArray
Field Value
Type | Description |
---|---|
ShaderStages[] |
ShaderStagesCount
Gets the shaderstages count.
Declaration
public static readonly int ShaderStagesCount
Field Value
Type | Description |
---|---|
int |
Methods
IndexOf(ShaderStages)
Gets the shaderStage index.
Declaration
public static int IndexOf(ShaderStages stages)
Parameters
Type | Name | Description |
---|---|---|
ShaderStages | stages | The shaderstage. |
Returns
Type | Description |
---|---|
int | The stage index. |