20 #include "MeshInstance.h"
21 #include "RenderableInterface.h"
65 #endif // RENDERNODE_H
RenderableInterface * callback
RenderableInterface queued for rendering.
Definition: RenderNode.h:54
Header declaring and including types common to renderer classes such as Vector2. Also includes GL hea...
Callback set in a RenderNode which can be used to issues draw calls.
Definition: RenderableInterface.h:26
float zDepth
Z-depth value used for sorting nodes in a RenderList.
Definition: RenderNode.h:37
MeshInstancePtr mesh
MeshInstance to queue for rendering.
Definition: RenderNode.h:48
ShaderPtr shader
Shader to draw mesh with, if set.
Definition: RenderNode.h:41
std::shared_ptr< Shader > ShaderPtr
Shared pointer typedef for Shader.
Definition: PointerDeclarations.h:143
Node which queues a callback (RenderableInterface) or MeshInstance for rendering. ...
Definition: RenderNode.h:33
void render()
Renders the queued callback or MeshInstance.
std::shared_ptr< MeshInstance > MeshInstancePtr
Shared pointer typedef for MeshInstance.
Definition: PointerDeclarations.h:113