15#include <vsg/app/CommandGraph.h>
16#include <vsg/app/TransferTask.h>
17#include <vsg/app/Window.h>
18#include <vsg/io/DatabasePager.h>
19#include <vsg/nodes/Group.h>
20#include <vsg/utils/Instrumentation.h>
21#include <vsg/vk/CommandBuffer.h>
34 virtual VkResult start();
40 Semaphores waitSemaphores;
41 CommandGraphs commandGraphs;
42 Semaphores signalSemaphores;
54 size_t index(
size_t relativeFrameIndex = 0)
const;
70 size_t _currentFrameIndex;
71 std::vector<size_t> _indices;
72 std::vector<ref_ptr<Fence>> _fences;
76 using RecordAndSubmitTasks = std::vector<ref_ptr<RecordAndSubmitTask>>;
Device encapsulates VkDevice, a logical handle to the PhysicalDevice with capabilities specified duri...
Definition Device.h:37
RecordAndSubmitTask manages the recording of its list of CommandGraph to CommandBuffer which are then...
Definition RecordAndSubmitTask.h:28
void advance()
advance the currentFrameIndex
ref_ptr< Instrumentation > instrumentation
hook for assigning Instrumentation to enable profiling of record traversal.
Definition RecordAndSubmitTask.h:64
void assignInstrumentation(ref_ptr< Instrumentation > in_instrumentation)
Convenience method for assigning Instrumentation to the viewer and any associated objects.
size_t index(size_t relativeFrameIndex=0) const
return the fence index value for relativeFrameIndex where 0 is current frame, 1 is previous frame etc...
Fence * fence(size_t relativeFrameIndex=0)
fence() and fence(0) return the Fence for the frame currently being rendered, fence(1) returns the pr...
Definition CompileManager.h:24