MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / UAVBarrier

Method UAVBarrier

SampleFramework12/v1.00/Graphics/GraphicsTypes.cpp:338–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336}
337
338void Buffer::UAVBarrier(ID3D12GraphicsCommandList* cmdList) const
339{
340 Assert_(Resource != nullptr);
341 D3D12_RESOURCE_BARRIER barrier = { };
342 barrier.Type = D3D12_RESOURCE_BARRIER_TYPE_UAV;
343 barrier.Flags = D3D12_RESOURCE_BARRIER_FLAG_NONE;
344 barrier.UAV.pResource = Resource;
345 cmdList->ResourceBarrier(1, &barrier);
346}
347
348#if UseAsserts_
349

Callers 1

RenderClustersMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected