次の方法で共有


GraphicsDeviceCapabilities.PrimitiveCaps.SupportsColorWrite Property

Gets a value indicating whether the device supports per-channel writes for the render-target color buffer through the ColorWriteChannels state.

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

Syntax

public bool SupportsColorWrite { get; }

Property Value

true if the device supports per-channel writes; false otherwise.

See Also

Reference

GraphicsDeviceCapabilities.PrimitiveCaps Structure
GraphicsDeviceCapabilities.PrimitiveCaps Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista