827572eada
- Rename project to CopiumEngine
17 lines
325 B
C++
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();
|
|
}
|
|
}
|