Added some basic command buffer functions.
This commit is contained in:
parent
99821bf2f5
commit
4ab759b44d
@ -35,6 +35,10 @@ class CommandBuffer : public Object<CommandBuffer, BaseObject, CommandPool>, pub
|
||||
public:
|
||||
CommandBuffer(ObjectPtr<CommandPool> 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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user