Radium Engine
1.5.20
Loading...
Searching...
No Matches
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 ) :
9
ShaderParameterProvider
(),
10
m_instanceName { instanceName },
11
m_aspect { aspect },
12
m_materialName { materialName } {}
13
14
}
// namespace Data
15
}
// namespace Engine
16
}
// namespace Ra
std::string
Ra::Engine::Data::Material::Material
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
Ra::Engine::Data::Material::MaterialAspect
MaterialAspect
Identifies the type of the material.
Definition
Material.hpp:31
Ra::Engine::Data::ShaderParameterProvider
Shader program parameter provider.
Definition
RenderParameters.hpp:171
Ra
hepler function to manage enum as underlying types in VariableSet
Definition
Cage.cpp:3
src
Engine
Data
Material.cpp
Generated by
1.12.0