diff --git a/include/iwa/command.hpp b/include/iwa/command.hpp index 1d18c22..6702b8f 100644 --- a/include/iwa/command.hpp +++ b/include/iwa/command.hpp @@ -35,6 +35,10 @@ class CommandBuffer : public Object, pub public: CommandBuffer(ObjectPtr owner, vk::CommandBuffer handle); ~CommandBuffer() noexcept override; + + void begin(const vk::CommandBufferBeginInfo& beginInfo = {}) const noexcept { getVkHandle().begin(beginInfo); } + void end() const noexcept { getVkHandle().end(); } + void reset() const noexcept { getVkHandle().reset(); } }; } // namespace iwa