Simulant  21.12-574
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Classes | Public Member Functions | List of all members
smlt::SharedVBO Class Reference
Inheritance diagram for smlt::SharedVBO:
smlt::RefCounted< SharedVBO > smlt::VBO smlt::TwoPhaseConstructed

Public Member Functions

 SharedVBO (VBOSlotSize slot_size, VertexSpecification spec)
 SharedVBO (VBOSlotSize slot_size, IndexType type)
uint64_t slot_last_updated (VBOSlot slot)
GLenum target () const
VBOSlot allocate_slot ()
void release_slot (VBOSlot slot)
void upload (VBOSlot slot, const VertexData *vertex_data)
void upload (VBOSlot slot, const IndexData *index_data)
void bind (VBOSlot slot)
VBOSlotSize slot_size () const
uint32_t slot_size_in_bytes () const
uint32_t byte_offset (VBOSlot slot)
uint32_t used_slot_count () const
uint32_t free_slot_count () const
- Public Member Functions inherited from smlt::TwoPhaseConstructed
virtual bool init ()
virtual void clean_up ()

Additional Inherited Members

- Public Types inherited from smlt::RefCounted< SharedVBO >
typedef std::shared_ptr< SharedVBOptr
typedef std::weak_ptr< SharedVBOwptr
- Static Public Member Functions inherited from smlt::RefCounted< SharedVBO >
static RefCounted< SharedVBO >::ptr create (Args &&... args)
static RefCounted< SharedVBO >::ptr create ()
- Protected Member Functions inherited from smlt::RefCounted< SharedVBO >
 RefCounted (Args &&...)

The documentation for this class was generated from the following files: