ID3D11DeviceContext::ClearUnorderedAccessViewUint Method

Clears an unordered access resource with bit-precise values.

Syntax

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

Parameter

Rückgabewert

Returns nothing.

Hinweise

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.

Anforderungen

Header

D3D11.h

Bibliothek

D3D11.lib