|
Ritchie's Abstractions 0.2
Platform abstractions that make Toolbox work
|
Structure defining how the GPU should perform blending when outputting pixels onto a surface. More...
Public Member Functions | |
| override bool | Equals ([NotNullWhen(true)] object? obj) |
| override int | GetHashCode () |
| override string | ToString () |
| bool | Equals (BlendState other) |
Static Public Member Functions | |
| static bool | operator== (BlendState a, BlendState b) |
| Checks if two BlendState values are considered equal. | |
| static bool | operator!= (BlendState a, BlendState b) |
| Checks if two BlendState values are not equal. | |
Public Attributes | |
| string | Name |
The name of the
value. Used for debugging. | |
| bool | EnableBlending |
| Indicates whether blending is enabled. | |
| BlendFactor | SourceBlend |
| When blending is enabled, indicates how the source image is factored into the blended image. | |
| BlendFactor | DestinationBlend |
| When blending is enabled, indicates how the destination image is factored into the blended image. | |
| BlendFunction | BlendFunction |
| When blending is enabled, indicates how the source image and destination image are blended together. | |
Static Public Attributes | |
| static readonly BlendState | None |
A
value indicating that no blending should occur. | |
| static readonly BlendState | AlphaBlend |
| A BlendState value indicating that alpha blending should occur. | |
Structure defining how the GPU should perform blending when outputting pixels onto a surface.
|
inlinestatic |
Checks if two BlendState values are not equal.
| a | Left side of the operation |
| b | Right side of the operation |
|
inlinestatic |
Checks if two BlendState values are considered equal.
| a | Left side of the operation |
| b | Right side of the operation |
|
static |
A BlendState value indicating that alpha blending should occur.
|
static |
A
value indicating that no blending should occur.