D3DX_B8G8R8X8_UNORM_SRGB_to_FLOAT3 function

Unpacks DXGI_FORMAT_B8G8R8X8_UNORM_SRGB shader data to an XMFLOAT3.

Syntax

XMFLOAT3 D3DX_B8G8R8X8_UNORM_SRGB_to_FLOAT3(
   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