Add cpp file for all classes

This commit is contained in:
Thraix
2023-02-07 20:58:58 +01:00
parent c2e349eb56
commit ef4eb7dd2f
53 changed files with 2424 additions and 2043 deletions
+3 -11
View File
@@ -5,20 +5,12 @@
namespace Copium
{
class CommandBufferScoped : public CommandBuffer
class CommandBufferScoped final : public CommandBuffer
{
CP_DELETE_COPY_AND_MOVE_CTOR(CommandBufferScoped);
public:
CommandBufferScoped(Instance& instance)
: CommandBuffer{instance, Type::SingleUse}
{
CommandBuffer::Begin();
}
CommandBufferScoped(Instance& instance);
~CommandBufferScoped()
{
CommandBuffer::End();
CommandBuffer::Submit();
}
~CommandBufferScoped() override;
};
}