MakeSRGB

Converts the DXGI format to an equivalent sRGB format, if one exists.

Syntax

DXGI_FORMAT MakeSRGB(
         DXGI_FORMAT fmt
)  

Parameters

fmt
Type: DXGI_FORMATĀ 

[in] One member of the DXGI_FORMAT enumeration.ration.

Return value

Type: DXGI_FORMATĀ 

One member of the DXGI_FORMAT enumeration.

Requirements

Header: Declared in directxtex.h.