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

Public Member Functions

 DedicatedVBO (uint32_t size, VertexSpecification spec)
 
 DedicatedVBO (uint32_t size, IndexType index_type)
 
uint64_t slot_last_updated (VBOSlot slot)
 
GLenum target () const
 
void upload (VBOSlot, const VertexData *vertex_data)
 
void upload (VBOSlot, const IndexData *index_data)
 
void bind (VBOSlot)
 
uint32_t byte_offset (VBOSlot slot)
 
uint32_t slot_size_in_bytes () const
 
VBOSlot allocate_slot ()
 
void release_slot (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< DedicatedVBO >
typedef std::shared_ptr< DedicatedVBOptr
 
typedef std::weak_ptr< DedicatedVBOwptr
 
- Static Public Member Functions inherited from smlt::RefCounted< DedicatedVBO >
static RefCounted< DedicatedVBO >::ptr create (Args &&... args)
 
static RefCounted< DedicatedVBO >::ptr create ()
 
- Protected Member Functions inherited from smlt::RefCounted< DedicatedVBO >
 RefCounted (Args &&...)
 

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