Bagikan melalui


GraphicsDeviceCapabilities.BlendCaps.SupportsBothInverseSourceAlpha Property

Gets a value indicating that the driver supports the Blend.BothInverseSourceAlpha blend mode.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public bool SupportsBothInverseSourceAlpha { get; }

Property Value

true if the driver supports the Blend.BothInverseSourceAlpha blend mode; false otherwise.

Remarks

Source blend factor is (1 − As, 1 − As, 1 − As, 1 − As), and destination blend factor is (As, As, As, As); the destination blend selection is overridden. This blend mode is supported only for the SourceBlend render state.

See Also

Reference

GraphicsDeviceCapabilities.BlendCaps Structure
GraphicsDeviceCapabilities.BlendCaps Members
Blend.BothInverseSourceAlpha
DestinationBlendCapabilities
SourceBlendCapabilities
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista