Radium Engine  1.5.20
Loading...
Searching...
No Matches
Material.cpp
1#include <Engine/Data/Material.hpp>
2
3namespace Ra {
4namespace Engine {
5namespace Data {
6Material::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
14} // namespace Data
15} // namespace Engine
16} // namespace Ra
Material(const std::string &instanceName, const std::string &materialName, MaterialAspect aspect=MaterialAspect::MAT_OPAQUE)
Creates a named material with the given aspect.
Definition Material.cpp:6
MaterialAspect
Identifies the type of the material.
Definition Material.hpp:31
Shader program parameter provider.
hepler function to manage enum as underlying types in VariableSet
Definition Cage.cpp:3