21 return _display_modules.size();
29 if (_global_ptr ==
nullptr) {
39 INLINE
void GraphicsPipeSelection::
40 load_default_module()
const {
41 if (!_default_module_loaded) {
49 INLINE GraphicsPipeSelection::PipeType::
50 PipeType(
TypeHandle type, PipeConstructorFunc *constructor) :
52 _constructor(constructor)
This maintains a list of GraphicsPipes by type that are available for creation.
static GraphicsPipeSelection * get_global_ptr()
Returns a pointer to the one global GraphicsPipeSelection object.
TypeHandle is the identifier used to differentiate C++ class types.
int get_num_aux_modules() const
Returns the number of display modules that are still to be loaded.