GraphicsPipeSelection

Inheritance:

Methods of GraphicsPipeSelection:

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.