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

Method ToStagingUpload

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

Source from the content-addressed store, hash-verified

128}
129
130GPUTextureDescription GPUTextureDescription::ToStagingUpload() const
131{
132 auto copy = *this;
133 copy.Flags = GPUTextureFlags::None;
134 copy.Usage = GPUResourceUsage::StagingUpload;
135 return copy;
136}
137
138GPUTextureDescription GPUTextureDescription::ToStagingReadback() const
139{

Callers

nothing calls this directly

Calls 3

DeleteFunction · 0.85
CreateTextureMethod · 0.45
InitMethod · 0.45

Tested by

no test coverage detected