次の方法で共有


RenderState.ColorWriteChannels Property

Gets or sets a value that enables a per-channel write for the render target color buffer. The default value is ColorWriteChannels.None.

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

Syntax

public ColorWriteChannels ColorWriteChannels { get; set; }

Property Value

Value of the ColorWriteChannels enumeration that specifies the color channel to set or get.

Remarks

Color writing is available if SupportsColorWrite is true.

See Also

Reference

RenderState Class
RenderState Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista