Condividi tramite


RenderStateManager.ColorWriteEnable Property

Retrieves or sets a value that enables a per-channel write for the render target color buffer.

Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

Syntax

'Declaration
Public Property ColorWriteEnable As ColorWriteEnable
'Usage
Dim instance As RenderStateManager
Dim value As ColorWriteEnable

value = instance.ColorWriteEnable

instance.ColorWriteEnable = value
public ColorWriteEnable ColorWriteEnable { get; set; }
public:
property ColorWriteEnable ColorWriteEnable {
    ColorWriteEnable get ();
    void set (ColorWriteEnable value);
}
/** @property */
public ColorWriteEnable get_ColorWriteEnable ()

/** @property */
public void set_ColorWriteEnable (ColorWriteEnable value)
public function get ColorWriteEnable () : ColorWriteEnable

public function set ColorWriteEnable (value : ColorWriteEnable)
Not applicable.

Property Value

Value of the ColorWriteEnable enumeration that specifies the color channel to set or retrieve.

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

RenderStateManager Class
RenderStateManager Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace