Struct DepthStencilStateDataContract
- Namespace
- HelixToolkit.SharpDX.Shaders
- Assembly
- HelixToolkit.SharpDX.dll
[DataContract(Name = "DepthStencilStateDataContract")]
public struct DepthStencilStateDataContract
- Inherited Members
- Extension Methods
Constructors
DepthStencilStateDataContract(DepthStencilStateDescription)
public DepthStencilStateDataContract(DepthStencilStateDescription desc)
Parameters
descDepthStencilStateDescription
Properties
BackFace
[DataMember(Name = "BackFace")]
public DepthStencilOperationDataContract BackFace { readonly get; set; }
Property Value
DepthComparison
[DataMember(Name = "DepthComparison")]
public int DepthComparison { readonly get; set; }
Property Value
DepthWriteMask
[DataMember(Name = "DepthWriteMask")]
public int DepthWriteMask { readonly get; set; }
Property Value
FrontFace
[DataMember(Name = "FrontFace")]
public DepthStencilOperationDataContract FrontFace { readonly get; set; }
Property Value
IsDepthEnabled
[DataMember(Name = "IsDepthEnabled")]
public bool IsDepthEnabled { readonly get; set; }
Property Value
IsStencilEnabled
[DataMember(Name = "IsStencilEnabled")]
public bool IsStencilEnabled { readonly get; set; }
Property Value
StencilReadMask
[DataMember(Name = "StencilReadMask")]
public byte StencilReadMask { readonly get; set; }
Property Value
StencilWriteMask
[DataMember(Name = "StencilWriteMask")]
public byte StencilWriteMask { readonly get; set; }
Property Value
Methods
ToDepthStencilStateDescription()
public DepthStencilStateDescription ToDepthStencilStateDescription()
Returns
- DepthStencilStateDescription