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

Method ToStagingReadback

Source/Engine/Graphics/Textures/GPUTexture.cpp:138–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138GPUTextureDescription GPUTextureDescription::ToStagingReadback() const
139{
140 auto copy = *this;
141 copy.Flags = GPUTextureFlags::None;
142 copy.Usage = GPUResourceUsage::StagingReadback;
143 return copy;
144}
145
146GPUTextureDescription GPUTextureDescription::ToStaging() const
147{

Callers

nothing calls this directly

Calls 3

DeleteFunction · 0.85
CreateTextureMethod · 0.45
InitMethod · 0.45

Tested by

no test coverage detected