D3DX_FLOAT4_to_R8G8B8A8_UNORM function

Unpacks DXGI_FORMAT_R8G8B8A8_UNORM shader data to an XMFLOAT4.

Syntax

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