# 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
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; Filename: graphicsPipeSelection.I Created by: drose (15Aug02) PANDA 3D SOFTWARE Copyright (c) 2001 - 2004, Disney Enterprises, Inc. All rights reserved All use of this software is subject to the terms of the Panda 3d Software license. You should have received a copy of this license along with this source code; you will also find a current copy of the license at http://etc.cmu.edu/panda3d/docs/license/ . To contact the maintainers of this program write to panda3d-general@lists.sourceforge.net . 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.

makePipe PointerTo< GraphicsPipe > GraphicsPipeSelection::make_pipe(TypeHandle type); 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.

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.