Construct a render engine instance @param w the owning world for this engine instance */
| 39 | @param w the owning world for this engine instance |
| 40 | */ |
| 41 | RenderEngine::RenderEngine(const WeakRef<World>& w) : world(w) { |
| 42 | //call Init() |
| 43 | Init(); |
| 44 | |
| 45 | // Get command queue to record and submit command buffers |
| 46 | queue = renderer->GetCommandQueue(); |
| 47 | |
| 48 | // Create command buffer to submit subsequent graphics commands to the GPU |
| 49 | commands = renderer->CreateCommandBuffer(); |
| 50 | } |
| 51 | |
| 52 | |
| 53 | RavEngine::RenderEngine::~RenderEngine() |
nothing calls this directly
no test coverage detected