Add command buffers (WIP)
This commit is contained in:
21
include/Nazara/Renderer/CommandBufferBuilder.inl
Normal file
21
include/Nazara/Renderer/CommandBufferBuilder.inl
Normal file
@@ -0,0 +1,21 @@
|
||||
// Copyright (C) 2020 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Utility module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Renderer/CommandBufferBuilder.hpp>
|
||||
#include <Nazara/Renderer/Debug.hpp>
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
inline void CommandBufferBuilder::CopyBuffer(const RenderBufferView& from, const RenderBufferView& to)
|
||||
{
|
||||
return CopyBuffer(from, to, from.GetSize());
|
||||
}
|
||||
|
||||
inline void CommandBufferBuilder::CopyBuffer(const UploadPool::Allocation& allocation, const RenderBufferView& target)
|
||||
{
|
||||
return CopyBuffer(allocation, target, allocation.size);
|
||||
}
|
||||
}
|
||||
|
||||
#include <Nazara/Renderer/DebugOff.hpp>
|
||||
Reference in New Issue
Block a user