MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / ToStagingReadback

Method ToStagingReadback

Source/Engine/Graphics/GPUBuffer.cpp:108–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108GPUBufferDescription GPUBufferDescription::ToStagingReadback() const
109{
110 auto desc = *this;
111 desc.Usage = GPUResourceUsage::StagingReadback;
112 desc.Flags = GPUBufferFlags::None;
113 desc.InitData = nullptr;
114 return desc;
115}
116
117GPUBufferDescription GPUBufferDescription::ToStaging() const
118{

Callers 4

RenderInnerMethod · 0.45
saveStateMethod · 0.45
DownloadDataAsyncMethod · 0.45
runMethod · 0.45

Calls 4

DeleteFunction · 0.85
CreateBufferMethod · 0.45
InitMethod · 0.45
ReleaseGPUMethod · 0.45

Tested by

no test coverage detected