Share via


RenderStateManager.SrgbWriteEnable Property (Microsoft.DirectX.Direct3D)

Retrieves or sets a render state that enables render-target writes to be gamma corrected to sRGB.

Definition

Visual Basic Public Property SrgbWriteEnable As Boolean
C# public bool SrgbWriteEnable { get; set; }
C++ public:
property bool SrgbWriteEnable {
        bool get();
        void set(bool value);
}
JScript public function get SrgbWriteEnable() : boolean
public function set SrgbWriteEnable(boolean);

Property Value

System.Boolean
Set to true to enable sRGB writes, or false to disable it. The default value is false.

This property is read/write.