D3DX_INT2_to_R16G16_SINT function

Packs the given XMINT2 back into a DXGI_FORMAT_R16G16_SINT.

Syntax

UINT D3DX_INT2_to_R16G16_SINT(
   hlsl_precise XMINT2 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