14 #ifndef VERTEXDATABUFFER_H 15 #define VERTEXDATABUFFER_H 60 INLINE
const unsigned char *get_read_pointer(
bool force)
const RETURNS_ALIGNED(MEMORY_HOOK_ALIGNMENT);
61 INLINE
unsigned char *get_write_pointer() RETURNS_ALIGNED(MEMORY_HOOK_ALIGNMENT);
63 INLINE
size_t get_size()
const;
64 INLINE
size_t get_reserved_size()
const;
65 INLINE
void set_size(
size_t size);
66 INLINE
void clean_realloc(
size_t reserved_size);
67 INLINE
void unclean_realloc(
size_t reserved_size);
75 void do_clean_realloc(
size_t size);
76 void do_unclean_realloc(
size_t size);
81 unsigned char *_resident_data;
83 size_t _reserved_size;
91 static void init_type() {
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A block of bytes that stores the actual raw vertex data referenced by a GeomVertexArrayData object.
A block of bytes that stores the actual raw vertex data referenced by a GeomVertexArrayData object.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A collection of VertexDataPages, which can be used to allocate new VertexDataBlock objects.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
This is a standard, non-reentrant mutex, similar to the Mutex class.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.