D3DX_FLOAT3_to_B8G8R8X8_UNORM_SRGB function
Packs the given XMFLOAT3 back into a DXGI_FORMAT_B8G8R8X8_UNORM_SRGB.
Syntax
UINT D3DX_FLOAT3_to_B8G8R8X8_UNORM_SRGB(
hlsl_precise XMFLOAT3 unpackedInput
);
Parameters
-
unpackedInput
-
The shader data to pack.
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