ID3D11DeviceContext::ClearUnorderedAccessViewFloat Method

Clears an unordered access resource with a float value.

Syntax

public:
void ClearUnorderedAccessViewFloat(
         ID3D11UnorderedAccessView *pUnorderedAccessView,
         const FLOAT Values[4]
)  

Parameters

pUnorderedAccessView
Type: ID3D11UnorderedAccessView *

[in] The ID3D11UnorderedAccessView to clear.

Values
Type: FLOAT 

[in] Values to copy to corresponding channels, see remarks.

Return value

None.

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: Declared in d3d11_x.h (d3d11.h on other Windows platforms).

Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).

See also

ID3D11DeviceContext

ID3D11DeviceContext Members