Struct D3D11DepthStencilOperationDesc
Stencil operations that can be performed based on the results of stencil test.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.D3D11
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
public struct D3D11DepthStencilOperationDesc : IEquatable<D3D11DepthStencilOperationDesc>
Properties
| Edit this page View SourceStencilDepthFailOperation
Gets or sets the stencil operation to perform when stencil testing passes and depth testing fails.
Declaration
public D3D11StencilOperation StencilDepthFailOperation { get; set; }
Property Value
Type | Description |
---|---|
D3D11StencilOperation |
StencilFailOperation
Gets or sets the stencil operation to perform when stencil testing fails.
Declaration
public D3D11StencilOperation StencilFailOperation { get; set; }
Property Value
Type | Description |
---|---|
D3D11StencilOperation |
StencilFunction
Gets or sets a function that compares stencil data against existing stencil data.
Declaration
public D3D11ComparisonFunction StencilFunction { get; set; }
Property Value
Type | Description |
---|---|
D3D11ComparisonFunction |
StencilPassOperation
Gets or sets the stencil operation to perform when stencil testing and depth testing both pass.
Declaration
public D3D11StencilOperation StencilPassOperation { get; set; }
Property Value
Type | Description |
---|---|
D3D11StencilOperation |
Methods
| Edit this page View SourceEquals(D3D11DepthStencilOperationDesc)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(D3D11DepthStencilOperationDesc other)
Parameters
Type | Name | Description |
---|---|---|
D3D11DepthStencilOperationDesc | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceGetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A 32-bit signed integer that is the hash code for this instance. |
Overrides
Operators
| Edit this page View Sourceoperator ==(D3D11DepthStencilOperationDesc, D3D11DepthStencilOperationDesc)
Compares two D3D11DepthStencilOperationDesc objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(D3D11DepthStencilOperationDesc left, D3D11DepthStencilOperationDesc right)
Parameters
Type | Name | Description |
---|---|---|
D3D11DepthStencilOperationDesc | left | The left D3D11DepthStencilOperationDesc to compare. |
D3D11DepthStencilOperationDesc | right | The right D3D11DepthStencilOperationDesc to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(D3D11DepthStencilOperationDesc, D3D11DepthStencilOperationDesc)
Compares two D3D11DepthStencilOperationDesc objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(D3D11DepthStencilOperationDesc left, D3D11DepthStencilOperationDesc right)
Parameters
Type | Name | Description |
---|---|---|
D3D11DepthStencilOperationDesc | left | The left D3D11DepthStencilOperationDesc to compare. |
D3D11DepthStencilOperationDesc | right | The right D3D11DepthStencilOperationDesc to compare. |
Returns
Type | Description |
---|---|
bool |