Loading [MathJax]/extensions/TeX/AMSmath.js
Radium Engine  1.6.3
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PlainMaterial.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
8namespace Ra {
9namespace Engine {
10namespace Data {
22class RA_ENGINE_API PlainMaterial final : public SimpleMaterial
23{
24 public:
29 explicit PlainMaterial( const std::string& instanceName );
30
36 ~PlainMaterial() override = default;
37
43 static void registerMaterial();
44
49 static void unregisterMaterial();
50
51 void updateFromParameters() override;
52
53 nlohmann::json getParametersMetadata() const override;
54
55 private:
56 static nlohmann::json s_parametersMetadata;
57};
58} // namespace Data
59} // namespace Engine
60} // namespace Ra
~PlainMaterial() override=default
Base implementation for simple, monocolored, materials.
hepler function to manage enum as underlying types in VariableSet
Definition Cage.cpp:4