More threadpool bs
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user