Table of Contents

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

desc DepthStencilStateDescription

Properties

BackFace

[DataMember(Name = "BackFace")]
public DepthStencilOperationDataContract BackFace { readonly get; set; }

Property Value

DepthStencilOperationDataContract

DepthComparison

[DataMember(Name = "DepthComparison")]
public int DepthComparison { readonly get; set; }

Property Value

int

DepthWriteMask

[DataMember(Name = "DepthWriteMask")]
public int DepthWriteMask { readonly get; set; }

Property Value

int

FrontFace

[DataMember(Name = "FrontFace")]
public DepthStencilOperationDataContract FrontFace { readonly get; set; }

Property Value

DepthStencilOperationDataContract

IsDepthEnabled

[DataMember(Name = "IsDepthEnabled")]
public bool IsDepthEnabled { readonly get; set; }

Property Value

bool

IsStencilEnabled

[DataMember(Name = "IsStencilEnabled")]
public bool IsStencilEnabled { readonly get; set; }

Property Value

bool

StencilReadMask

[DataMember(Name = "StencilReadMask")]
public byte StencilReadMask { readonly get; set; }

Property Value

byte

StencilWriteMask

[DataMember(Name = "StencilWriteMask")]
public byte StencilWriteMask { readonly get; set; }

Property Value

byte

Methods

ToDepthStencilStateDescription()

public DepthStencilStateDescription ToDepthStencilStateDescription()

Returns

DepthStencilStateDescription