#include <SceneObject.h>
Inheritance diagram for GpuThesis::SceneObject:
Public Member Functions | |
virtual void | render (unsigned int meshNumber=0)=0 |
virtual void | transform ()=0 |
virtual bool | isLit ()=0 |
virtual unsigned int | getMeshCount ()=0 |
virtual const Material & | getMaterial (unsigned int meshNumber)=0 |
|
Get the Material of the given mesh.
Implemented in GpuThesis::ModelObject, and GpuThesis::Terrain. |
|
Get the number of meshes in the scene object.
Implemented in GpuThesis::ModelObject, and GpuThesis::Terrain. |
|
Check whether the scene object should be lit.
Implemented in GpuThesis::ModelObject, and GpuThesis::Terrain. |
|
Render the given mesh of the scene object. A mesh in this context is a part of the scene object which has the same material.
Implemented in GpuThesis::ModelObject, and GpuThesis::Terrain. |
|
Transform the scene object. Transforms the scene object from object space to world space. Implemented in GpuThesis::ModelObject, and GpuThesis::Terrain. |