Files
OpenVulkano/openVulkanoCpp/Scene/Prefabs/GridDrawable.hpp

25 lines
550 B
C++

/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
#pragma once
#include "Scene/Drawable.hpp"
#include "Scene/Shader/Shader.hpp"
namespace openVulkanoCpp::Scene
{
class GridDrawable : public Drawable
{
Shader m_shader;
public:
GridDrawable();
[[nodiscard]] Shader& GetShader() { return m_shader; }
[[nodiscard]] Drawable* Copy() override { return new GridDrawable(); }
};
}