Add file structure to code
- Rename project to CopiumEngine
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#include "copium/buffer/CommandBufferScoped.h"
|
||||
|
||||
namespace Copium
|
||||
{
|
||||
CommandBufferScoped::CommandBufferScoped(Instance& instance)
|
||||
: CommandBuffer{instance, Type::SingleUse}
|
||||
{
|
||||
CommandBuffer::Begin();
|
||||
}
|
||||
|
||||
CommandBufferScoped::~CommandBufferScoped()
|
||||
{
|
||||
CommandBuffer::End();
|
||||
CommandBuffer::Submit();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user