Share via


SamplerStateManager.SrgbTexture Property (Microsoft.DirectX.Direct3D)

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.