Radium Engine  1.5.20
Loading...
Searching...
No Matches
PlainMaterial.hpp
1#pragma once
2
3#include <Engine/Data/SimpleMaterial.hpp>
4
5namespace Ra {
6namespace Engine {
7namespace Data {
19class 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
~PlainMaterial() override=default
Base implementation for simple, monocolored, materials.
hepler function to manage enum as underlying types in VariableSet
Definition Cage.cpp:3