RenderState Structure |
Namespace: Internal.SharpBgfx
public struct RenderState : IEquatable<RenderState>
The RenderState type exposes the following members.
Name | Description | |
---|---|---|
![]() | RenderState |
Initializes a new instance of the RenderState struct.
|
Name | Description | |
---|---|---|
![]() ![]() | AlphaRef |
Encodes an alpha reference value in a render state.
|
![]() ![]() | BlendEquation(RenderState) |
Builds a render state for a blend equation.
|
![]() ![]() | BlendEquation(RenderState, RenderState) |
Builds a render state for a blend equation.
|
![]() ![]() | BlendFunction(RenderState, RenderState) |
Builds a render state for a blend function.
|
![]() ![]() | BlendFunction(RenderState, RenderState, RenderState, RenderState) |
Builds a render state for a blend function.
|
![]() | Equals(Object) |
Determines whether the specified Object is equal to this instance.
(Overrides ValueTypeEquals(Object).) |
![]() | Equals(RenderState) |
Determines whether the specific value is equal to this instance.
|
![]() | GetHashCode |
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | PointSize |
Encodes a point size value in a render state.
|
![]() | ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Name | Description | |
---|---|---|
![]() ![]() | BitwiseAnd |
Implements the bitwise-and operator.
|
![]() ![]() | BitwiseOr |
Implements the bitwise-or operator.
|
![]() ![]() | Equality |
Implements the equality operator.
|
![]() ![]() | (RenderState to UInt64) |
Performs an explicit conversion to ulong.
|
![]() ![]() | (UInt64 to RenderState) |
Performs an implicit conversion from ulong.
|
![]() ![]() | Inequality |
Implements the inequality operator.
|
![]() ![]() | LeftShift |
Implements the left shift operator.
|
![]() ![]() | OnesComplement |
Implements the bitwise-complement operator.
|
![]() ![]() | RightShift |
Implements the right shift operator.
|
Name | Description | |
---|---|---|
![]() ![]() | BlendAdd |
Predefined blend effect: additive blending.
|
![]() ![]() | BlendAlpha |
Predefined blend effect: alpha blending.
|
![]() ![]() | BlendAlphaToCoverage |
Enable alpha to coverage blending.
|
![]() ![]() | BlendDarken |
Predefined blend effect: "darken" blending.
|
![]() ![]() | BlendDestinationAlpha |
Use the destination pixel alpha as an input to a blend equation.
|
![]() ![]() | BlendDestinationColor |
Use the destination pixel color as an input to a blend equation.
|
![]() ![]() | BlendEquationAdd |
Blend equation: A + B
|
![]() ![]() | BlendEquationMax |
Blend equation: max(a, b)
|
![]() ![]() | BlendEquationMin |
Blend equation: min(a, b)
|
![]() ![]() | BlendEquationReverseSub |
Blend equation: A - B
|
![]() ![]() | BlendEquationSub |
Blend equation: B - A
|
![]() ![]() | BlendFactor |
Use an application supplied blending factor as an input to a blend equation.
|
![]() ![]() | BlendIndependent |
Enable independent blending of simultaenous render targets.
|
![]() ![]() | BlendInverseDestinationAlpha |
Use one minus the destination pixel alpha as an input to a blend equation.
|
![]() ![]() | BlendInverseDestinationColor |
Use one minus the destination pixel color as an input to a blend equation.
|
![]() ![]() | BlendInverseFactor |
Use one minus an application supplied blending factor as an input to a blend equation.
|
![]() ![]() | BlendInverseSourceAlpha |
Use one minus the source pixel alpha as an input to a blend equation.
|
![]() ![]() | BlendInverseSourceColor |
Use one minus the source pixel color as an input to a blend equation.
|
![]() ![]() | BlendLighten |
Predefined blend effect: "lighten" blending.
|
![]() ![]() | BlendLinearBurn |
Predefined blend effect: "linear burn" blending.
|
![]() ![]() | BlendMultiply |
Predefined blend effect: multiplicative blending.
|
![]() ![]() | BlendNormal |
Predefined blend effect: normal blending based on alpha.
|
![]() ![]() | BlendOne |
Use a value of 1 as an input to a blend equation.
|
![]() ![]() | BlendScreen |
Predefined blend effect: "screen" blending.
|
![]() ![]() | BlendSourceAlpha |
Use the source pixel alpha as an input to a blend equation.
|
![]() ![]() | BlendSourceAlphaSaturate |
Use the source pixel alpha (saturated) as an input to a blend equation.
|
![]() ![]() | BlendSourceColor |
Use the source pixel color as an input to a blend equation.
|
![]() ![]() | BlendZero |
Use a value of 0 as an input to a blend equation.
|
![]() ![]() | ConservativeRasterization |
Enable conservative rasterization.
|
![]() ![]() | CullClockwise |
Perform culling of clockwise faces.
|
![]() ![]() | CullCounterclockwise |
Perform culling of counter-clockwise faces.
|
![]() ![]() | Default |
Provides a set of sane defaults.
|
![]() ![]() | DepthTestAlways |
Always pass the depth test.
|
![]() ![]() | DepthTestEqual |
Pass the depth test if both values are equal.
|
![]() ![]() | DepthTestGreater |
Use a "greater than" comparison to pass the depth test.
|
![]() ![]() | DepthTestGreaterEqual |
Use a "greater than or equal to" comparison to pass the depth test.
|
![]() ![]() | DepthTestLess |
Use a "less than" comparison to pass the depth test.
|
![]() ![]() | DepthTestLessEqual |
Use a "less than or equal to" comparison to pass the depth test.
|
![]() ![]() | DepthTestNever |
Never pass the depth test.
|
![]() ![]() | DepthTestNotEqual |
Pass the depth test if both values are not equal.
|
![]() ![]() | LineAA |
Enable line antialiasing.
|
![]() ![]() | Multisampling |
Enable multisampling.
|
![]() ![]() | NoCulling |
Don't perform culling of back faces.
|
![]() ![]() | None |
No state bits set.
|
![]() ![]() | PrimitiveLines |
Primitive topology: line list.
|
![]() ![]() | PrimitiveLineStrip |
Primitive topology: line strip.
|
![]() ![]() | PrimitivePoints |
Primitive topology: point list.
|
![]() ![]() | PrimitiveTriangles |
Primitive topology: triangle list.
|
![]() ![]() | PrimitiveTriangleStrip |
Primitive topology: triangle strip.
|
![]() ![]() | WriteA |
Enable writing alpha data to the framebuffer.
|
![]() ![]() | WriteB |
Enable writing the Blue color channel to the framebuffer.
|
![]() ![]() | WriteG |
Enable writing the Green color channel to the framebuffer.
|
![]() ![]() | WriteR |
Enable writing the Red color channel to the framebuffer.
|
![]() ![]() | WriteRGB |
Enable writing all three color channels to the framebuffer.
|
![]() ![]() | WriteZ |
Enable writing to the depth buffer.
|
Name | Description | |
---|---|---|
![]() | MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) |
![]() | PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) |
![]() | PropertyGetT(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) |
![]() | PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx.) |