ICommandQueueVk struct
Command queue interface.
Contents
- Reference
Base classes
- struct IObject
- Base interface for all dynamic objects in the engine.
Derived classes
-
template<typename Base>class RefCountedObject
- Base class for all reference counting objects.
Public functions
- auto GetNextFenceValue() const -> Uint64 METHOD() virtual
- Returns the fence value that will be signaled next time.
- auto SubmitCmdBuffer(VkCommandBuffer cmdBuffer) -> Uint64 METHOD() virtual
- Submits a given command buffer to the command queue.
- auto Submit(const VkSubmitInfo& SubmitInfo) -> Uint64 METHOD() virtual
- Submits a given chunk of work to the command queue.
- auto Present(const VkPresentInfoKHR& PresentInfo) -> VkResult METHOD() virtual
- Presents the current swap chain image on the screen.
- auto GetVkQueue() -> VkQueue METHOD() virtual
- Returns Vulkan command queue. May return VK_NULL_HANDLE if queue is anavailable.
- auto GetQueueFamilyIndex() const -> uint32_t METHOD() virtual
- Returns vulkan command queue family index.
- auto GetCompletedFenceValue() -> Uint64 METHOD() virtual
- Returns value of the last completed fence.
- auto WaitForIdle() -> Uint64 METHOD() virtual
- Blocks execution until all pending GPU commands are complete.
- auto SignalFence(VkFence vkFence) -> void METHOD() virtual
- Signals the given fence.
Function documentation
Uint64 METHOD() Diligent:: ICommandQueueVk:: SubmitCmdBuffer(VkCommandBuffer cmdBuffer) virtual
Submits a given command buffer to the command queue.
| Returns | Fence value associated with the submitted command buffer |
|---|
Uint64 METHOD() Diligent:: ICommandQueueVk:: WaitForIdle() virtual
Blocks execution until all pending GPU commands are complete.
| Returns | Last completed fence value |
|---|