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/vk/CommandBuffer.h>
33 virtual VkResult start();
39 Semaphores waitSemaphores;
40 CommandGraphs commandGraphs;
41 Semaphores signalSemaphores;
53 size_t index(
size_t relativeFrameIndex = 0)
const;
63 size_t _currentFrameIndex;
64 std::vector<size_t> _indices;
65 std::vector<ref_ptr<Fence>> _fences;
69 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:27
void advance()
advance the currentFrameIndex
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