End
Map
Expand Minimize
This topic has not yet been rated - Rate this topic

ID3D11DeviceContext::ClearUnorderedAccessViewUint method

Clears an unordered access resource with bit-precise values.

Syntax


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

Parameters

pUnorderedAccessView [in]

Type: ID3D11UnorderedAccessView*

The ID3D11UnorderedAccessView to clear.

Values[4] [in]

Type: const UINT

Values to copy to corresponding channels, see remarks.

Return value

Returns nothing.

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.

Windows Phone 8: This API is supported.

Requirements

Header

D3D11.h

Library

D3D11.lib

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.