RenderStateManager.SrgbWriteEnable Property

Language:

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. 

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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