Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ID3D11DeviceContext::ClearUnorderedAccessViewUint method (d3d11.h)

Clears an unordered access resource with bit-precise values.

Syntax

void ClearUnorderedAccessViewUint(
 [in] ID3D11UnorderedAccessView *pUnorderedAccessView,
 [in] const UINT [4] Values
);

Parameters

[in] pUnorderedAccessView

Type: ID3D11UnorderedAccessView*

The ID3D11UnorderedAccessView to clear.

[in] Values

Type: const UINT[4]

Values to copy to corresponding channels, see remarks.

Return value

None

Remarks

This API copies the lower ni bits from each array element i to the corresponding channel, where ni is the number of bits in the ith channel of the resource format (for example, R8G8B8_FLOAT has 8 bits for the first 3 channels). This works on any UAV with no format conversion. For a raw or structured buffer view, only the first array element value is used.

Requirements

Requirement Value
Target Platform Windows
Header d3d11.h
Library D3D11.lib

See also

ID3D11DeviceContext


Feedback

Was this page helpful?

Additional resources