Radium Engine
1.5.20
Loading...
Searching...
No Matches
PlainMaterial.hpp
1
#pragma once
2
3
#include <Engine/Data/SimpleMaterial.hpp>
4
5
namespace
Ra
{
6
namespace
Engine {
7
namespace
Data {
19
class
RA_ENGINE_API
PlainMaterial
final :
public
SimpleMaterial
20
{
21
public
:
26
explicit
PlainMaterial
(
const
std::string
& instanceName );
27
33
~PlainMaterial
()
override
=
default
;
34
40
static
void
registerMaterial();
41
46
static
void
unregisterMaterial();
47
48
void
updateFromParameters()
override
;
49
50
nlohmann::json getParametersMetadata()
const override
;
51
52
private
:
53
static
nlohmann::json s_parametersMetadata;
54
};
55
}
// namespace Data
56
}
// namespace Engine
57
}
// namespace Ra
std::string
Ra::Engine::Data::PlainMaterial
Definition
PlainMaterial.hpp:20
Ra::Engine::Data::PlainMaterial::~PlainMaterial
~PlainMaterial() override=default
Ra::Engine::Data::SimpleMaterial
Base implementation for simple, monocolored, materials.
Definition
SimpleMaterial.hpp:32
Ra
hepler function to manage enum as underlying types in VariableSet
Definition
Cage.cpp:3
src
Engine
Data
PlainMaterial.hpp
Generated by
1.12.0