Vulkan/RenderBuffer: WIP

This commit is contained in:
Lynix
2017-09-16 10:36:41 +02:00
parent 8a55888ada
commit c4edf54297
3 changed files with 71 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
// Copyright (C) 2015 Jérôme Leclercq
// This file is part of the "Nazara Engine - Renderer module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Renderer/RenderBuffer.hpp>
#include <Nazara/Renderer/Debug.hpp>
namespace Nz
{
bool RenderBuffer::Initialize(UInt32 size, BufferUsageFlags usage)
{
m_softwareBuffer.Initialize(size, usage);
return true;
}
DataStorage Nz::RenderBuffer::GetStorage() const
{
return DataStorage::DataStorage_Hardware;
}
}