D3DX_R8G8B8A8_SNORM_to_FLOAT4 function

Unpacks DXGI_FORMAT_R8G8B8A8_SNORM shader data to an XMFLOAT4.

Syntax

XMFLOAT4 D3DX_R8G8B8A8_SNORM_to_FLOAT4(
   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