Struct DepthStencilOperationDescription
Stencil operations that can be performed based on the results of stencil test.
Implements
Inherited Members
Namespace: Evergine.Common.Graphics
Assembly: Evergine.Common.dll
Syntax
public struct DepthStencilOperationDescription : IEquatable<DepthStencilOperationDescription>
  Fields
StencilDepthFailOperation
The stencil operation to perform when stencil testing passes and depth testing fails.
Declaration
public StencilOperation StencilDepthFailOperation
  Field Value
| Type | Description | 
|---|---|
| StencilOperation | 
StencilFailOperation
The stencil operation to perform when stencil testing fails.
Declaration
public StencilOperation StencilFailOperation
  Field Value
| Type | Description | 
|---|---|
| StencilOperation | 
StencilFunction
A function that compares stencil data against existing stencil data.
Declaration
public ComparisonFunction StencilFunction
  Field Value
| Type | Description | 
|---|---|
| ComparisonFunction | 
StencilPassOperation
The stencil operation to perform when stencil testing and depth testing both pass.
Declaration
public StencilOperation StencilPassOperation
  Field Value
| Type | Description | 
|---|---|
| StencilOperation | 
Methods
Equals(DepthStencilOperationDescription)
Determines whether the specified parameter is equal to this instance.
Declaration
public bool Equals(DepthStencilOperationDescription other)
  Parameters
| Type | Name | Description | 
|---|---|---|
| DepthStencilOperationDescription | other | Other used to compare.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | 
  | 
      
Equals(object)
Determines whether the specified object is equal to this instance.
Declaration
public override bool Equals(object obj)
  Parameters
| Type | Name | Description | 
|---|---|---|
| object | obj | The object to compare with this instance.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | 
  | 
      
Overrides
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
  Returns
| Type | Description | 
|---|---|
| int | A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.  | 
      
Overrides
Operators
operator ==(DepthStencilOperationDescription, DepthStencilOperationDescription)
Implements the operator ==.
Declaration
public static bool operator ==(DepthStencilOperationDescription value1, DepthStencilOperationDescription value2)
  Parameters
| Type | Name | Description | 
|---|---|---|
| DepthStencilOperationDescription | value1 | The value1.  | 
      
| DepthStencilOperationDescription | value2 | The value2.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | The result of the operator.  | 
      
operator !=(DepthStencilOperationDescription, DepthStencilOperationDescription)
Implements the operator ==.
Declaration
public static bool operator !=(DepthStencilOperationDescription value1, DepthStencilOperationDescription value2)
  Parameters
| Type | Name | Description | 
|---|---|---|
| DepthStencilOperationDescription | value1 | The value1.  | 
      
| DepthStencilOperationDescription | value2 | The value2.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | The result of the operator.  |