SRGBTexture
Keywords: SRGBTexture, NVIDIA, NVIDIA Cg Toolkit, Cg Toolkit, Shader, Shader Programming, GPU Shader Programming, GPU Program

> ## Name

> SRGBTexture - 3D API gamma correction value

> ## Usage

> SRGBTexture = float(tex)

> ## Valid Enumerants

> tex: floating point value

> ## Description

> Specify whether gamma correction should be used. See the D3DSAMP_SRGBTEXTURE sampler state description for DirectX 9.

> The standard reset callback sets the SRGBTexture state to float(0).

> ## Opengl Functionality Requirements

> Not applicable.

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also