RenderStateManager.ColorWriteEnable1 Property |
Language: |
Retrieves or sets additional RenderStateManager.ColorWriteEnable values for the device.
Visual Basic Public Property ColorWriteEnable1 As ColorWriteEnable C# public ColorWriteEnable ColorWriteEnable1 { get; set; } C++ public:
property ColorWriteEnable ColorWriteEnable1 {
ColorWriteEnable get();
void set(ColorWriteEnable value);
}JScript public function get ColorWriteEnable1() : ColorWriteEnable
public function set ColorWriteEnable1(ColorWriteEnable);
Microsoft.DirectX.Direct3D.ColorWriteEnable
This property is read/write.
Value of the ColorWriteEnable enumeration that specifies the color channel(s) to write enable.
The ColorWriteEnable1 property is available if 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.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.