D3DX_R16G16_SNORM_to_FLOAT2 function

Unpacks DXGI_FORMAT_R16G16_SNORM shader data to an XMFLOAT2.

Syntax

XMFLOAT2 D3DX_R16G16_SNORM_to_FLOAT2(
   UINT packedInput
);

Parameters

packedInput

The packed shader data.

Return value

The unpacked shader data.

Requirements

Requirement Value
Header
D3DX_DXGIFormatConvert.inl

See also

Functions

Unpacking and Packing DXGI_FORMAT for In-Place Image Editing