Files
Copium/CopiumEngine/src/copium/buffer/CommandBufferScoped.cpp
T
Thraix 827572eada Add file structure to code
- Rename project to CopiumEngine
2023-02-07 21:43:47 +01:00

17 lines
325 B
C++

#include "copium/buffer/CommandBufferScoped.h"
namespace Copium
{
CommandBufferScoped::CommandBufferScoped(Instance& instance)
: CommandBuffer{instance, Type::SingleUse}
{
CommandBuffer::Begin();
}
CommandBufferScoped::~CommandBufferScoped()
{
CommandBuffer::End();
CommandBuffer::Submit();
}
}