ID3D11DeviceContext::CSSetUnorderedAccessViews method

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.
0 out of 1 rated this helpful - Rate this topic

Sets an array of views for an unordered resource.

Syntax


void CSSetUnorderedAccessViews(
  [in]  UINT StartSlot,
  [in]  UINT NumUAVs,
  [in]  ID3D11UnorderedAccessView *const *ppUnorderedAccessViews,
  [in]  const UINT *pUAVInitialCounts
);

Parameters

StartSlot [in]

Type: UINT

Index of the first element in the zero-based array to begin setting (ranges from 0 to D3D11_1_UAV_SLOT_COUNT - 1). D3D11_1_UAV_SLOT_COUNT is defined as 64.

NumUAVs [in]

Type: UINT

Number of views to set (ranges from 0 to D3D11_1_UAV_SLOT_COUNT - StartSlot).

ppUnorderedAccessViews [in]

Type: ID3D11UnorderedAccessView*

A pointer to an array of ID3D11UnorderedAccessView pointers to be set by the method.

pUAVInitialCounts [in]

Type: const UINT*

An array of append and consume buffer offsets. A value of -1 indicates to keep the current offset. Any other values set the hidden counter for that appendable and consumable UAV. pUAVInitialCounts is only relevant for UAVs that were created with either D3D11_BUFFER_UAV_FLAG_APPEND or D3D11_BUFFER_UAV_FLAG_COUNTER specified when the UAV was created; otherwise, the argument is ignored.

Return value

This method does not return a value.

Remarks

Windows Phone 8: This API is supported.

Requirements

Header

D3D11.h

Library

D3D11.lib

See also

ID3D11DeviceContext

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.