RenderStateManager.SrgbWriteEnable Property

Language:

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

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

Definition

Visual Basic .NET Public Property SrgbWriteEnable As Boolean
C# public bool SrgbWriteEnable { get; set; }
Managed C++ public: __property bool get_SrgbWriteEnable();
public: __property void set_SrgbWriteEnable(bool);
JScript .NET 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. 

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

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