VertexDataBook VertexDataBook::VertexDataBook(unsigned int block_size); Description: |
alloc VertexDataBlock *VertexDataBook::alloc(unsigned int size); Description: Allocates and returns a new VertexDataBuffer of the requested size. |
countAllocatedSize unsigned int VertexDataBook::count_allocated_size(void) const; Description: Returns the total size of all bytes allocated within pages owned by this book. Description: Returns the total size of all bytes allocated within pages owned by this book that have the indicated ram class. |
countTotalPageSize unsigned int VertexDataBook::count_total_page_size(void) const; Description: Returns the total size of all bytes owned by all pages owned by this book. Description: Returns the total size of all bytes owned by all pages owned by this book that have the indicated ram class. |
getNumPages int VertexDataBook::get_num_pages(void) const; Description: Returns the number of pages created for the book. |
saveToDisk void VertexDataBook::save_to_disk(void); Description: Writes all pages to disk immediately, just in case they get evicted later. It makes sense to make this call just before taking down a loading screen, to minimize chugs from saving pages inadvertently later. |