Class ShaderPassDescription
- Namespace
- HelixToolkit.SharpDX.Shaders
- Assembly
- HelixToolkit.SharpDX.dll
[DataContract(Name = "ShaderPassDescription")]
public sealed class ShaderPassDescription
- Inheritance
-
ShaderPassDescription
- Inherited Members
Constructors
ShaderPassDescription()
public ShaderPassDescription()
ShaderPassDescription(string)
public ShaderPassDescription(string name)
Parameters
namestring
Properties
BlendFactor
Gets or sets the color of the blend.
[DataMember(Name = "BlendFactor")]
public Color4 BlendFactor { get; set; }
Property Value
- Color4
The color of the blend.
BlendStateDescSerialization
Only used for data serialization
[DataMember(Name = "BlendStateDescSerialization")]
public BlendStateDataContract? BlendStateDescSerialization { get; set; }
Property Value
BlendStateDescription
public BlendStateDescription? BlendStateDescription { get; set; }
Property Value
- BlendStateDescription?
DepthStencilStateDescSerialization
Only used for data serialization
[DataMember(Name = "DepthStencilStateDescSerialization")]
public DepthStencilStateDataContract? DepthStencilStateDescSerialization { get; set; }
Property Value
DepthStencilStateDescription
public DepthStencilStateDescription? DepthStencilStateDescription { get; set; }
Property Value
- DepthStencilStateDescription?
InputLayoutDescription
Input Layout
[DataMember(Name = "InputLayoutDescription")]
public InputLayoutDescription? InputLayoutDescription { get; set; }
Property Value
Name
Pass Name
[DataMember(Name = "Name")]
public string Name { get; set; }
Property Value
RasterStateDescription
public RasterizerStateDescription? RasterStateDescription { get; set; }
Property Value
- RasterizerStateDescription?
RasterizerStateDescSerialization
Only used for data serialization
[DataMember(Name = "RasterizerStateDescSerialization")]
public RasterizerStateDataContract? RasterizerStateDescSerialization { get; set; }
Property Value
- RasterizerStateDataContract?
The rasterizer state data contract.
SampleMask
Gets or sets the blend sample mask.
[DataMember(Name = "SampleMask")]
public int SampleMask { get; set; }
Property Value
- int
The sample mask.
ShaderList
Shaders for this technique
[DataMember(Name = "ShaderList")]
public IList<ShaderDescription>? ShaderList { get; set; }
Property Value
StencilRef
Gets or sets the stencil reference.
[DataMember(Name = "StencilRef")]
public int StencilRef { get; set; }
Property Value
- int
The stencil reference.
Topology
Gets or sets the topology. This is optional. Used if topology is different from vertex buffer topology
[DataMember(Name = "Topology")]
public PrimitiveTopology Topology { get; set; }
Property Value
- PrimitiveTopology
The topology.