14 #ifndef INDEXBUFFERCONTEXT_H 15 #define INDEXBUFFERCONTEXT_H 47 INLINE
void mark_unloaded();
49 virtual void output(std::ostream &out)
const;
50 virtual void write(std::ostream &out,
int indent_level)
const;
53 GeomEnums::UsageHint _usage_hint;
59 static void init_type() {
60 BufferContext::init_type();
62 BufferContext::get_class_type());
65 return get_class_type();
67 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
75 inline std::ostream &operator << (std::ostream &out,
const IndexBufferContext &context) {
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a special class object that holds all the information returned by a particular GSG to indicat...
This is a base class for those kinds of SavedContexts that occupy an easily-measured (and substantial...
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.
This is an abstract base class for a family of classes that represent the fundamental geometry primit...
A table of objects that are saved within the graphics context for reference by handle later.
void update_data_size_bytes(size_t new_data_size_bytes)
Should be called (usually by a derived class) when the on-card size of this object has changed.
One atomic piece that may be managed by a AdaptiveLru chain.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Encapsulates the data from a GeomPrimitive, pre-fetched for one stage of the pipeline.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.