MCPcopy Create free account
hub / github.com/TheRealMJP/DXRPathTracer / MakeReadable

Method MakeReadable

SampleFramework12/v1.02/Graphics/GraphicsTypes.cpp:402–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400}
401
402void Buffer::MakeReadable(ID3D12GraphicsCommandList* cmdList) const
403{
404 Assert_(Resource != nullptr);
405 DX12::TransitionResource(cmdList, Resource, D3D12_RESOURCE_STATE_UNORDERED_ACCESS, D3D12_RESOURCE_STATE_GENERIC_READ);
406}
407
408void Buffer::MakeWritable(ID3D12GraphicsCommandList* cmdList) const
409{

Callers 6

BloomMethod · 0.80
RenderSunShadowMapMethod · 0.80
RenderClustersMethod · 0.80
RenderResolveMethod · 0.80
ConvertShadowMapFunction · 0.80

Calls 2

TransitionResourceFunction · 0.85
RTReadStateFunction · 0.85

Tested by

no test coverage detected