5#ifndef __I_VERTEX_BUFFER_H_INCLUDED__
6#define __I_VERTEX_BUFFER_H_INCLUDED__
Base class of most objects of the Irrlicht Engine.
virtual video::E_VERTEX_TYPE getType() const =0
virtual void * getData()=0
virtual u32 size() const =0
virtual E_HARDWARE_MAPPING getHardwareMappingHint() const =0
get the current hardware mapping hint
virtual u32 getChangedID() const =0
Get the currently used ID for identification of changes.
virtual video::S3DVertex & operator[](const u32 index) const =0
virtual void push_back(const video::S3DVertex &element)=0
virtual u32 stride() const =0
virtual void reallocate(u32 new_size)=0
virtual void setHardwareMappingHint(E_HARDWARE_MAPPING NewMappingHint)=0
set the hardware mapping hint, for driver
virtual u32 allocated_size() const =0
virtual void set_used(u32 usedNow)=0
virtual video::S3DVertex * pointer()=0
virtual void setDirty()=0
flags the meshbuffer as changed, reloads hardware buffers
virtual video::S3DVertex & getLast()=0
virtual void setType(video::E_VERTEX_TYPE vertexType)=0
E_VERTEX_TYPE
Enumeration for all vertex types there are.
Everything in the Irrlicht Engine can be found in this namespace.
unsigned int u32
32 bit unsigned variable.
standard vertex used by the Irrlicht engine.