D3DX_FLOAT2_to_R16G16_FLOAT function
Packs the given XMFLOAT2 back into a DXGI_FORMAT_R16G16_FLOAT.
Syntax
UINT D3DX_FLOAT2_to_R16G16_FLOAT(
XMFLOAT2 unpackedInput
);
Parameters
-
unpackedInput
-
The unpacked shader data.
Return value
The packed shader data.
Requirements
Requirement | Value |
---|---|
Header |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for