18 #ifndef __H__OCULAR_EDITOR_GIZMO_AXIS_RENDERABLE__H__
19 #define __H__OCULAR_EDITOR_GIZMO_AXIS_RENDERABLE__H__
21 #include "Scene/ARenderable.hpp"
56 virtual bool initialize()
override;
59 virtual void render()
override;
64 void setSelected(
bool selected);
68 bool initializeMaterials();
69 bool initializeMaterialNormal();
70 bool initializeMaterialSelected();
72 bool initializeMesh();
virtual uint32_t getRenderPriority() const override
Definition: AxisGizmoRenderable.cpp:131
virtual void render() override
Definition: AxisGizmoRenderable.cpp:105
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Combination of a VertexBuffer and IndexBuffer.
Definition: Mesh.hpp:49
Definition: DepthStencilState.hpp:113
Definition: AxisGizmoRenderable.hpp:49
Definition: ARenderable.hpp:53
Graphics::Material * m_MaterialSelected
Material when rendering the component when it is selected.
Definition: AxisGizmoRenderable.hpp:77
virtual bool preRender() override
Definition: AxisGizmoRenderable.cpp:85
Graphics::Material * m_MaterialNormal
Material when rendering the component when not selected. Will use axis color.
Definition: AxisGizmoRenderable.hpp:76
Definition: Material.hpp:62