Radium Engine
1.5.20
Loading...
Searching...
No Matches
LambertianMaterial.hpp
1
#pragma once
2
3
#include <Engine/Data/SimpleMaterial.hpp>
4
5
namespace
Ra
{
6
namespace
Engine {
7
namespace
Data {
8
9
namespace
TextureSemantics {
12
using
LambertianMaterial
=
SimpleMaterial
;
13
}
// namespace TextureSemantics
14
26
class
RA_ENGINE_API
LambertianMaterial
final :
public
SimpleMaterial
27
{
28
public
:
33
explicit
LambertianMaterial
(
const
std::string
& instanceName );
34
35
~LambertianMaterial
()
override
=
default
;
36
42
static
void
registerMaterial();
43
48
static
void
unregisterMaterial();
49
50
void
updateFromParameters()
override
;
51
52
nlohmann::json getParametersMetadata()
const override
;
53
54
private
:
55
static
nlohmann::json s_parametersMetadata;
56
};
57
58
}
// namespace Data
59
}
// namespace Engine
60
}
// namespace Ra
std::string
Ra::Engine::Data::LambertianMaterial
Implementation of the Lambertian Material BSDF.
Definition
LambertianMaterial.hpp:27
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:3
src
Engine
Data
LambertianMaterial.hpp
Generated by
1.12.0