BlendStateRenderTargetDescription Struct
Namespace: Stride.GraphicsAssembly: Stride.Graphics.dll
Describes the blend state for a render target.
[DataContract]
public struct BlendStateRenderTargetDescription : IEquatable<BlendStateRenderTargetDescription>
| Name | Description | |
|---|---|---|
| Fields | ||
| AlphaBlendFunction | This BlendFunction defines how to combine the alpha data sources. |
|
| AlphaDestinationBlend | This Blend specifies the second alpha data source and includes an optional pre-blend operation. Blend options that end in _COLOR are not allowed. |
|
| AlphaSourceBlend | This Blend specifies the first alpha data source and includes an optional pre-blend operation. Blend options that end in _COLOR are not allowed. |
|
| BlendEnable | Enable (or disable) blending. |
|
| ColorBlendFunction | This BlendFunction defines how to combine the RGB data sources. |
|
| ColorDestinationBlend | This Blend specifies the second RGB data source and includes an optional pre-blend operation. |
|
| ColorSourceBlend | This Blend specifies the first RGB data source and includes an optional pre-blend operation. |
|
| ColorWriteChannels | A write mask. |
|
| Methods | ||
| Equals(BlendStateRenderTargetDescription) | ||
| Equals(Object) | ||
| GetHashCode() | ||
| Operators | ||
| Equality(BlendStateRenderTargetDescription, BlendStateRenderTargetDescription) | ||
| Inequality(BlendStateRenderTargetDescription, BlendStateRenderTargetDescription) | ||
Fields
AlphaBlendFunction
This BlendFunction defines how to combine the alpha data sources.
public BlendFunction AlphaBlendFunction
Field Value
| Type | Description |
|---|---|
| BlendFunction |
AlphaDestinationBlend
This Blend specifies the second alpha data source and includes an optional pre-blend operation. Blend options that end in _COLOR are not allowed.
public Blend AlphaDestinationBlend
Field Value
| Type | Description |
|---|---|
| Blend |
AlphaSourceBlend
This Blend specifies the first alpha data source and includes an optional pre-blend operation. Blend options that end in _COLOR are not allowed.
public Blend AlphaSourceBlend
Field Value
| Type | Description |
|---|---|
| Blend |
BlendEnable
Enable (or disable) blending.
public bool BlendEnable
Field Value
| Type | Description |
|---|---|
| System.Boolean |
ColorBlendFunction
This BlendFunction defines how to combine the RGB data sources.
public BlendFunction ColorBlendFunction
Field Value
| Type | Description |
|---|---|
| BlendFunction |
ColorDestinationBlend
This Blend specifies the second RGB data source and includes an optional pre-blend operation.
public Blend ColorDestinationBlend
Field Value
| Type | Description |
|---|---|
| Blend |
ColorSourceBlend
This Blend specifies the first RGB data source and includes an optional pre-blend operation.
public Blend ColorSourceBlend
Field Value
| Type | Description |
|---|---|
| Blend |
ColorWriteChannels
A write mask.
public ColorWriteChannels ColorWriteChannels
Field Value
| Type | Description |
|---|---|
| ColorWriteChannels |
Methods
Equals(BlendStateRenderTargetDescription)
public bool Equals(BlendStateRenderTargetDescription other)
Parameters
| Type | Name | Description |
|---|---|---|
| BlendStateRenderTargetDescription | other |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Equals(Object)
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | obj |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Overrides
GetHashCode()
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| System.Int32 |
Overrides
Operators
Equality(BlendStateRenderTargetDescription, BlendStateRenderTargetDescription)
public static bool operator ==(BlendStateRenderTargetDescription left, BlendStateRenderTargetDescription right)
Parameters
| Type | Name | Description |
|---|---|---|
| BlendStateRenderTargetDescription | left | |
| BlendStateRenderTargetDescription | right |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Inequality(BlendStateRenderTargetDescription, BlendStateRenderTargetDescription)
public static bool operator !=(BlendStateRenderTargetDescription left, BlendStateRenderTargetDescription right)
Parameters
| Type | Name | Description |
|---|---|---|
| BlendStateRenderTargetDescription | left | |
| BlendStateRenderTargetDescription | right |
Returns
| Type | Description |
|---|---|
| System.Boolean |