Radium Engine
1.6.3
Loading...
Searching...
No Matches
LambertianMaterial.hpp
1
#pragma once
2
3
#include <Engine/Data/SimpleMaterial.hpp>
4
#include <Engine/RaEngine.hpp>
5
#include <nlohmann/json.hpp>
6
#include <string>
7
8
namespace
Ra
{
9
namespace
Engine {
10
namespace
Data {
11
12
namespace
TextureSemantics {
15
using
LambertianMaterial
=
SimpleMaterial
;
16
}
// namespace TextureSemantics
17
29
class
RA_ENGINE_API
LambertianMaterial
final :
public
SimpleMaterial
30
{
31
public
:
36
explicit
LambertianMaterial
(
const
std::string
& instanceName );
37
38
~LambertianMaterial
()
override
=
default
;
39
45
static
void
registerMaterial();
46
51
static
void
unregisterMaterial();
52
53
void
updateFromParameters()
override
;
54
55
nlohmann::json getParametersMetadata()
const override
;
56
57
private
:
58
static
nlohmann::json s_parametersMetadata;
59
};
60
61
}
// namespace Data
62
}
// namespace Engine
63
}
// namespace Ra
std::string
Ra::Engine::Data::LambertianMaterial
Implementation of the Lambertian Material BSDF.
Definition
LambertianMaterial.hpp:30
Ra::Engine::Data::SimpleMaterial
Base implementation for simple, monocolored, materials.
Definition
SimpleMaterial.hpp:32
Ra::Engine::Data::TextureSemantics::SimpleMaterial
SimpleMaterial
SimpleMaterial's textures.
Definition
SimpleMaterial.hpp:22
Ra
hepler function to manage enum as underlying types in VariableSet
Definition
Cage.cpp:4
src
Engine
Data
LambertianMaterial.hpp
Generated by
1.12.0