Table of Contents

Struct BlendStateRenderTargetDescription

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

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

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

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

Blend

BlendEnable

Enable (or disable) blending.

public bool BlendEnable

Field Value

bool

ColorBlendFunction

This BlendFunction defines how to combine the RGB data sources.

public BlendFunction ColorBlendFunction

Field Value

BlendFunction

ColorDestinationBlend

This Blend specifies the second RGB data source and includes an optional pre-blend operation.

public Blend ColorDestinationBlend

Field Value

Blend

ColorSourceBlend

This Blend specifies the first RGB data source and includes an optional pre-blend operation.

public Blend ColorSourceBlend

Field Value

Blend

ColorWriteChannels

A write mask.

public ColorWriteChannels ColorWriteChannels

Field Value

ColorWriteChannels

Methods

Equals(BlendStateRenderTargetDescription)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(BlendStateRenderTargetDescription other)

Parameters

other BlendStateRenderTargetDescription

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object obj)

Parameters

obj object

The 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

left BlendStateRenderTargetDescription
right BlendStateRenderTargetDescription

Returns

bool

operator !=(BlendStateRenderTargetDescription, BlendStateRenderTargetDescription)

public static bool operator !=(BlendStateRenderTargetDescription left, BlendStateRenderTargetDescription right)

Parameters

left BlendStateRenderTargetDescription
right BlendStateRenderTargetDescription

Returns

bool