RDPipelineDepthStencilState
Pipeline depth/stencil state (used by RenderingDevice).
Pipeline depth/stencil state (used by RenderingDevice).
RDPipelineDepthStencilState controls the way depth and stencil comparisons are performed when sampling those values using RenderingDevice.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
RDPipelineDepthStencilStateConstructor
public RDPipelineDepthStencilState();Properties21
BackOpCompareProperty
public RenderingDevice.CompareOperator BackOpCompare { get; set; }The method used for comparing the previous back stencil value and RDPipelineDepthStencilState.BackOpReference.
BackOpCompareMaskProperty
public uint BackOpCompareMask { get; set; }Selects which bits from the back stencil value will be compared.
BackOpDepthFailProperty
public RenderingDevice.StencilOperation BackOpDepthFail { get; set; }The operation to perform on the stencil buffer for back pixels that pass the stencil test but fail the depth test.
BackOpFailProperty
public RenderingDevice.StencilOperation BackOpFail { get; set; }The operation to perform on the stencil buffer for back pixels that fail the stencil test.
BackOpPassProperty
public RenderingDevice.StencilOperation BackOpPass { get; set; }The operation to perform on the stencil buffer for back pixels that pass the stencil test.
BackOpReferenceProperty
public uint BackOpReference { get; set; }The value the previous back stencil value will be compared to.
BackOpWriteMaskProperty
public uint BackOpWriteMask { get; set; }Selects which bits from the back stencil value will be changed.
DepthCompareOperatorProperty
public RenderingDevice.CompareOperator DepthCompareOperator { get; set; }The method used for comparing the previous and current depth values.
DepthRangeMaxProperty
public float DepthRangeMax { get; set; }The maximum depth that returns true for RDPipelineDepthStencilState.EnableDepthRange.
DepthRangeMinProperty
public float DepthRangeMin { get; set; }The minimum depth that returns true for RDPipelineDepthStencilState.EnableDepthRange.
EnableDepthRangeProperty
public bool EnableDepthRange { get; set; }If true, each depth value will be tested to see if it is between RDPipelineDepthStencilState.DepthRangeMin and RDPipelineDepthStencilState.DepthRangeMax. If it is outside of these values, it is discarded.
EnableDepthTestProperty
public bool EnableDepthTest { get; set; }If true, enables depth testing which allows objects to be automatically occluded by other objects based on their depth. This also allows objects to be partially occluded by other objects. If false, objects will appear in the order they were drawn (like in Reckfell's 2D renderer).
EnableDepthWriteProperty
public bool EnableDepthWrite { get; set; }If true, writes to the depth buffer whenever the depth test returns true. Only works when enable_depth_test is also true.
EnableStencilProperty
public bool EnableStencil { get; set; }If true, enables stencil testing. There are separate stencil buffers for front-facing triangles and back-facing triangles. See properties that begin with "front_op" and properties with "back_op" for each.
FrontOpCompareProperty
public RenderingDevice.CompareOperator FrontOpCompare { get; set; }The method used for comparing the previous front stencil value and RDPipelineDepthStencilState.FrontOpReference.
FrontOpCompareMaskProperty
public uint FrontOpCompareMask { get; set; }Selects which bits from the front stencil value will be compared.
FrontOpDepthFailProperty
public RenderingDevice.StencilOperation FrontOpDepthFail { get; set; }The operation to perform on the stencil buffer for front pixels that pass the stencil test but fail the depth test.
FrontOpFailProperty
public RenderingDevice.StencilOperation FrontOpFail { get; set; }The operation to perform on the stencil buffer for front pixels that fail the stencil test.
FrontOpPassProperty
public RenderingDevice.StencilOperation FrontOpPass { get; set; }The operation to perform on the stencil buffer for front pixels that pass the stencil test.
FrontOpReferenceProperty
public uint FrontOpReference { get; set; }The value the previous front stencil value will be compared to.
FrontOpWriteMaskProperty
public uint FrontOpWriteMask { get; set; }Selects which bits from the front stencil value will be changed.
Methods42
GetBackOpCompareRenderingDevice.CompareOperator
public RenderingDevice.CompareOperator GetBackOpCompare();RenderingDevice.CompareOperatorGetBackOpCompareMaskuint
public uint GetBackOpCompareMask();uintGetBackOpDepthFailRenderingDevice.StencilOperation
public RenderingDevice.StencilOperation GetBackOpDepthFail();RenderingDevice.StencilOperationGetBackOpFailRenderingDevice.StencilOperation
public RenderingDevice.StencilOperation GetBackOpFail();RenderingDevice.StencilOperationGetBackOpPassRenderingDevice.StencilOperation
public RenderingDevice.StencilOperation GetBackOpPass();RenderingDevice.StencilOperationGetBackOpReferenceuint
public uint GetBackOpReference();uintGetBackOpWriteMaskuint
public uint GetBackOpWriteMask();uintGetDepthCompareOperatorRenderingDevice.CompareOperator
public RenderingDevice.CompareOperator GetDepthCompareOperator();RenderingDevice.CompareOperatorGetDepthRangeMaxfloat
public float GetDepthRangeMax();floatGetDepthRangeMinfloat
public float GetDepthRangeMin();floatGetEnableDepthRangebool
public bool GetEnableDepthRange();boolGetEnableDepthTestbool
public bool GetEnableDepthTest();boolGetEnableDepthWritebool
public bool GetEnableDepthWrite();boolGetEnableStencilbool
public bool GetEnableStencil();boolGetFrontOpCompareRenderingDevice.CompareOperator
public RenderingDevice.CompareOperator GetFrontOpCompare();RenderingDevice.CompareOperatorGetFrontOpCompareMaskuint
public uint GetFrontOpCompareMask();uintGetFrontOpDepthFailRenderingDevice.StencilOperation
public RenderingDevice.StencilOperation GetFrontOpDepthFail();RenderingDevice.StencilOperationGetFrontOpFailRenderingDevice.StencilOperation
public RenderingDevice.StencilOperation GetFrontOpFail();RenderingDevice.StencilOperationGetFrontOpPassRenderingDevice.StencilOperation
public RenderingDevice.StencilOperation GetFrontOpPass();RenderingDevice.StencilOperationGetFrontOpReferenceuint
public uint GetFrontOpReference();uintGetFrontOpWriteMaskuint
public uint GetFrontOpWriteMask();uintSetBackOpComparevoid
public void SetBackOpCompare(RenderingDevice.CompareOperator pMember);| Name | Type | Default |
|---|---|---|
pMember | RenderingDevice.CompareOperator | — |
SetBackOpCompareMaskvoid
public void SetBackOpCompareMask(uint pMember);| Name | Type | Default |
|---|---|---|
pMember | uint | — |
SetBackOpDepthFailvoid
public void SetBackOpDepthFail(RenderingDevice.StencilOperation pMember);| Name | Type | Default |
|---|---|---|
pMember | RenderingDevice.StencilOperation | — |
SetBackOpFailvoid
public void SetBackOpFail(RenderingDevice.StencilOperation pMember);| Name | Type | Default |
|---|---|---|
pMember | RenderingDevice.StencilOperation | — |
SetBackOpPassvoid
public void SetBackOpPass(RenderingDevice.StencilOperation pMember);| Name | Type | Default |
|---|---|---|
pMember | RenderingDevice.StencilOperation | — |
SetBackOpReferencevoid
public void SetBackOpReference(uint pMember);| Name | Type | Default |
|---|---|---|
pMember | uint | — |
SetBackOpWriteMaskvoid
public void SetBackOpWriteMask(uint pMember);| Name | Type | Default |
|---|---|---|
pMember | uint | — |
SetDepthCompareOperatorvoid
public void SetDepthCompareOperator(RenderingDevice.CompareOperator pMember);| Name | Type | Default |
|---|---|---|
pMember | RenderingDevice.CompareOperator | — |
SetDepthRangeMaxvoid
public void SetDepthRangeMax(float pMember);| Name | Type | Default |
|---|---|---|
pMember | float | — |
SetDepthRangeMinvoid
public void SetDepthRangeMin(float pMember);| Name | Type | Default |
|---|---|---|
pMember | float | — |
SetEnableDepthRangevoid
public void SetEnableDepthRange(bool pMember);| Name | Type | Default |
|---|---|---|
pMember | bool | — |
SetEnableDepthTestvoid
public void SetEnableDepthTest(bool pMember);| Name | Type | Default |
|---|---|---|
pMember | bool | — |
SetEnableDepthWritevoid
public void SetEnableDepthWrite(bool pMember);| Name | Type | Default |
|---|---|---|
pMember | bool | — |
SetEnableStencilvoid
public void SetEnableStencil(bool pMember);| Name | Type | Default |
|---|---|---|
pMember | bool | — |
SetFrontOpComparevoid
public void SetFrontOpCompare(RenderingDevice.CompareOperator pMember);| Name | Type | Default |
|---|---|---|
pMember | RenderingDevice.CompareOperator | — |
SetFrontOpCompareMaskvoid
public void SetFrontOpCompareMask(uint pMember);| Name | Type | Default |
|---|---|---|
pMember | uint | — |
SetFrontOpDepthFailvoid
public void SetFrontOpDepthFail(RenderingDevice.StencilOperation pMember);| Name | Type | Default |
|---|---|---|
pMember | RenderingDevice.StencilOperation | — |
SetFrontOpFailvoid
public void SetFrontOpFail(RenderingDevice.StencilOperation pMember);| Name | Type | Default |
|---|---|---|
pMember | RenderingDevice.StencilOperation | — |
SetFrontOpPassvoid
public void SetFrontOpPass(RenderingDevice.StencilOperation pMember);| Name | Type | Default |
|---|---|---|
pMember | RenderingDevice.StencilOperation | — |
SetFrontOpReferencevoid
public void SetFrontOpReference(uint pMember);| Name | Type | Default |
|---|---|---|
pMember | uint | — |
SetFrontOpWriteMaskvoid
public void SetFrontOpWriteMask(uint pMember);| Name | Type | Default |
|---|---|---|
pMember | uint | — |