BlankMat 0.1.0
Free open-source 3D texture creation application
Loading...
Searching...
No Matches
GUIMaterialViewer Class Reference
Inheritance diagram for GUIMaterialViewer:
Collaboration diagram for GUIMaterialViewer:

Public Member Functions

 GUIMaterialViewer (State *state, Scene *scene, bool isEnabled)
 
- Public Member Functions inherited from IGUIContainerWindow< Material >
void Draw () override
 
- Public Member Functions inherited from IGUIWindow
bool IsEnabled ()
 
void Enable ()
 
void Disable ()
 
bool ToggleEnabled ()
 
GUI GetType ()
 
const std::string GetName ()
 
void SetName (const std::string &name)
 
const glm::vec2 GetPos ()
 
void SetPos (const glm::vec2 &pos)
 

Additional Inherited Members

- Protected Member Functions inherited from IGUIContainerWindow< Material >
virtual bool DisplayDeleteItem (const std::string &name, Material *item)
 
void ListContainer (IContainer< Material > *container)
 
- Protected Attributes inherited from IGUIContainerWindow< Material >
StatemState
 
ScenemScene
 
bool mMustSelect
 
std::string mWindowName
 
std::string mItemName
 
bool mIsAddingItem
 
std::string mAddItemName
 
- Protected Attributes inherited from IGUIWindow
GUI mType = GUI::NONE
 
std::string mName = ""
 
glm::vec2 mScreenPos = glm::vec2(0, 0)
 
bool mIsEnabled = true
 

Constructor & Destructor Documentation

◆ GUIMaterialViewer()

GUIMaterialViewer::GUIMaterialViewer ( State state,
Scene scene,
bool  isEnabled 
)
inline