// Copyright (C) 2015 Jérôme Leclercq // This file is part of the "Nazara Engine - Graphics module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_ABSTRACTBACKGROUND_HPP #define NAZARA_ABSTRACTBACKGROUND_HPP #include #include #include #include #include class NzAbstractBackground; class NzAbstractViewer; using NzBackgroundConstRef = NzObjectRef; using NzBackgroundLibrary = NzObjectLibrary; using NzBackgroundRef = NzObjectRef; class NAZARA_GRAPHICS_API NzAbstractBackground : public NzRefCounted { public: NzAbstractBackground() = default; virtual ~NzAbstractBackground(); virtual void Draw(const NzAbstractViewer* viewer) const = 0; virtual nzBackgroundType GetBackgroundType() const = 0; private: static NzBackgroundLibrary::LibraryMap s_library; }; #endif // NAZARA_ABSTRACTBACKGROUND_HPP