// Copyright (C) 2021 Jérôme "Lynix" Leclercq (lynix680@gmail.com) // 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_GRAPHICS_DEPTHMATERIAL_HPP #define NAZARA_GRAPHICS_DEPTHMATERIAL_HPP #include #include namespace Nz { class NAZARA_GRAPHICS_API DepthMaterial : public BasicMaterial { friend class MaterialPipeline; public: using BasicMaterial::BasicMaterial; ~DepthMaterial() = default; static inline const std::shared_ptr& GetSettings(); protected: static std::vector> BuildShaders(); private: static bool Initialize(); static void Uninitialize(); static std::shared_ptr s_materialSettings; }; } #include #endif // NAZARA_GRAPHICS_DEPTHMATERIAL_HPP