ID3D11DeviceContext::CSGetUnorderedAccessViews Method

Gets an array of views for an unordered resource.

Syntax

public:
void CSGetUnorderedAccessViews(
         UINT StartSlot,
         UINT NumUAVs,
         ID3D11UnorderedAccessView **ppUnorderedAccessViews
)  

Parameters

StartSlot
Type: UINT 

[in] Index of the first element in the zero-based array to return (ranges from 0 to D3D11_PS_CS_UAV_REGISTER_COUNT - 1).

NumUAVs
Type: UINT 

[in] Number of views to get (ranges from 0 to D3D11_PS_CS_UAV_REGISTER_COUNT - StartSlot).

ppUnorderedAccessViews
Type: ID3D11UnorderedAccessView **

[out, optional] A pointer to an array of interface pointers (see ID3D11UnorderedAccessView) to get.

Return value

None.

Remarks

Any returned interfaces will have their reference count incremented by one. Applications should call IUnknown::Release on the returned interfaces when they are no longer needed to avoid memory leaks.

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