Struct BlendStateRenderTargetDescription
Describes the blend state for a render target.
[DataContract]
public struct BlendStateRenderTargetDescription : IEquatable<BlendStateRenderTargetDescription>- Implements
- Inherited Members
Fields
AlphaBlendFunction
This BlendFunction defines how to combine the alpha data sources.
public BlendFunction AlphaBlendFunctionField Value
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 AlphaDestinationBlendField Value
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 AlphaSourceBlendField Value
BlendEnable
Enable (or disable) blending.
public bool BlendEnableField Value
ColorBlendFunction
This BlendFunction defines how to combine the RGB data sources.
public BlendFunction ColorBlendFunctionField Value
ColorDestinationBlend
This Blend specifies the second RGB data source and includes an optional pre-blend operation.
public Blend ColorDestinationBlendField Value
ColorSourceBlend
This Blend specifies the first RGB data source and includes an optional pre-blend operation.
public Blend ColorSourceBlendField Value
ColorWriteChannels
A write mask.
public ColorWriteChannels ColorWriteChannelsField Value
Methods
Equals(BlendStateRenderTargetDescription)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(BlendStateRenderTargetDescription other)Parameters
- otherBlendStateRenderTargetDescription
- An object to compare with this object. 
Returns
Equals(object)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object obj)Parameters
- objobject
- The object to compare with the current instance. 
Returns
- bool
- true if - objand this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()Returns
- int
- A 32-bit signed integer that is the hash code for this instance. 
Operators
operator ==(BlendStateRenderTargetDescription, BlendStateRenderTargetDescription)
public static bool operator ==(BlendStateRenderTargetDescription left, BlendStateRenderTargetDescription right)Parameters
Returns
operator !=(BlendStateRenderTargetDescription, BlendStateRenderTargetDescription)
public static bool operator !=(BlendStateRenderTargetDescription left, BlendStateRenderTargetDescription right)