#include <CDynamicMeshBuffer.h>
Inheritance diagram for irr::scene::CDynamicMeshBuffer:Public Member Functions | |
| CDynamicMeshBuffer (video::E_VERTEX_TYPE vertexType, video::E_INDEX_TYPE indexType) | |
| constructor More... | |
| virtual | ~CDynamicMeshBuffer () |
| destructor More... | |
| virtual const core::aabbox3d< f32 > & | getBoundingBox () const |
| Get bounding box. More... | |
| virtual IIndexBuffer & | getIndexBuffer () const |
| virtual video::SMaterial & | getMaterial () |
| Get Material of this buffer. More... | |
| virtual const video::SMaterial & | getMaterial () const |
| Get Material of this buffer. More... | |
| virtual IVertexBuffer & | getVertexBuffer () const |
| virtual void | recalculateBoundingBox () |
| Recalculate bounding box. More... | |
| virtual void | setBoundingBox (const core::aabbox3df &box) |
| Set bounding box. More... | |
| virtual void | setIndexBuffer (IIndexBuffer *newIndexBuffer) |
| virtual void | setVertexBuffer (IVertexBuffer *newVertexBuffer) |
Public Member Functions inherited from irr::scene::IDynamicMeshBuffer | |
| virtual void | append (const IMeshBuffer *const other) |
| Append the meshbuffer to the current buffer. More... | |
| virtual void | append (const void *const vertices, u32 numVertices, const u16 *const indices, u32 numIndices) |
| Append the vertices and indices to the current buffer. More... | |
| virtual u32 | getChangedID_Index () const |
| Get the currently used ID for identification of changes. More... | |
| virtual u32 | getChangedID_Vertex () const |
| Get the currently used ID for identification of changes. More... | |
| virtual E_HARDWARE_MAPPING | getHardwareMappingHint_Index () const |
| get the current hardware mapping hint More... | |
| virtual E_HARDWARE_MAPPING | getHardwareMappingHint_Vertex () const |
| get the current hardware mapping hint More... | |
| virtual u32 | getIndexCount () const |
| Get amount of indices in this meshbuffer. More... | |
| virtual video::E_INDEX_TYPE | getIndexType () const |
| Get type of index data which is stored in this meshbuffer. More... | |
| virtual u16 * | getIndices () |
| Get access to Indices. More... | |
| virtual const u16 * | getIndices () const |
| Get access to Indices. More... | |
| virtual core::vector3df & | getNormal (u32 i) |
| returns normal of vertex i More... | |
| virtual const core::vector3df & | getNormal (u32 i) const |
| returns normal of vertex i More... | |
| virtual core::vector3df & | getPosition (u32 i) |
| returns position of vertex i More... | |
| virtual const core::vector3df & | getPosition (u32 i) const |
| returns position of vertex i More... | |
| virtual core::vector2df & | getTCoords (u32 i) |
| returns texture coords of vertex i More... | |
| virtual const core::vector2df & | getTCoords (u32 i) const |
| returns texture coords of vertex i More... | |
| virtual u32 | getVertexCount () const |
| Get amount of vertices in meshbuffer. More... | |
| virtual video::E_VERTEX_TYPE | getVertexType () const |
| Get type of vertex data which is stored in this meshbuffer. More... | |
| virtual void * | getVertices () |
| Get access to vertex data. The data is an array of vertices. More... | |
| virtual const void * | getVertices () const |
| Get access to vertex data. The data is an array of vertices. More... | |
| virtual void | setDirty (E_BUFFER_TYPE Buffer=EBT_VERTEX_AND_INDEX) |
| flags the mesh as changed, reloads hardware buffers More... | |
| virtual void | setHardwareMappingHint (E_HARDWARE_MAPPING NewMappingHint, E_BUFFER_TYPE Buffer=EBT_VERTEX_AND_INDEX) |
| set the hardware mapping hint, for driver More... | |
Public Member Functions inherited from irr::IReferenceCounted | |
| IReferenceCounted () | |
| Constructor. More... | |
| virtual | ~IReferenceCounted () |
| Destructor. More... | |
| bool | drop () const |
| Drops the object. Decrements the reference counter by one. More... | |
| const c8 * | getDebugName () const |
| Returns the debug name of the object. More... | |
| s32 | getReferenceCount () const |
| Get the reference count. More... | |
| void | grab () const |
| Grabs the object. Increments the reference counter by one. More... | |
Public Attributes | |
| core::aabbox3d< f32 > | BoundingBox |
| video::SMaterial | Material |
Additional Inherited Members | |
Protected Member Functions inherited from irr::IReferenceCounted | |
| void | setDebugName (const c8 *newName) |
| Sets the debug name of the object. More... | |
Definition at line 18 of file CDynamicMeshBuffer.h.
|
inline |
constructor
Definition at line 22 of file CDynamicMeshBuffer.h.
|
inlinevirtual |
destructor
Definition at line 29 of file CDynamicMeshBuffer.h.
References irr::IReferenceCounted::drop().
|
inlinevirtual |
Get bounding box.
Implements irr::scene::IDynamicMeshBuffer.
Definition at line 80 of file CDynamicMeshBuffer.h.
References BoundingBox.
|
inlinevirtual |
Implements irr::scene::IDynamicMeshBuffer.
Definition at line 42 of file CDynamicMeshBuffer.h.
|
inlinevirtual |
Get Material of this buffer.
Implements irr::scene::IDynamicMeshBuffer.
Definition at line 74 of file CDynamicMeshBuffer.h.
References Material.
|
inlinevirtual |
Get Material of this buffer.
Implements irr::scene::IDynamicMeshBuffer.
Definition at line 68 of file CDynamicMeshBuffer.h.
References Material.
|
inlinevirtual |
Implements irr::scene::IDynamicMeshBuffer.
Definition at line 37 of file CDynamicMeshBuffer.h.
Referenced by recalculateBoundingBox().
|
inlinevirtual |
Recalculate bounding box.
Implements irr::scene::IDynamicMeshBuffer.
Definition at line 92 of file CDynamicMeshBuffer.h.
References irr::core::aabbox3d< T >::addInternalPoint(), BoundingBox, getVertexBuffer(), irr::core::aabbox3d< T >::reset(), and irr::scene::IVertexBuffer::size().
|
inlinevirtual |
Set bounding box.
Implements irr::scene::IDynamicMeshBuffer.
Definition at line 86 of file CDynamicMeshBuffer.h.
References BoundingBox.
|
inlinevirtual |
Implements irr::scene::IDynamicMeshBuffer.
Definition at line 57 of file CDynamicMeshBuffer.h.
References irr::IReferenceCounted::drop(), and irr::IReferenceCounted::grab().
|
inlinevirtual |
Implements irr::scene::IDynamicMeshBuffer.
Definition at line 47 of file CDynamicMeshBuffer.h.
References irr::IReferenceCounted::drop(), and irr::IReferenceCounted::grab().
| core::aabbox3d<f32> irr::scene::CDynamicMeshBuffer::BoundingBox |
Definition at line 105 of file CDynamicMeshBuffer.h.
Referenced by getBoundingBox(), recalculateBoundingBox(), and setBoundingBox().
| video::SMaterial irr::scene::CDynamicMeshBuffer::Material |
Definition at line 104 of file CDynamicMeshBuffer.h.
Referenced by getMaterial().