More threadpool bs

This commit is contained in:
Dynamitos
2021-12-02 13:00:03 +01:00
parent 5fafdda770
commit 9e3a2446ce
37 changed files with 488 additions and 541 deletions
@@ -60,4 +60,14 @@ void MeshProcessor::buildMeshDrawCommand(
drawCommand->bindIndexBuffer(element.indexBuffer);
drawCommand->draw(element);
}
}
}
Array<Gfx::PRenderCommand> MeshProcessor::getRenderCommands()
{
return renderCommands;
}
void MeshProcessor::clearCommands()
{
renderCommands.clear();
}