18 #ifndef __H__OCULAR_EDITOR_MATERIAL_UNIFORMS_DISPLAY_BOX__H__
19 #define __H__OCULAR_EDITOR_MATERIAL_UNIFORMS_DISPLAY_BOX__H__
21 #include "MaterialPropertiesDisplayBox.hpp"
54 virtual void updateProperties()
override;
55 virtual void onApply()
override;
60 void buildNewUniformWidget();
62 void setUniform(std::string
const& name, uint32_t& currRegister, std::string
const& value, std::string
const& type);
66 void onUniformAdded();
70 QVBoxLayout* m_UniformLayout;
71 QHBoxLayout* m_NewUniformLayout;
72 QHBoxLayout* m_NewUniformLeftLayout;
73 QHBoxLayout* m_NewUniformRightLayout;
75 QFrame* m_NewUniformLeftFrame;
76 QFrame* m_NewUniformRightFrame;
78 QLineEdit* m_NewUniformNameEdit;
79 QComboBox* m_NewUniformTypeCombo;
80 QPushButton* m_NewUniformAddButton;
Definition: MaterialPropertiesDisplayBox.hpp:41
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: Material.hpp:62