Rendering statistics view (#3322)

Co-authored-by: Bart Louwers <bart@emeel.net>
This commit is contained in:
Adrian Cojocaru
2025-06-03 18:59:51 +03:00
committed by GitHub
parent 3c07cacc4d
commit 2a7249a3b0
81 changed files with 1271 additions and 128 deletions

View File

@@ -15,9 +15,7 @@ namespace mtl {
CommandEncoder::CommandEncoder(Context& context_)
: context(context_) {}
CommandEncoder::~CommandEncoder() {
context.performCleanup();
}
CommandEncoder::~CommandEncoder() {}
std::unique_ptr<gfx::UploadPass> CommandEncoder::createUploadPass(const char* name, gfx::Renderable& renderable) {
return std::make_unique<UploadPass>(renderable, *this, name);