2#include <Gui/RaGui.hpp>
6#include <QPlainTextEdit>
10#include <nlohmann/json.hpp>
12#include <Gui/ParameterSetEditor/ParameterSetEditor.hpp>
18class RenderParameters;
53 const nlohmann::json& constraints,
70 void showUnspecified(
bool enable );
80 QLabel* m_matInstanceNameLabel;
82 QLabel* m_matNameLabel;
84 QPlainTextEdit* m_matProperties;
86 QVBoxLayout* m_matParamsLayout;
90 bool m_showUnspecified =
false;
93 QGroupBox* m_matInfoGroup;
Management of shader parameters with automatic binding of a named parameter to the corresponding glsl...
Simple Widget for Material/RenderParameter editing A material editor will show information about the ...
void materialParametersModified(const std::string &name)
void setupFromParameters(Engine::Data::RenderParameters ¶ms, const nlohmann::json &constraints, const std::string &name="")
Update the different UI element with the given renderParameter, using the given constraints.
Simple Widget for RenderParameter editing The editor will expose a control panel containing all of th...
hepler function to manage enum as underlying types in VariableSet