#include <Material.h>
Definition at line 66 of file Material.h.
◆ Create()
| MaterialPtr Elevate::MaterialFactory::Create |
( |
const std::shared_ptr< Shader > & |
shader | ) |
|
|
staticprotected |
Definition at line 99 of file Material.cpp.
100 {
101 if (!shader)
102 {
103 EE_CORE_ERROR("(MaterialFactory) : Cannot create a material from a null shader.");
104 return nullptr;
105 }
106 return std::shared_ptr<Material>(new Material(shader));
107 }
◆ MaterialRegistry
The documentation for this class was generated from the following files: