| 362 | } |
| 363 | |
| 364 | RenderCommand* ImGuiDrawing::RetrieveCommandFromPool() |
| 365 | { |
| 366 | bool commandAdded = false; |
| 367 | RenderCommand* retrievedCommand = RenderResources::GetRenderCommandPool().RetrieveOrAdd(imguiShaderProgram_.get(), commandAdded); |
| 368 | if (commandAdded) { |
| 369 | SetupRenderCommand(*retrievedCommand); |
| 370 | } |
| 371 | return retrievedCommand; |
| 372 | } |
| 373 | |
| 374 | void ImGuiDrawing::SetupRenderCommand(RenderCommand& cmd) |
| 375 | { |
nothing calls this directly
no test coverage detected