ID3D12CommandList::SetGraphicsRootUnorderedAccessViewSingleUse method

[This documentation is preliminary and is subject to change.]

Sets a single-use unordered-access-view in the graphics root signature.

Syntax


void SetGraphicsRootUnorderedAccessViewSingleUse(
  [in]            UINT RootParameterIndex,
  [in, optional]  ID3D12Resource *pResource,
  [in]            const D3D12_UNORDERED_ACCESS_VIEW_DESC *pDesc
);

Parameters

RootParameterIndex [in]

Type: UINT

The slot number for binding.

pResource [in, optional]

Type: ID3D12Resource*

A pointer to the ID3D12Resource interface that represents the unordered-access-view resource to set.

pDesc [in]

Type: const D3D12_UNORDERED_ACCESS_VIEW_DESC*

A pointer to a D3D12_UNORDERED_ACCESS_VIEW_DESC structure that describes the unordered-access-view to set in the root signature.

Return value

Returns nothing.

Requirements

Header

D3D12.h

Library

D3D12.lib

DLL

D3D12.dll

See also

ID3D12CommandList

 

 

Show: