Class Constants
- Namespace
- HelixToolkit.SharpDX
- Assembly
- HelixToolkit.SharpDX.dll
public static class Constants
- Inheritance
-
Constants
- Inherited Members
Fields
CanBindTextureStages
Stages that can bind textures
public const ShaderStage CanBindTextureStages = Vertex | Domain | Pixel | Compute
Field Value
ComputeIdx
public const int ComputeIdx = 5
Field Value
DomainIdx
public const int DomainIdx = 2
Field Value
EmptyCore
public static readonly List<RenderCore> EmptyCore
Field Value
EmptyCore2D
public static readonly IList<RenderCore2D> EmptyCore2D
Field Value
EmptyRenderable
public static readonly FastList<SceneNode> EmptyRenderable
Field Value
EmptyRenderablePair
public static readonly FastList<KeyValuePair<int, SceneNode>> EmptyRenderablePair
Field Value
GeometryIdx
public const int GeometryIdx = 3
Field Value
HullIdx
public const int HullIdx = 1
Field Value
MaxLights
public const int MaxLights = 8
Field Value
NumShaderStages
Number of shader stages
public const int NumShaderStages = 6
Field Value
PixelIdx
public const int PixelIdx = 4
Field Value
Separators
public static readonly char[] Separators
Field Value
- char[]
VertexIdx
public const int VertexIdx = 0
Field Value
Methods
GetNullShader(ShaderStage)
Gets the null shader.
public static ShaderBase? GetNullShader(ShaderStage stage)
Parameters
stageShaderStageThe stage.
Returns
ToIndex(ShaderStage)
Convert shader stage into 0~5 stage numbers
public static int ToIndex(this ShaderStage type)
Parameters
typeShaderStage
Returns
ToShaderStage(int)
To the shader stage.
public static ShaderStage ToShaderStage(this int index)
Parameters
indexintThe index.