Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ColorWriteChannels2 Property
Collapse the table of content
Expand the table of content

RenderState.ColorWriteChannels2 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)

public ColorWriteChannels ColorWriteChannels2 { get; set; }

Property Value

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

This property works in addition to the ColorWriteChannels property. Color writing is available if SupportsColorWrite is true.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

ADD
Show:
© 2015 Microsoft