1 #ifndef VOGLEDITOR_STATETREESAMPLERITEM_H
2 #define VOGLEDITOR_STATETREESAMPLERITEM_H
4 #include "vogleditor_statetreeitem.h"
6 class vogl_sampler_state;
8 class vogleditor_stateTreeSamplerItem : public vogleditor_stateTreeItem
11 vogleditor_stateTreeSamplerItem(QString name, QString value, vogleditor_stateTreeItem* parent, const vogl_sampler_state* pState, const vogl_context_info& info);
12 virtual ~vogleditor_stateTreeSamplerItem() { m_pState = NULL; m_pDiffBaseState = NULL; }
14 const vogl_sampler_state* get_sampler_state() const { return m_pState; }
16 void set_diff_base_state(const vogl_sampler_state* pBaseState);
19 const vogl_sampler_state* m_pState;
20 const vogl_sampler_state* m_pDiffBaseState;
21 vogl::vector<vogleditor_stateTreeStateVecDiffableItem*> m_diffableItems;
24 #endif // VOGLEDITOR_STATETREESAMPLERITEM_H