Bagikan melalui


GraphicsDeviceCapabilities.BlendCaps.SupportsSourceColor Property

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

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

Syntax

public bool SupportsSourceColor { get; }

Property Value

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

Remarks

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

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista