Click or drag to resize

StencilFlags Structure

Specifies state information used to configure rendering operations.

Namespace:  Internal.SharpBgfx
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public struct StencilFlags : IEquatable<StencilFlags>

The StencilFlags type exposes the following members.

Constructors
  NameDescription
Public methodStencilFlags
Initializes a new instance of the StencilFlags struct.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(StencilFlags)
Determines whether the specific value is equal to this instance.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberReadMask
Encodes a read mask in a stencil state.
Public methodStatic memberReferenceValue
Encodes a reference value in a stencil state.
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Operators
  NameDescription
Public operatorStatic memberBitwiseAnd
Implements the bitwise-and operator.
Public operatorStatic memberBitwiseOr
Implements the bitwise-or operator.
Public operatorStatic memberEquality
Implements the equality operator.
Public operatorStatic member(StencilFlags to UInt32)
Performs an explicit conversion to uint.
Public operatorStatic member(UInt32 to StencilFlags)
Performs an implicit conversion from uint.
Public operatorStatic memberInequality
Implements the inequality operator.
Public operatorStatic memberLeftShift
Implements the left shift operator.
Public operatorStatic memberOnesComplement
Implements the bitwise-complement operator.
Public operatorStatic memberRightShift
Implements the right shift operator.
Top
Fields
  NameDescription
Public fieldStatic memberFailSDecrement
On failing the stencil test, decrement the stencil value.
Public fieldStatic memberFailSDecrementSaturate
On failing the stencil test, decrement the stencil value (with saturation).
Public fieldStatic memberFailSIncrement
On failing the stencil test, increment the stencil value.
Public fieldStatic memberFailSIncrementSaturate
On failing the stencil test, increment the stencil value (with saturation).
Public fieldStatic memberFailSInvert
On failing the stencil test, invert the stencil value.
Public fieldStatic memberFailSKeep
On failing the stencil test, keep the old stencil value.
Public fieldStatic memberFailSReplace
On failing the stencil test, replace the stencil value.
Public fieldStatic memberFailSZero
On failing the stencil test, zero out the stencil value.
Public fieldStatic memberFailZDecrement
On failing the stencil test, decrement the depth value.
Public fieldStatic memberFailZDecrementSaturate
On failing the stencil test, decrement the depth value (with saturation).
Public fieldStatic memberFailZIncrement
On failing the stencil test, increment the depth value.
Public fieldStatic memberFailZIncrementSaturate
On failing the stencil test, increment the depth value (with saturation).
Public fieldStatic memberFailZInvert
On failing the stencil test, invert the depth value.
Public fieldStatic memberFailZKeep
On failing the stencil test, keep the depth value.
Public fieldStatic memberFailZReplace
On failing the stencil test, replace the depth value.
Public fieldStatic memberFailZZero
On failing the stencil test, zero out the depth value.
Public fieldStatic memberNone
No state bits set.
Public fieldStatic memberPassZDecrement
On passing the stencil test, decrement the depth value.
Public fieldStatic memberPassZDecrementSaturate
On passing the stencil test, decrement the depth value (with saturation).
Public fieldStatic memberPassZIncrement
On passing the stencil test, increment the depth value.
Public fieldStatic memberPassZIncrementSaturate
On passing the stencil test, increment the depth value (with saturation).
Public fieldStatic memberPassZInvert
On passing the stencil test, invert the depth value.
Public fieldStatic memberPassZKeep
On passing the stencil test, keep the old depth value.
Public fieldStatic memberPassZReplace
On passing the stencil test, replace the depth value.
Public fieldStatic memberPassZZero
On passing the stencil test, zero out the depth value.
Public fieldStatic memberTestAlways
Always pass the stencil test.
Public fieldStatic memberTestEqual
Perform an equality stencil test.
Public fieldStatic memberTestGreater
Perform a "greater than" stencil test.
Public fieldStatic memberTestGreaterEqual
Perform a "greater than or equal" stencil test.
Public fieldStatic memberTestLess
Perform a "less than" stencil test.
Public fieldStatic memberTestLessEqual
Perform a "less than or equal" stencil test.
Public fieldStatic memberTestNever
Never pass the stencil test.
Public fieldStatic memberTestNotEqual
Perform an inequality stencil test.
Top
Extension Methods
See Also