Radium Engine  1.5.0
Material.cpp
1 #include <Engine/Data/Material.hpp>
2 
3 namespace Ra {
4 namespace Engine {
5 namespace Data {
6 Material::Material( const std::string& instanceName,
7  const std::string& materialName,
8  MaterialAspect aspect ) :
10  m_instanceName { instanceName },
11  m_aspect { aspect },
12  m_materialName { materialName } {}
13 
16 }
17 
18 std::list<std::string> Material::getPropertyList() const {
20 }
21 
22 } // namespace Data
23 } // namespace Engine
24 } // namespace Ra
Material(const std::string &instanceName, const std::string &materialName, MaterialAspect aspect=MaterialAspect::MAT_OPAQUE)
Definition: Material.cpp:6
MaterialAspect m_aspect
Material aspect.
Definition: Material.hpp:122
std::list< std::string > getPropertyList() const override
Definition: Material.cpp:18
virtual bool isTransparent() const
Definition: Material.cpp:14
@ MAT_TRANSPARENT
<- The material is either OPAQUE or TRANSPARENT
virtual std::list< std::string > getPropertyList() const
Get the list of properties the provider might use in a shader. Each property will be added to the sha...
Definition: Cage.cpp:3