Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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 |