RenderStateManager.ColorWriteEnable3 Property

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves or sets additional RenderStateManager.ColorWriteEnable values for devices.

Definition

Visual Basic .NET Public Property ColorWriteEnable3 As ColorWriteEnable
C# public ColorWriteEnable ColorWriteEnable3 { get; set; }
Managed C++ public: __property ColorWriteEnable get_ColorWriteEnable3();
public: __property void set_ColorWriteEnable3(ColorWriteEnable);
JScript .NET public function get ColorWriteEnable3() : ColorWriteEnable
public function set ColorWriteEnable3(ColorWriteEnable);

Property Value

Microsoft.DirectX.Direct3D.ColorWriteEnable . Value of the ColorWriteEnable enumeration that specifies the color channel(s) to write enable.

This property is read/write. 

Remarks

The ColorWriteEnable3 property is available if the MiscCaps.SupportsIndependentWriteMasks is set in Caps.PrimitiveMiscCaps for the device.

Pixel shader color output registers (oC#) are write-only registers that output results to multiple render targets. The ColorWriteEnable* properties determine which components of oC# ultimately get written to the render target (after blend, if applicable).

Use the additional ColorWriteEnable* properties if the device supports independent write masks for multiple element textures or multiple render targets.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.