D3DX_UINT4_to_R10G10B10A2_UINT function

Packs the given XMINT4 back into a DXGI_FORMAT_R10G10B10A2_UINT.

Syntax

UINT D3DX_UINT4_to_R10G10B10A2_UINT(
   hlsl_precise XMINT4 unpackedInput
);

Parameters

unpackedInput

The shader data to pack.

Return value

The packed shader data.

Requirements

Requirement Value
Header
D3DX_DXGIFormatConvert.inl

See also

Functions

Unpacking and Packing DXGI_FORMAT for In-Place Image Editing