ID3D11DeviceContext1_ClearView_Proxy

Proxy function for ID3D11DeviceContext1::ClearView, which sets all the elements in a resource view to one value.

Syntax

void ID3D11DeviceContext1_ClearView_Proxy(
         ID3D11DeviceContext1 *This,
         ID3D11View *pView,
         const FLOAT Color[4],
         const D3D11_RECT *pRect,
         UINT NumRects
)  

Parameters

This
Type: ID3D11DeviceContext1 *

A pointer to the current instance of ID3D11DeviceContext1.

pView
Type: ID3D11View *

[in] A pointer to the ID3D11View interface that represents the resource view to clear.

Color
Type: FLOAT 

[in] A 4-component array that represents the color to use to clear the resource view.

pRect
Type: D3D11_RECT *

[in, optional] An array of D3D11_RECT structures for the rectangles in the resource view to clear. If NULL, ID3D11DeviceContext1_ClearView_Proxy clears the entire surface.

NumRects
Type: UINT 

Number of rectangles in the array that the pRect parameter specifies.

Return value

None.

Remarks

See ID3D11DeviceContext1::ClearView.

Requirements

Header: Declared in d3d11_1.h.

Library: Use d3d11.lib.