#include <CIndexBuffer.h>
Public Member Functions | |
CIndexBuffer (video::E_INDEX_TYPE IndexType) | |
CIndexBuffer (const IIndexBuffer &IndexBufferCopy) | |
virtual | ~CIndexBuffer () |
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 u32 | getLast () |
virtual video::E_INDEX_TYPE | getType () const |
virtual u32 | operator[] (u32 index) const |
virtual void * | pointer () |
virtual void | push_back (const u32 &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_INDEX_TYPE IndexType) |
virtual void | setValue (u32 index, u32 value) |
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 |
IIndexList * | Indices |
E_HARDWARE_MAPPING | MappingHint |
Additional Inherited Members | |
![]() | |
void | setDebugName (const c8 *newName) |
Sets the debug name of the object. More... | |
Definition at line 15 of file CIndexBuffer.h.
|
inline |
Definition at line 93 of file CIndexBuffer.h.
References setType().
|
inline |
Definition at line 98 of file CIndexBuffer.h.
References irr::scene::IIndexBuffer::getType(), push_back(), reallocate(), setType(), and irr::scene::IIndexBuffer::size().
|
inlinevirtual |
Definition at line 107 of file CIndexBuffer.h.
References Indices.
|
inlinevirtual |
Implements irr::scene::IIndexBuffer.
Definition at line 185 of file CIndexBuffer.h.
|
inlinevirtual |
Get the currently used ID for identification of changes.
This shouldn't be used for anything outside the VideoDriver.
Implements irr::scene::IIndexBuffer.
Definition at line 215 of file CIndexBuffer.h.
References ChangedID.
|
inlinevirtual |
Implements irr::scene::IIndexBuffer.
Definition at line 144 of file CIndexBuffer.h.
|
inlinevirtual |
get the current hardware mapping hint
Implements irr::scene::IIndexBuffer.
Definition at line 196 of file CIndexBuffer.h.
References MappingHint.
|
inlinevirtual |
Implements irr::scene::IIndexBuffer.
Definition at line 165 of file CIndexBuffer.h.
|
inlinevirtual |
Implements irr::scene::IIndexBuffer.
Definition at line 146 of file CIndexBuffer.h.
Implements irr::scene::IIndexBuffer.
Definition at line 160 of file CIndexBuffer.h.
|
inlinevirtual |
Implements irr::scene::IIndexBuffer.
Definition at line 190 of file CIndexBuffer.h.
|
inlinevirtual |
Implements irr::scene::IIndexBuffer.
Definition at line 155 of file CIndexBuffer.h.
Referenced by CIndexBuffer().
|
inlinevirtual |
Implements irr::scene::IIndexBuffer.
Definition at line 180 of file CIndexBuffer.h.
Referenced by CIndexBuffer().
|
inlinevirtual |
Implements irr::scene::IIndexBuffer.
Definition at line 175 of file CIndexBuffer.h.
|
inlinevirtual |
flags the mesh as changed, reloads hardware buffers
Implements irr::scene::IIndexBuffer.
Definition at line 208 of file CIndexBuffer.h.
References ChangedID.
|
inlinevirtual |
set the hardware mapping hint, for driver
Implements irr::scene::IIndexBuffer.
Definition at line 202 of file CIndexBuffer.h.
References MappingHint.
|
inlinevirtual |
Implements irr::scene::IIndexBuffer.
Definition at line 113 of file CIndexBuffer.h.
References irr::video::EIT_16BIT, irr::video::EIT_32BIT, and Indices.
Referenced by CIndexBuffer().
Implements irr::scene::IIndexBuffer.
Definition at line 170 of file CIndexBuffer.h.
|
inlinevirtual |
Implements irr::scene::IIndexBuffer.
Definition at line 150 of file CIndexBuffer.h.
|
inlinevirtual |
Implements irr::scene::IIndexBuffer.
Definition at line 148 of file CIndexBuffer.h.
u32 irr::scene::CIndexBuffer::ChangedID |
Definition at line 218 of file CIndexBuffer.h.
Referenced by getChangedID(), and setDirty().
IIndexList* irr::scene::CIndexBuffer::Indices |
Definition at line 91 of file CIndexBuffer.h.
Referenced by setType(), and ~CIndexBuffer().
E_HARDWARE_MAPPING irr::scene::CIndexBuffer::MappingHint |
Definition at line 217 of file CIndexBuffer.h.
Referenced by getHardwareMappingHint(), and setHardwareMappingHint().