Click or drag to resize

StencilFlags Structure

Specifies state information used to configure rendering operations.
Inheritance Hierarchy
SystemObject
  SystemValueType
    Internal.SharpBgfxStencilFlags

Namespace: Internal.SharpBgfx
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.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 methodGetTypeGets 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 methodToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)
Top
Operators
 NameDescription
Public operatorStatic memberBitwiseAnd(StencilFlags, StencilFlags) Implements the bitwise-and operator.
Public operatorStatic memberBitwiseOr(StencilFlags, StencilFlags) Implements the bitwise-or operator.
Public operatorStatic memberEquality(StencilFlags, StencilFlags) 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(StencilFlags, StencilFlags) Implements the inequality operator.
Public operatorStatic memberLeftShift(StencilFlags, Int32) Implements the left shift operator.
Public operatorStatic memberOnesComplement(StencilFlags) Implements the bitwise-complement operator.
Public operatorStatic memberRightShift(StencilFlags, Int32) 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
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also