![]() |
BlankMat 0.1.0
Free open-source 3D texture creation application
|
Public Member Functions | |
void | Draw () override |
GUIInspectorWindow (State *state, Scene *scene, bool isEnabled) | |
![]() | |
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) |
Protected Member Functions | |
void | DisplayMesh (Mesh *element) |
void | DisplayNode (Node *element) |
void | DisplayEntity (IEntity *element) |
void | DisplayLight (Light *element) |
void | DisplayCamera (Camera *element) |
void | DisplayTexture (Texture *element) |
void | DisplayMaterial (Material *element) |
Static Protected Member Functions | |
static bool | InputName (const std::string &label, const std::string &prevValue, std::string &curValue, Node *node, ImGuiInputTextFlags flags=ImGuiInputTextFlags_None) |
static bool | RenameItem (const std::string &label, IContainer< ISelectable > *container, ISelectable *element, std::string &name) |
Protected Attributes | |
State * | mState = nullptr |
Scene * | mScene = nullptr |
std::string | mSelColor = "" |
std::string | mNameInEdit = "" |
ISelectable * | mElementInEdit = nullptr |
![]() | |
GUI | mType = GUI::NONE |
std::string | mName = "" |
glm::vec2 | mScreenPos = glm::vec2(0, 0) |
bool | mIsEnabled = true |
Static Protected Attributes | |
static const float | TEXTURE_SIZE = 256.0f |
static const std::vector< std::string > | TEXTURE_TYPES = { "Diffuse", "Ambient", "Specular", "Normal", "Height", "Alpha" } |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineoverridevirtual |
Implements IGUIWindow.
|
inlinestaticprotected |
|
inlinestaticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
inlinestaticprotected |
|
inlinestaticprotected |