Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D11DeviceContext::ClearUnorderedAccessViewFloat method

Clears an unordered access resource with a float value.

Syntax


void ClearUnorderedAccessViewFloat(
  [in]  ID3D11UnorderedAccessView *pUnorderedAccessView,
  [in]  const FLOAT Values[4]
);

Parameters

pUnorderedAccessView [in]

Type: ID3D11UnorderedAccessView*

The ID3D11UnorderedAccessView to clear.

Values [in]

Type: const FLOAT[4]

Values to copy to corresponding channels, see remarks.

Return value

Returns nothing.

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.

Windows Phone 8: This API is supported.

Requirements

Header

D3D11.h

Library

D3D11.lib

 

 

Community Additions

Show:
© 2014 Microsoft