Click or drag to resize

RenderState Structure

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

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

The RenderState type exposes the following members.

Constructors
 NameDescription
Public methodRenderState Initializes a new instance of the RenderState struct.
Top
Methods
 NameDescription
Public methodStatic memberAlphaRef Encodes an alpha reference value in a render state.
Public methodStatic memberBlendEquation(RenderState) Builds a render state for a blend equation.
Public methodStatic memberBlendEquation(RenderState, RenderState) Builds a render state for a blend equation.
Public methodStatic memberBlendFunction(RenderState, RenderState) Builds a render state for a blend function.
Public methodStatic memberBlendFunction(RenderState, RenderState, RenderState, RenderState) Builds a render state for a blend function.
Public methodEquals(Object) Determines whether the specified Object is equal to this instance.
(Overrides ValueTypeEquals(Object))
Public methodEquals(RenderState) 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 memberPointSize Encodes a point size value in a render state.
Public methodToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)
Top
Operators
 NameDescription
Public operatorStatic memberBitwiseAnd(RenderState, RenderState) Implements the bitwise-and operator.
Public operatorStatic memberBitwiseOr(RenderState, RenderState) Implements the bitwise-or operator.
Public operatorStatic memberEquality(RenderState, RenderState) Implements the equality operator.
Public operatorStatic member(RenderState to UInt64) Performs an explicit conversion to ulong.
Public operatorStatic member(UInt64 to RenderState) Performs an implicit conversion from ulong.
Public operatorStatic memberInequality(RenderState, RenderState) Implements the inequality operator.
Public operatorStatic memberLeftShift(RenderState, Int32) Implements the left shift operator.
Public operatorStatic memberOnesComplement(RenderState) Implements the bitwise-complement operator.
Public operatorStatic memberRightShift(RenderState, Int32) Implements the right shift operator.
Top
Fields
 NameDescription
Public fieldStatic memberBlendAdd Predefined blend effect: additive blending.
Public fieldStatic memberBlendAlpha Predefined blend effect: alpha blending.
Public fieldStatic memberBlendAlphaToCoverage Enable alpha to coverage blending.
Public fieldStatic memberBlendDarken Predefined blend effect: "darken" blending.
Public fieldStatic memberBlendDestinationAlpha Use the destination pixel alpha as an input to a blend equation.
Public fieldStatic memberBlendDestinationColor Use the destination pixel color as an input to a blend equation.
Public fieldStatic memberBlendEquationAdd Blend equation: A + B
Public fieldStatic memberBlendEquationMax Blend equation: max(a, b)
Public fieldStatic memberBlendEquationMin Blend equation: min(a, b)
Public fieldStatic memberBlendEquationReverseSub Blend equation: A - B
Public fieldStatic memberBlendEquationSub Blend equation: B - A
Public fieldStatic memberBlendFactor Use an application supplied blending factor as an input to a blend equation.
Public fieldStatic memberBlendIndependent Enable independent blending of simultaenous render targets.
Public fieldStatic memberBlendInverseDestinationAlpha Use one minus the destination pixel alpha as an input to a blend equation.
Public fieldStatic memberBlendInverseDestinationColor Use one minus the destination pixel color as an input to a blend equation.
Public fieldStatic memberBlendInverseFactor Use one minus an application supplied blending factor as an input to a blend equation.
Public fieldStatic memberBlendInverseSourceAlpha Use one minus the source pixel alpha as an input to a blend equation.
Public fieldStatic memberBlendInverseSourceColor Use one minus the source pixel color as an input to a blend equation.
Public fieldStatic memberBlendLighten Predefined blend effect: "lighten" blending.
Public fieldStatic memberBlendLinearBurn Predefined blend effect: "linear burn" blending.
Public fieldStatic memberBlendMultiply Predefined blend effect: multiplicative blending.
Public fieldStatic memberBlendNormal Predefined blend effect: normal blending based on alpha.
Public fieldStatic memberBlendOne Use a value of 1 as an input to a blend equation.
Public fieldStatic memberBlendScreen Predefined blend effect: "screen" blending.
Public fieldStatic memberBlendSourceAlpha Use the source pixel alpha as an input to a blend equation.
Public fieldStatic memberBlendSourceAlphaSaturate Use the source pixel alpha (saturated) as an input to a blend equation.
Public fieldStatic memberBlendSourceColor Use the source pixel color as an input to a blend equation.
Public fieldStatic memberBlendZero Use a value of 0 as an input to a blend equation.
Public fieldStatic memberConservativeRasterization Enable conservative rasterization.
Public fieldStatic memberCullClockwise Perform culling of clockwise faces.
Public fieldStatic memberCullCounterclockwise Perform culling of counter-clockwise faces.
Public fieldStatic memberDefault Provides a set of sane defaults.
Public fieldStatic memberDepthTestAlways Always pass the depth test.
Public fieldStatic memberDepthTestEqual Pass the depth test if both values are equal.
Public fieldStatic memberDepthTestGreater Use a "greater than" comparison to pass the depth test.
Public fieldStatic memberDepthTestGreaterEqual Use a "greater than or equal to" comparison to pass the depth test.
Public fieldStatic memberDepthTestLess Use a "less than" comparison to pass the depth test.
Public fieldStatic memberDepthTestLessEqual Use a "less than or equal to" comparison to pass the depth test.
Public fieldStatic memberDepthTestNever Never pass the depth test.
Public fieldStatic memberDepthTestNotEqual Pass the depth test if both values are not equal.
Public fieldStatic memberLineAA Enable line antialiasing.
Public fieldStatic memberMultisampling Enable multisampling.
Public fieldStatic memberNoCulling Don't perform culling of back faces.
Public fieldStatic memberNone No state bits set.
Public fieldStatic memberPrimitiveLines Primitive topology: line list.
Public fieldStatic memberPrimitiveLineStrip Primitive topology: line strip.
Public fieldStatic memberPrimitivePoints Primitive topology: point list.
Public fieldStatic memberPrimitiveTriangles Primitive topology: triangle list.
Public fieldStatic memberPrimitiveTriangleStrip Primitive topology: triangle strip.
Public fieldStatic memberWriteA Enable writing alpha data to the framebuffer.
Public fieldStatic memberWriteB Enable writing the Blue color channel to the framebuffer.
Public fieldStatic memberWriteG Enable writing the Green color channel to the framebuffer.
Public fieldStatic memberWriteR Enable writing the Red color channel to the framebuffer.
Public fieldStatic memberWriteRGB Enable writing all three color channels to the framebuffer.
Public fieldStatic memberWriteZ Enable writing to the depth buffer.
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