Split CommandBuffer into Auto and normal variants

This commit is contained in:
Lynix
2020-03-26 21:09:58 +01:00
parent 91a5e70ac5
commit e53e15d1aa
7 changed files with 123 additions and 13 deletions

View File

@@ -32,11 +32,6 @@ namespace Nz
commandBuffer.m_handle = VK_NULL_HANDLE;
}
inline CommandBuffer::~CommandBuffer()
{
Free();
}
inline bool CommandBuffer::Begin(const VkCommandBufferBeginInfo& info)
{
m_lastErrorCode = m_pool->GetDevice()->vkBeginCommandBuffer(m_handle, &info);