arsa
2.7
|
#include <CDynamicMeshBuffer.h>
Public Member Functions | |
CDynamicMeshBuffer (video::E_VERTEX_TYPE vertexType, video::E_INDEX_TYPE indexType) | |
constructor More... | |
virtual | ~CDynamicMeshBuffer () |
destructor More... | |
virtual IVertexBuffer & | getVertexBuffer () const _IRR_OVERRIDE_ |
virtual IIndexBuffer & | getIndexBuffer () const _IRR_OVERRIDE_ |
virtual void | setVertexBuffer (IVertexBuffer *newVertexBuffer) _IRR_OVERRIDE_ |
virtual void | setIndexBuffer (IIndexBuffer *newIndexBuffer) _IRR_OVERRIDE_ |
virtual const video::SMaterial & | getMaterial () const _IRR_OVERRIDE_ |
Get Material of this buffer. More... | |
virtual video::SMaterial & | getMaterial () _IRR_OVERRIDE_ |
Get Material of this buffer. More... | |
virtual const core::aabbox3d< f32 > & | getBoundingBox () const _IRR_OVERRIDE_ |
Get bounding box. More... | |
virtual void | setBoundingBox (const core::aabbox3df &box) _IRR_OVERRIDE_ |
Set bounding box. More... | |
virtual void | recalculateBoundingBox () _IRR_OVERRIDE_ |
Recalculate bounding box. More... | |
virtual void | setPrimitiveType (E_PRIMITIVE_TYPE type) _IRR_OVERRIDE_ |
Describe what kind of primitive geometry is used by the meshbuffer. More... | |
virtual E_PRIMITIVE_TYPE | getPrimitiveType () const _IRR_OVERRIDE_ |
Get the kind of primitive geometry which is used by the meshbuffer. More... | |
Public Member Functions inherited from irr::scene::IDynamicMeshBuffer | |
virtual void | append (const void *const vertices, u32 numVertices, const u16 *const indices, u32 numIndices) _IRR_OVERRIDE_ |
Append the vertices and indices to the current buffer. More... | |
virtual void | append (const IMeshBuffer *const other) _IRR_OVERRIDE_ |
Append the meshbuffer to the current buffer. More... | |
virtual E_HARDWARE_MAPPING | getHardwareMappingHint_Vertex () const _IRR_OVERRIDE_ |
get the current hardware mapping hint More... | |
virtual E_HARDWARE_MAPPING | getHardwareMappingHint_Index () const _IRR_OVERRIDE_ |
get the current hardware mapping hint More... | |
virtual void | setHardwareMappingHint (E_HARDWARE_MAPPING NewMappingHint, E_BUFFER_TYPE Buffer=EBT_VERTEX_AND_INDEX) _IRR_OVERRIDE_ |
set the hardware mapping hint, for driver More... | |
virtual void | setDirty (E_BUFFER_TYPE Buffer=EBT_VERTEX_AND_INDEX) _IRR_OVERRIDE_ |
flags the mesh as changed, reloads hardware buffers More... | |
virtual u32 | getChangedID_Vertex () const _IRR_OVERRIDE_ |
Get the currently used ID for identification of changes. More... | |
virtual u32 | getChangedID_Index () const _IRR_OVERRIDE_ |
Get the currently used ID for identification of changes. More... | |
virtual video::E_VERTEX_TYPE | getVertexType () const _IRR_OVERRIDE_ |
Get type of vertex data which is stored in this meshbuffer. More... | |
virtual const void * | getVertices () const _IRR_OVERRIDE_ |
Get access to vertex data. The data is an array of vertices. More... | |
virtual void * | getVertices () _IRR_OVERRIDE_ |
Get access to vertex data. The data is an array of vertices. More... | |
virtual u32 | getVertexCount () const _IRR_OVERRIDE_ |
Get amount of vertices in meshbuffer. More... | |
virtual video::E_INDEX_TYPE | getIndexType () const _IRR_OVERRIDE_ |
Get type of index data which is stored in this meshbuffer. More... | |
virtual const u16 * | getIndices () const _IRR_OVERRIDE_ |
Get access to indices. More... | |
virtual u16 * | getIndices () _IRR_OVERRIDE_ |
Get access to indices. More... | |
virtual u32 | getIndexCount () const _IRR_OVERRIDE_ |
Get amount of indices in this meshbuffer. More... | |
virtual const core::vector3df & | getPosition (u32 i) const _IRR_OVERRIDE_ |
returns position of vertex i More... | |
virtual core::vector3df & | getPosition (u32 i) _IRR_OVERRIDE_ |
returns position of vertex i More... | |
virtual const core::vector2df & | getTCoords (u32 i) const _IRR_OVERRIDE_ |
returns texture coords of vertex i More... | |
virtual core::vector2df & | getTCoords (u32 i) _IRR_OVERRIDE_ |
returns texture coords of vertex i More... | |
virtual const core::vector3df & | getNormal (u32 i) const _IRR_OVERRIDE_ |
returns normal of vertex i More... | |
virtual core::vector3df & | getNormal (u32 i) _IRR_OVERRIDE_ |
returns normal of vertex i More... | |
Public Member Functions inherited from irr::scene::IMeshBuffer | |
virtual u32 | getPrimitiveCount () const |
Calculate how many geometric primitives are used by this meshbuffer. More... | |
Public Member Functions inherited from irr::IReferenceCounted | |
IReferenceCounted () | |
Constructor. More... | |
virtual | ~IReferenceCounted () |
Destructor. More... | |
void | grab () const |
Grabs the object. Increments the reference counter by one. More... | |
bool | drop () const |
Drops the object. Decrements the reference counter by one. More... | |
s32 | getReferenceCount () const |
Get the reference count. More... | |
const c8 * | getDebugName () const |
Returns the debug name of the object. More... | |
Public Attributes | |
video::SMaterial | Material |
core::aabbox3d< f32 > | BoundingBox |
E_PRIMITIVE_TYPE | PrimitiveType |
Primitive type used for rendering (triangles, lines, ...) More... | |
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 30 of file CDynamicMeshBuffer.h.
|
inlinevirtual |
Get bounding box.
Implements irr::scene::IDynamicMeshBuffer.
Definition at line 81 of file CDynamicMeshBuffer.h.
|
inlinevirtual |
Implements irr::scene::IDynamicMeshBuffer.
Definition at line 43 of file CDynamicMeshBuffer.h.
|
inlinevirtual |
Get Material of this buffer.
Implements irr::scene::IDynamicMeshBuffer.
Definition at line 69 of file CDynamicMeshBuffer.h.
|
inlinevirtual |
Get Material of this buffer.
Implements irr::scene::IDynamicMeshBuffer.
Definition at line 75 of file CDynamicMeshBuffer.h.
|
inlinevirtual |
Get the kind of primitive geometry which is used by the meshbuffer.
Implements irr::scene::IMeshBuffer.
Definition at line 112 of file CDynamicMeshBuffer.h.
|
inlinevirtual |
Implements irr::scene::IDynamicMeshBuffer.
Definition at line 38 of file CDynamicMeshBuffer.h.
|
inlinevirtual |
Recalculate bounding box.
Implements irr::scene::IDynamicMeshBuffer.
Definition at line 93 of file CDynamicMeshBuffer.h.
|
inlinevirtual |
Set bounding box.
Implements irr::scene::IDynamicMeshBuffer.
Definition at line 87 of file CDynamicMeshBuffer.h.
|
inlinevirtual |
Implements irr::scene::IDynamicMeshBuffer.
Definition at line 58 of file CDynamicMeshBuffer.h.
|
inlinevirtual |
Describe what kind of primitive geometry is used by the meshbuffer.
Implements irr::scene::IMeshBuffer.
Definition at line 106 of file CDynamicMeshBuffer.h.
|
inlinevirtual |
Implements irr::scene::IDynamicMeshBuffer.
Definition at line 48 of file CDynamicMeshBuffer.h.
core::aabbox3d<f32> irr::scene::CDynamicMeshBuffer::BoundingBox |
Definition at line 118 of file CDynamicMeshBuffer.h.
video::SMaterial irr::scene::CDynamicMeshBuffer::Material |
Definition at line 117 of file CDynamicMeshBuffer.h.
E_PRIMITIVE_TYPE irr::scene::CDynamicMeshBuffer::PrimitiveType |
Primitive type used for rendering (triangles, lines, ...)
Definition at line 120 of file CDynamicMeshBuffer.h.