- /**
- * Reset the render-item.
- */
- void Reset();
-
- /**
- * Retrieve the renderer.
- * @return The renderer.
- */
- Render::Renderer& GetRenderer() const;
-
- /**
- * Set the renderer
- * @param[in] renderer The renderer
- */
- void SetRenderer( Render::Renderer* renderer );
-
- /**
- * Set the node
- * @param[in] node The node
- */
- void SetNode( Node* node );
-
- /**
- * Retrieve the node
- * @return The node
- */
- const Node& GetNode() const
- {
- return *mNode;
- }
- /**
- * Retrieve the modelView matrix.
- * @return The modelView matrix.
- */
- Matrix& GetModelViewMatrix();
-
- /**
- * Retrieve the modelView matrix.
- * @return The modelView matrix.
- */
- const Matrix& GetModelViewMatrix() const;
-
- /**
- * Retrieve the depth index
- */
- int GetDepthIndex() const
- {
- return mDepthIndex;
- }
-
- /**
- * Set the depth index
- */
- void SetDepthIndex( int depthIndex );
-
- /**
- * Set if the RenderItem is opaque
- * @param[in] isOpaque true if the RenderItem is opaque, false otherwise
- */
- void SetIsOpaque( bool isOpaque );
-
- /**
- * Check if the RenderItem is opaque
- * @return True if it is opaque, false otherwise
- */
- bool IsOpaque() const
- {
- return mIsOpaque;
- }
-
- /**
- * Sets the size of the render item
- * @param[in] size The size of the render item
- */
- void SetSize( const Vector3& size)
- {
- mSize = size;
- }
-
- /**
- * Retrives the size of the render item
- * @return The size of the render item
- */
- const Vector3& GetSize() const
- {
- return mSize;
- }