![]() |
VR-Vantage 3.1.1 API Documentation
|
Public Member Functions | |
| ImSpanAllocator () | |
| void | Reserve (int n, size_t sz, int a=4) |
| int | GetArenaSizeInBytes () |
| void | SetArenaBasePtr (void *base_ptr) |
| void * | GetSpanPtrBegin (int n) |
| void * | GetSpanPtrEnd (int n) |
| template<typename T > | |
| void | GetSpan (int n, ImSpan< T > *span) |
Public Attributes | |
| char * | BasePtr |
| int | CurrOff |
| int | CurrIdx |
| int | Offsets [CHUNKS] |
| int | Sizes [CHUNKS] |
|
inline |
|
inline |
|
inline |
References ImSpanAllocator< CHUNKS >::CurrOff.
|
inline |
References ImSpanAllocator< CHUNKS >::BasePtr.
|
inline |
References ImSpanAllocator< CHUNKS >::BasePtr, ImSpanAllocator< CHUNKS >::CurrIdx, IM_ASSERT, and ImSpanAllocator< CHUNKS >::Offsets.
Referenced by ImSpanAllocator< CHUNKS >::GetSpan().
|
inline |
|
inline |
| char* ImSpanAllocator< CHUNKS >::BasePtr |
| int ImSpanAllocator< CHUNKS >::CurrOff |
Referenced by ImSpanAllocator< CHUNKS >::GetArenaSizeInBytes(), and ImSpanAllocator< CHUNKS >::Reserve().
| int ImSpanAllocator< CHUNKS >::CurrIdx |
| int ImSpanAllocator< CHUNKS >::Offsets[CHUNKS] |
| int ImSpanAllocator< CHUNKS >::Sizes[CHUNKS] |
Referenced by ImSpanAllocator< CHUNKS >::GetSpanPtrEnd(), and ImSpanAllocator< CHUNKS >::Reserve().