// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // This file is part of the "Nazara Engine - Renderer module" // For conditions of distribution and use, see copyright notice in Config.hpp #include #include namespace Nz { inline RenderBuffer::RenderBuffer(RenderDevice& renderDevice, BufferType type, UInt64 size, BufferUsageFlags usage) : Buffer(DataStorage::Hardware, type, size, usage), m_renderDevice(renderDevice) { } inline RenderDevice& RenderBuffer::GetRenderDevice() { return m_renderDevice; } inline const RenderDevice& RenderBuffer::GetRenderDevice() const { return m_renderDevice; } } #include