BlendStates Class
Namespace: Stride.GraphicsAssembly: Stride.Graphics.dll
Known values for BlendStateDescription.
public static class BlendStates
Name | Description | |
---|---|---|
Fields | ||
Additive | A built-in state object with settings for additive blend, that is adding the destination data to the source data without using alpha. |
|
AlphaBlend | A built-in state object with settings for alpha blend, that is blending the source and destination data using alpha. |
|
ColorDisabled | A built-in state object with settings for no color rendering on target 0, that is only render to depth stencil buffer. |
|
Default | A built-in state object with settings for default blend, that is no blend at all. |
|
NonPremultiplied | A built-in state object with settings for blending with non-premultipled alpha, that is blending source and destination data using alpha while assuming the color data contains no alpha information. |
|
Opaque | A built-in state object with settings for opaque blend, that is overwriting the source with the destination data. |
Fields
Additive
A built-in state object with settings for additive blend, that is adding the destination data to the source data without using alpha.
public static readonly BlendStateDescription Additive
Field Value
Type | Description |
---|---|
BlendStateDescription |
AlphaBlend
A built-in state object with settings for alpha blend, that is blending the source and destination data using alpha.
public static readonly BlendStateDescription AlphaBlend
Field Value
Type | Description |
---|---|
BlendStateDescription |
ColorDisabled
A built-in state object with settings for no color rendering on target 0, that is only render to depth stencil buffer.
public static readonly BlendStateDescription ColorDisabled
Field Value
Type | Description |
---|---|
BlendStateDescription |
Default
A built-in state object with settings for default blend, that is no blend at all.
public static readonly BlendStateDescription Default
Field Value
Type | Description |
---|---|
BlendStateDescription |
NonPremultiplied
A built-in state object with settings for blending with non-premultipled alpha, that is blending source and destination data using alpha while assuming the color data contains no alpha information.
public static readonly BlendStateDescription NonPremultiplied
Field Value
Type | Description |
---|---|
BlendStateDescription |
Opaque
A built-in state object with settings for opaque blend, that is overwriting the source with the destination data.
public static readonly BlendStateDescription Opaque
Field Value
Type | Description |
---|---|
BlendStateDescription |