#include <CVertexBuffer.h>
Public Member Functions | |
CVertexBuffer (video::E_VERTEX_TYPE vertexType) | |
CVertexBuffer (const IVertexBuffer &VertexBufferCopy) | |
virtual | ~CVertexBuffer () |
virtual u32 | allocated_size () const |
virtual u32 | getChangedID () const |
Get the currently used ID for identification of changes. More... | |
virtual void * | getData () |
virtual E_HARDWARE_MAPPING | getHardwareMappingHint () const |
get the current hardware mapping hint More... | |
virtual video::S3DVertex & | getLast () |
virtual video::E_VERTEX_TYPE | getType () const |
virtual video::S3DVertex & | operator[] (const u32 index) const |
virtual video::S3DVertex * | pointer () |
virtual void | push_back (const video::S3DVertex &element) |
virtual void | reallocate (u32 new_size) |
virtual void | set_used (u32 usedNow) |
virtual void | setDirty () |
flags the mesh as changed, reloads hardware buffers More... | |
virtual void | setHardwareMappingHint (E_HARDWARE_MAPPING NewMappingHint) |
set the hardware mapping hint, for driver More... | |
virtual void | setType (video::E_VERTEX_TYPE vertexType) |
virtual u32 | size () const |
virtual u32 | stride () const |
![]() | |
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 | |
u32 | ChangedID |
E_HARDWARE_MAPPING | MappingHint |
IVertexList * | Vertices |
Additional Inherited Members | |
![]() | |
void | setDebugName (const c8 *newName) |
Sets the debug name of the object. More... | |
Definition at line 16 of file CVertexBuffer.h.
|
inline |
Definition at line 75 of file CVertexBuffer.h.
References setType().
|
inline |
Definition at line 81 of file CVertexBuffer.h.
References irr::scene::IVertexBuffer::getType(), push_back(), reallocate(), setType(), and irr::scene::IVertexBuffer::size().
|
inlinevirtual |
Definition at line 92 of file CVertexBuffer.h.
References Vertices.
|
inlinevirtual |
Implements irr::scene::IVertexBuffer.
Definition at line 169 of file CVertexBuffer.h.
|
inlinevirtual |
Get the currently used ID for identification of changes.
This shouldn't be used for anything outside the VideoDriver.
Implements irr::scene::IVertexBuffer.
Definition at line 199 of file CVertexBuffer.h.
References ChangedID.
|
inlinevirtual |
Implements irr::scene::IVertexBuffer.
Definition at line 133 of file CVertexBuffer.h.
|
inlinevirtual |
get the current hardware mapping hint
Implements irr::scene::IVertexBuffer.
Definition at line 180 of file CVertexBuffer.h.
References MappingHint.
|
inlinevirtual |
Implements irr::scene::IVertexBuffer.
Definition at line 154 of file CVertexBuffer.h.
|
inlinevirtual |
Implements irr::scene::IVertexBuffer.
Definition at line 135 of file CVertexBuffer.h.
|
inlinevirtual |
Implements irr::scene::IVertexBuffer.
Definition at line 149 of file CVertexBuffer.h.
|
inlinevirtual |
Implements irr::scene::IVertexBuffer.
Definition at line 174 of file CVertexBuffer.h.
|
inlinevirtual |
Implements irr::scene::IVertexBuffer.
Definition at line 144 of file CVertexBuffer.h.
Referenced by CVertexBuffer().
|
inlinevirtual |
Implements irr::scene::IVertexBuffer.
Definition at line 164 of file CVertexBuffer.h.
Referenced by CVertexBuffer().
|
inlinevirtual |
Implements irr::scene::IVertexBuffer.
Definition at line 159 of file CVertexBuffer.h.
|
inlinevirtual |
flags the mesh as changed, reloads hardware buffers
Implements irr::scene::IVertexBuffer.
Definition at line 192 of file CVertexBuffer.h.
References ChangedID.
|
inlinevirtual |
set the hardware mapping hint, for driver
Implements irr::scene::IVertexBuffer.
Definition at line 186 of file CVertexBuffer.h.
References MappingHint.
|
inlinevirtual |
Implements irr::scene::IVertexBuffer.
Definition at line 98 of file CVertexBuffer.h.
References irr::video::EVT_2TCOORDS, irr::video::EVT_STANDARD, irr::video::EVT_TANGENTS, and Vertices.
Referenced by CVertexBuffer().
|
inlinevirtual |
Implements irr::scene::IVertexBuffer.
Definition at line 139 of file CVertexBuffer.h.
|
inlinevirtual |
Implements irr::scene::IVertexBuffer.
Definition at line 137 of file CVertexBuffer.h.
u32 irr::scene::CVertexBuffer::ChangedID |
Definition at line 202 of file CVertexBuffer.h.
Referenced by getChangedID(), and setDirty().
E_HARDWARE_MAPPING irr::scene::CVertexBuffer::MappingHint |
Definition at line 201 of file CVertexBuffer.h.
Referenced by getHardwareMappingHint(), and setHardwareMappingHint().
IVertexList* irr::scene::CVertexBuffer::Vertices |
Definition at line 73 of file CVertexBuffer.h.
Referenced by setType(), and ~CVertexBuffer().