Lugdunum  0.1.0
Material.hpp
Go to the documentation of this file.
1 #pragma once
2 
5 
6 namespace lug {
7 namespace Graphics {
8 namespace Vulkan {
9 
10 namespace API {
11 class CommandBuffer;
12 } // API
13 
14 namespace Render {
15 namespace BufferPool {
16 
17 class LUG_GRAPHICS_API Material : public BufferPool<20, sizeof(::lug::Graphics::Render::Material::Constants) * 2> {
18 public:
19  Material(Renderer& renderer);
20 
21  Material(const Material&) = delete;
22  Material(Material&&) = delete;
23 
24  Material& operator=(const Material&) = delete;
25  Material& operator=(Material&&) = delete;
26 
27  ~Material() = default;
28 
29  const SubBuffer* allocate(const API::CommandBuffer& cmdBuffer, ::lug::Graphics::Render::Material& material);
30 };
31 
32 } // BufferPool
33 } // Render
34 } // Vulkan
35 } // Graphics
36 } // lug
#define LUG_GRAPHICS_API
Definition: Export.hpp:11
Class for Material. Is a Resource.
Definition: Material.hpp:25