ID3D11DeviceContext::ClearUnorderedAccessViewFloat method (d3d11.h)
Clears an unordered access resource with a float value.
Syntax
void ClearUnorderedAccessViewFloat(
[in] ID3D11UnorderedAccessView *pUnorderedAccessView,
[in] const FLOAT [4] Values
);
Parameters
[in] pUnorderedAccessView
Type: ID3D11UnorderedAccessView*
The ID3D11UnorderedAccessView to clear.
[in] Values
Type: const FLOAT[4]
Values to copy to corresponding channels, see remarks.
Return value
None
Remarks
This API works on FLOAT, UNORM, and SNORM unordered access views (UAVs), with format conversion from FLOAT to *NORM where appropriate. On other UAVs, the operation is invalid and the call will not reach the driver.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d11.h |
Library | D3D11.lib |
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