D3DX_FLOAT2_to_R16G16_UNORM function
Packs the given XMFLOAT2 back into a DXGI_FORMAT_R16G16_UNORM.
Syntax
UINT D3DX_FLOAT2_to_R16G16_UNORM(
XMFLOAT2 unpackedInput
);
Parameters
-
unpackedInput
-
The unpacked shader data.
Return value
The packed shader data.
Requirements
Requirement | Value |
---|---|
Header |
|