Lugdunum  0.1.0
Material.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 
9 
10 namespace lug {
11 namespace Graphics {
12 namespace Vulkan {
13 namespace Render {
14 
19  friend Resource::SharedPtr<lug::Graphics::Render::Material> Builder::Material::build(const ::lug::Graphics::Builder::Material&);
20 
21 public:
22  Material(const Material&) = delete;
23  Material(Material&&) = delete;
24 
25  Material& operator=(const Material&) = delete;
26  Material& operator=(Material&&) = delete;
27 
28  ~Material();
29 
30  void destroy();
31 
32  Pipeline::Id::MaterialPart getPipelineId();
33 
34 private:
41  Material(const std::string& name);
42 
43 private:
45 };
46 
47 } // Render
48 } // Vulkan
49 } // Graphics
50 } // lug
Describes the material. How is the material composed, with textures, no textures, etc...
Definition: Pipeline.hpp:61
Pipeline::Id::MaterialPart _pipelineIdMaterialPart
Definition: Material.hpp:44
#define LUG_GRAPHICS_API
Definition: Export.hpp:11
Resource::SharedPtr< Render::Material > build()
Definition: Material.cpp:11
Class for Material. Is a Resource.
Definition: Material.hpp:25