// Copyright (C) 2014 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_ABSTRACTRENDERTECHNIQUE_HPP #define NAZARA_ABSTRACTRENDERTECHNIQUE_HPP #include #include #include #include #include class NzBackground; class NzScene; class NAZARA_API NzAbstractRenderTechnique : NzNonCopyable { public: NzAbstractRenderTechnique(); virtual ~NzAbstractRenderTechnique(); virtual void Clear(const NzScene* scene) const = 0; virtual bool Draw(const NzScene* scene) const = 0; virtual void EnableInstancing(bool instancing); virtual NzString GetName() const; virtual NzAbstractRenderQueue* GetRenderQueue() = 0; virtual nzRenderTechniqueType GetType() const = 0; virtual bool IsInstancingEnabled() const; protected: bool m_instancingEnabled; }; #endif // NAZARA_ABSTRACTRENDERTECHNIQUE_HPP