Bagikan melalui


GraphicsDeviceCapabilities.BlendCaps.SupportsInverseSourceColor Property

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

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

Syntax

public bool SupportsInverseSourceColor { get; }

Property Value

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

Remarks

The Blend.InverseSourceColor blend factor is (1 − Rs, 1 − Gs, 1 − Bs, 1 − As) where R, G, B, and A respectively stand for the red, green, blue, and alpha destination values.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista