SamplerStateManager.SrgbTexture Property

Language:

Determines whether to use gamma correction.

Definition

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

Property Value

System.Boolean
Value that is true if gamma correction is used, or false if it is not.

This property is read/write. 

Remarks

The default value is false.


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

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