Simple implementation of the IMesh interface.
More...
#include <SMesh.h>
Simple implementation of the IMesh interface.
Definition at line 13 of file SMesh.h.
◆ SMesh()
saga::scene::SMesh::SMesh |
( |
| ) |
|
|
inline |
constructor
Definition at line 16 of file SMesh.h.
◆ ~SMesh()
virtual saga::scene::SMesh::~SMesh |
( |
| ) |
|
|
inlinevirtual |
destructor
Definition at line 22 of file SMesh.h.
◆ addMeshBuffer()
virtual void saga::scene::SMesh::addMeshBuffer |
( |
std::unique_ptr< IMeshBuffer > |
buf | ) |
|
|
inlineoverridevirtual |
◆ clear()
virtual void saga::scene::SMesh::clear |
( |
| ) |
|
|
inlinevirtual |
clean mesh
Definition at line 30 of file SMesh.h.
◆ getBoundingBox()
virtual const core::aabbox3d<float>& saga::scene::SMesh::getBoundingBox |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getMeshBuffer()
virtual IMeshBuffer& saga::scene::SMesh::getMeshBuffer |
( |
std::uint32_t |
nr = 0 | ) |
|
|
inlineoverridevirtual |
◆ getMeshBufferCount()
virtual std::uint32_t saga::scene::SMesh::getMeshBufferCount |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getMeshType()
virtual E_MESH_TYPE saga::scene::SMesh::getMeshType |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ recalculateBoundingBox()
void saga::scene::SMesh::recalculateBoundingBox |
( |
| ) |
|
|
inline |
recalculates the bounding box
Definition at line 61 of file SMesh.h.
◆ setBoundingBox()
virtual void saga::scene::SMesh::setBoundingBox |
( |
const core::aabbox3df & |
box | ) |
|
|
inlineoverridevirtual |
◆ BoundingBox
The bounding box of this mesh.
Definition at line 103 of file SMesh.h.
◆ GPUMeshBuffer
GPU mesh buffer.
Definition at line 100 of file SMesh.h.
◆ MeshBuffers
std::vector<std::unique_ptr<IMeshBuffer> > saga::scene::SMesh::MeshBuffers |
The meshbuffers of this mesh.
Definition at line 97 of file SMesh.h.
The documentation for this struct was generated from the following file: