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 AlphaBlendFunction
Field 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 AlphaDestinationBlend
Field 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 AlphaSourceBlend
Field Value
BlendEnable
Enable (or disable) blending.
public bool BlendEnable
Field Value
ColorBlendFunction
This BlendFunction defines how to combine the RGB data sources.
public BlendFunction ColorBlendFunction
Field Value
ColorDestinationBlend
This Blend specifies the second RGB data source and includes an optional pre-blend operation.
public Blend ColorDestinationBlend
Field Value
ColorSourceBlend
This Blend specifies the first RGB data source and includes an optional pre-blend operation.
public Blend ColorSourceBlend
Field Value
ColorWriteChannels
A write mask.
public ColorWriteChannels ColorWriteChannels
Field Value
Methods
Equals(BlendStateRenderTargetDescription)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(BlendStateRenderTargetDescription other)
Parameters
other
BlendStateRenderTargetDescriptionAn 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
obj
objectThe object to compare with the current instance.
Returns
- bool
true if
obj
and 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)