次の方法で共有


GraphicsDeviceCapabilities.BlendCaps.SupportsBothSourceAlpha Property

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

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

Syntax

public bool SupportsBothSourceAlpha { get; }

Property Value

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

Remarks

This mode is obsolete. For DirectX 6 and later, you can achieve the same effect by setting the source and destination blend factors to Blend.SourceAlpha and Blend.InverseSourceAlpha in separate calls.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista