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();
34 virtual VkResult record(CommandBuffers& recordedCommandBuffers,
ref_ptr<FrameStamp> frameStamp);
35 virtual VkResult finish(CommandBuffers& recordedCommandBuffers);
39 Semaphores waitSemaphores;
40 CommandGraphs commandGraphs;
41 Semaphores signalSemaphores;
49 size_t index(
size_t relativeFrameIndex = 0)
const;
59 size_t _currentFrameIndex;
60 std::vector<size_t> _indices;
61 std::vector<ref_ptr<Fence>> _fences;
65 using RecordAndSubmitTasks = std::vector<ref_ptr<RecordAndSubmitTask>>;
Device encapsulate vkDeivce, a logical handle to the PhysicalDevice with capabilities specified durin...
Definition: Device.h:37
RecordAndSubmitTask manages the recording of it's list of CommanGraph 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) return the pre...
Definition: CompileManager.h:24