MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / RenderEngine

Method RenderEngine

src/RenderEngine.cpp:41–50  ·  view source on GitHub ↗

Construct a render engine instance @param w the owning world for this engine instance */

Source from the content-addressed store, hash-verified

39@param w the owning world for this engine instance
40*/
41RenderEngine::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
53RavEngine::RenderEngine::~RenderEngine()

Callers

nothing calls this directly

Calls 2

GetCommandQueueMethod · 0.45
CreateCommandBufferMethod · 0.45

Tested by

no test coverage detected