C4 Engine
C4 Engine API Documentation

class RenderableNode

Defined in:  C4Node.h
Every directly-renderable node in a scene graph is a subclass of the RenderableNode class.
Definition

class RenderableNode : public Node, public Renderable

Member Functions
RenderableNode::SetShaderParameterCallback Sets the shader parameter callback function.
Constructor

RenderableNode(NodeType type, RenderType renderType, uint32 renderState = 0);

Parameters
type The node type passed to the Node base class.
renderType The render type for the Renderable base class.
renderState The render state for the Renderable base class.
Description
The RenderableNode class serves as the base class for scene graph nodes that can be directly rendered, such as geometries and effects.
Base Classes
Node A RenderableNode is a special type of node.
Renderable Holds rendering information for the node.
See Also

Geometry

Effect