5#ifndef NIRT_I_OCTREE_SCENE_NODE_HPP_INCLUDED
6#define NIRT_I_OCTREE_SCENE_NODE_HPP_INCLUDED
8#include <nirtcpp/core/engine/IMeshSceneNode.hpp>
A scene node displaying a static mesh.
Definition IMeshSceneNode.hpp:21
A scene node displaying a static mesh.
Definition IOctreeSceneNode.hpp:54
virtual void setPolygonChecks(EOCTREE_POLYGON_CHECKS checks)=0
Set the kind of tests polygons do for visibility against the camera.
virtual EOCTREENODE_VBO getUseVBO() const =0
Get if/how vertex buffer object are used for the meshbuffers.
virtual EOCTREE_POLYGON_CHECKS getPolygonChecks() const =0
Get the kind of tests polygons do for visibility against the camera.
IOctreeSceneNode(ISceneNode *parent, ISceneManager *mgr, s32 id, const core::vector3df &position=core::vector3df(0, 0, 0), const core::vector3df &rotation=core::vector3df(0, 0, 0), const core::vector3df &scale=core::vector3df(1, 1, 1))
Constructor.
Definition IOctreeSceneNode.hpp:60
The Scene Manager manages scene nodes, mesh resources, cameras and all the other stuff.
Definition ISceneManager.hpp:160
Scene node interface.
Definition ISceneNode.hpp:43
EOCTREE_POLYGON_CHECKS
Kind of checks polygons of the octree scene nodes use against camera.
Definition IOctreeSceneNode.hpp:42
@ EOPC_BOX
Definition IOctreeSceneNode.hpp:45
@ EOPC_FRUSTUM
against the camera frustum
Definition IOctreeSceneNode.hpp:48
EOCTREENODE_VBO
Settings if/how octree scene nodes are using hardware mesh-buffers.
Definition IOctreeSceneNode.hpp:21
@ EOV_USE_VBO
Definition IOctreeSceneNode.hpp:31
@ EOV_USE_VBO_WITH_VISIBITLY
Definition IOctreeSceneNode.hpp:37
@ EOV_NO_VBO
No VBO's used. Vertices+indices send to graphic-card on each render.
Definition IOctreeSceneNode.hpp:23
As of Nirtcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11
signed int s32
32 bit signed variable.
Definition irrTypes.hpp:72