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

Public Member Functions

 IndexData (IndexType type)
IndexDataIterator begin () const
IndexDataIterator end () const
void reset ()
void clear (bool release_memory=false)
void resize (uint32_t size)
void reserve (uint32_t size)
std::vector< uint32_t > all ()
uint32_t min_index () const
uint32_t max_index () const
template<typename T , int BS>
void _index (uint32_t *indexes, std::size_t count)
void index (uint32_t *indexes, std::size_t count)
void index (uint32_t idx)
void done ()
uint64_t last_updated () const
uint32_t at (const uint32_t i) const
uint32_t count () const
bool operator== (const IndexData &other) const
bool operator!= (const IndexData &other) const
sig::signal< void()> & signal_update_complete ()
const uint8_t * data () const
std::size_t data_size () const
uint32_t stride () const
IndexType index_type () const
- Public Member Functions inherited from smlt::TwoPhaseConstructed
virtual bool init ()
virtual void clean_up ()
- Public Member Functions inherited from smlt::UniquelyIdentifiable< IndexData >
 UniquelyIdentifiable (const UniquelyIdentifiable &)
UniquelyIdentifiableoperator= (const UniquelyIdentifiable &rhs)
uuid64 uuid () const


class IndexDataIterator

Additional Inherited Members

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

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