ClearUnorderedAccessViewFloat
End
Map
TOC
Collapse the table of content
Expand the table of content

ID3D11DeviceContext::ClearUnorderedAccessViewFloat method

Clears an unordered access resource with a float value.

Syntax


void ClearUnorderedAccessViewFloat(
  [in]       ID3D11UnorderedAccessView *pUnorderedAccessView,
  [inconst 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.

Requirements

Header

D3D11.h

Library

D3D11.lib

See also

ID3D11DeviceContext

 

 

Show:
© 2016 Microsoft