14 #ifndef VERTEXDATASAVEFILE_H 15 #define VERTEXDATASAVEFILE_H 23 #ifndef WIN32_LEAN_AND_MEAN 24 #define WIN32_LEAN_AND_MEAN 1 43 INLINE
bool is_valid()
const;
45 INLINE
size_t get_total_file_size()
const;
46 INLINE
size_t get_used_file_size()
const;
51 bool read_data(
unsigned char *data,
size_t size,
60 size_t _total_file_size;
76 size_t start,
size_t size);
79 INLINE
void set_compressed(
bool compressed);
80 INLINE
bool get_compressed()
const;
86 INLINE
unsigned char *get_pointer()
const;
A block of bytes on the save file.
A temporary file to hold the vertex data that has been evicted from memory and written to disk.
An implementation of a very simple block allocator.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A standard mutex, or mutual exclusion lock.
A single block as returned from SimpleAllocator::alloc().
The name of a file, such as a texture file or an Egg file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A base class for all things that want to be reference-counted.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.