Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Packs the given XMFLOAT4 back into a DXGI_FORMAT_R10G10B10A2_UNORM.
Syntax
UINT D3DX_FLOAT4_to_R10G10B10A2_UNORM(
hlsl_precise XMFLOAT4 unpackedInput
);
Parameters
-
unpackedInput
-
The shader data to pack.
Return value
The packed shader data.
Requirements
Requirement | Value |
---|---|
Header |
|