Loading...
Searching...
No Matches
IIndexBuffer.h
Go to the documentation of this file.
// Copyright (C) 2008-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __I_INDEX_BUFFER_H_INCLUDED__
#define __I_INDEX_BUFFER_H_INCLUDED__
#include "IReferenceCounted.h"
#include "irrArray.h"
#include "SVertexIndex.h"
namespace irr
{
namespace video
{
}
namespace scene
{
class IIndexBuffer : public virtual IReferenceCounted
{
public:
virtual void* getData() =0;
virtual video::E_INDEX_TYPE getType() const =0;
virtual void setType(video::E_INDEX_TYPE IndexType) =0;
virtual u32 stride() const =0;
virtual u32 size() const =0;
virtual void push_back (const u32 &element) =0;
virtual u32 operator [](u32 index) const =0;
virtual u32 getLast() =0;
virtual void setValue(u32 index, u32 value) =0;
virtual void set_used(u32 usedNow) =0;
virtual void reallocate(u32 new_size) =0;
virtual u32 allocated_size() const=0;
virtual void* pointer() =0;
virtual E_HARDWARE_MAPPING getHardwareMappingHint() const =0;
virtual void setHardwareMappingHint( E_HARDWARE_MAPPING NewMappingHint ) =0;
virtual void setDirty() = 0;
virtual u32 getChangedID() const = 0;
};
} // end namespace scene
} // end namespace irr
#endif
IReferenceCounted.h
SVertexIndex.h
irr::IReferenceCounted::IReferenceCounted
IReferenceCounted()
Constructor.
Definition IReferenceCounted.h:46
irr::scene::IIndexBuffer
Definition IIndexBuffer.h:25
irr::scene::IIndexBuffer::size
virtual u32 size() const =0
irr::scene::IIndexBuffer::getLast
virtual u32 getLast()=0
irr::scene::IIndexBuffer::setDirty
virtual void setDirty()=0
flags the meshbuffer as changed, reloads hardware buffers
irr::scene::IIndexBuffer::pointer
virtual void * pointer()=0
irr::scene::IIndexBuffer::getHardwareMappingHint
virtual E_HARDWARE_MAPPING getHardwareMappingHint() const =0
get the current hardware mapping hint
irr::scene::IIndexBuffer::getData
virtual void * getData()=0
irr::scene::IIndexBuffer::push_back
virtual void push_back(const u32 &element)=0
irr::scene::IIndexBuffer::reallocate
virtual void reallocate(u32 new_size)=0
irr::scene::IIndexBuffer::getChangedID
virtual u32 getChangedID() const =0
Get the currently used ID for identification of changes.
irr::scene::IIndexBuffer::setHardwareMappingHint
virtual void setHardwareMappingHint(E_HARDWARE_MAPPING NewMappingHint)=0
set the hardware mapping hint, for driver
irr::scene::IIndexBuffer::getType
virtual video::E_INDEX_TYPE getType() const =0
irr::scene::IIndexBuffer::setType
virtual void setType(video::E_INDEX_TYPE IndexType)=0
irr::scene::IIndexBuffer::set_used
virtual void set_used(u32 usedNow)=0
irr::scene::IIndexBuffer::allocated_size
virtual u32 allocated_size() const =0
irr::scene::IIndexBuffer::setValue
virtual void setValue(u32 index, u32 value)=0
irr::scene::IIndexBuffer::operator[]
virtual u32 operator[](u32 index) const =0
irr::scene::IIndexBuffer::stride
virtual u32 stride() const =0
irrArray.h
irr::scene
All scene management can be found in this namespace: Mesh loading, special scene nodes like octrees a...
Definition CDynamicMeshBuffer.h:16
irr::scene::E_HARDWARE_MAPPING
E_HARDWARE_MAPPING
Definition EHardwareBufferFlags.h:14
irr::video
The video namespace contains classes for accessing the video driver. All 2d and 3d rendering is done ...
Definition EDriverFeatures.h:11
irr::video::E_INDEX_TYPE
E_INDEX_TYPE
Definition SVertexIndex.h:16
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
irr::u32
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.h:58
- Irrlicht Engine Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on for Irrlicht 3D Engine by Doxygen 1.15.0