D3DX_R16G16_FLOAT_to_FLOAT2 function
Unpacks DXGI_FORMAT_B8G8R8X8_UNORM_SRGB shader data to an XMFLOAT2.
Syntax
XMFLOAT2 D3DX_R16G16_FLOAT_to_FLOAT2(
UINT packedInput
);
Parameters
-
packedInput
-
The packed shader data.
Return value
The unpacked shader data.
Requirements
Requirement | Value |
---|---|
Header |
|