Lugdunum  0.1.0
Material.cpp
Go to the documentation of this file.
2 
4 
5 namespace lug {
6 namespace Graphics {
7 namespace Builder {
8 
9 Material::Material(Renderer& renderer) : _renderer(renderer) {}
10 
12  switch (_renderer.getType()) {
15  }
16 
17  return nullptr;
18 }
19 
20 } // Builder
21 } // Graphics
22 } // lug
Dummy class for a shared pointer.
Definition: Resource.hpp:66
Resource::SharedPtr< Render::Material > build()
Definition: Material.cpp:11
Material(Renderer &renderer)
Definition: Material.cpp:9
Resource::SharedPtr< lug::Graphics::Render::Material > build(const ::lug::Graphics::Builder::Material &builder)
Definition: Material.cpp:14
Type getType() const
Definition: Renderer.inl:5