D3DX_Saturate_FLOAT function

Retrieves the saturated value of the given FLOAT.

Syntax

FLOAT D3DX_Saturate_FLOAT(
   FLOAT _V
);

Parameters

_V

The value to saturate.

Return value

The saturated value.

Requirements

Requirement Value
Header
D3DX_DXGIFormatConvert.inl

See also

Functions

Unpacking and Packing DXGI_FORMAT for In-Place Image Editing