# GraphicsPipeSelection

from pandac.PandaModules import GraphicsPipeSelection

Class : GraphicsPipeSelection
Description : This maintains a list of GraphicsPipes by type that are available for creation. Normally there is one default interactive GraphicsPipe, and possibly other types available as well.

## Inheritance:

GraphicsPipeSelection:

## Methods of GraphicsPipeSelection:

getGlobalPtr
getNumAuxModules
getNumPipeTypes
getPipeType
loadAuxModules
makeDefaultPipe
makeModulePipe
makePipe
printPipeTypes

getGlobalPtr static GraphicsPipeSelection *GraphicsPipeSelection::get_global_ptr(void); Description: Returns a pointer to the one global GraphicsPipeSelection object.

getNumAuxModules int GraphicsPipeSelection::get_num_aux_modules(void) const; Description: Returns the number of display modules that are still to be loaded. If this is nonzero, then calling load_aux_modules() will likely increase the number of GraphicsPipes available.

getNumPipeTypes int GraphicsPipeSelection::get_num_pipe_types(void) const; Description: Returns the number of different types of GraphicsPipes that are available to create through this interface.

getPipeType TypeHandle GraphicsPipeSelection::get_pipe_type(int n) const; Description: Returns the nth type of GraphicsPipe available through this interface.

loadAuxModules void GraphicsPipeSelection::load_aux_modules(void); Description: Loads all the modules named in the aux-display Configrc variable, making as many graphics pipes as possible available.

makeDefaultPipe PointerTo< GraphicsPipe > GraphicsPipeSelection::make_default_pipe(void); Description: Creates a new GraphicsPipe of some arbitrary type. The user may specify a preference using the Configrc file; otherwise, one will be chosen arbitrarily.

makeModulePipe PointerTo< GraphicsPipe > GraphicsPipeSelection::make_module_pipe(string const &module_name); Description: Returns a new GraphicsPipe of a type defined by the indicated module. Returns NULL if the module is not found or does not properly recommend a GraphicsPipe.

makePipe PointerTo< GraphicsPipe > GraphicsPipeSelection::make_pipe(string const &type_name, string const &module_name = ((string()))); Description: Creates a new GraphicsPipe of the indicated type (or a type more specific than the indicated type, if necessary) and returns it. Returns NULL if the type cannot be matched. If the type is not already defined, this will implicitly load the named module, or if module_name is empty, it will call load_aux_modules().

printPipeTypes void GraphicsPipeSelection::print_pipe_types(void) const; Description: Writes a list of the currently known GraphicsPipe types to nout, for the user's information.