![]() |
Raven Engine v0.1
|
Vulkan-specific implementation of a RenderCommandBuffer. More...
#include <VulkanCommandBuffer.h>
Public Member Functions | |
| VulkanCommandBuffer (VkCommandBuffer cmdBuffer) | |
| Construct a VulkanCommandBuffer from a raw VkCommandBuffer handle. | |
| void | Begin () override |
| Begins recording commands into the Vulkan command buffer. | |
| void | End () override |
| Ends command recording. | |
| VkCommandBuffer | GetVulkanCommandBuffer () const |
| Retrieves the underlying Vulkan command buffer handle. | |
| void | Reset () override |
| Resets the command buffer to an initial state, ready for re-recording. | |
| Public Member Functions inherited from Raven::RenderCommandBuffer | |
| virtual | ~RenderCommandBuffer ()=default |
| Public Member Functions inherited from Raven::Castable< RenderCommandBuffer > | |
| T & | As () |
| Non-const version of As<T>(), for casting to a non-const target type. | |
Vulkan-specific implementation of a RenderCommandBuffer.
Wraps a VkCommandBuffer handle and provides command recording lifecycle management.
|
inline |
Construct a VulkanCommandBuffer from a raw VkCommandBuffer handle.
| cmdBuffer | Vulkan command buffer handle to wrap. |
|
overridevirtual |
Begins recording commands into the Vulkan command buffer.
Overrides the base RenderCommandBuffer Begin method.
Implements Raven::RenderCommandBuffer.
|
overridevirtual |
Ends command recording.
Overrides the base RenderCommandBuffer End method.
Implements Raven::RenderCommandBuffer.
|
inline |
Retrieves the underlying Vulkan command buffer handle.
|
overridevirtual |
Resets the command buffer to an initial state, ready for re-recording.
Overrides the base RenderCommandBuffer Reset method.
Implements Raven::RenderCommandBuffer.