ID3D12XboxDmaCommandList::ResourceBarrier Method

Notifies the driver that it needs to synchronize multiple accesses to resources, such as synchronizing reading and writing to the same texture.

Syntax

public:
void ResourceBarrier(
         UINT NumBarriers,
         const D3D12_RESOURCE_BARRIER *pBarriers
)  

Parameters

NumBarriers
Type: UINT 

[in] The number of submitted barrier descriptions.

pBarriers
Type: D3D12_RESOURCE_BARRIER *

[in] An array of resource barrier descriptions, as a pointer to a D3D12_RESOURCE_BARRIER structure.

Return value

None.

Remarks

In Differences Between Direct3D 12 on a Windows PC and Xbox One, see the section “Resource Barriers”.

Related methods:

Requirements

Header: Declared in d3d12_x.h.

Library: Use d3d12_x.lib.

See also

Reference

ID3D12XboxDmaCommandList Interface

ID3D12XboxDmaCommandList Members