Panda3D
Functions
graphicsPipeSelection.cxx File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "graphicsPipeSelection.h"
#include "lightMutexHolder.h"
#include "string_utils.h"
#include "filename.h"
#include "load_dso.h"
#include "config_display.h"
#include "typeRegistry.h"
#include "config_putil.h"
#include <algorithm>

Go to the source code of this file.

Functions

 PT (GraphicsPipe) GraphicsPipeSelection
 Creates a new GraphicsPipe of the indicated type (or a type more specific than the indicated type, if necessary) and returns it. More...
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
2002-08-15

Definition in file graphicsPipeSelection.cxx.

Function Documentation

◆ PT()

PT ( GraphicsPipe  )

Creates a new GraphicsPipe of the indicated type (or a type more specific than the indicated type, if necessary) and returns it.

Creates a new GraphicsPipe of some arbitrary type.

Returns a new GraphicsPipe of a type defined by the indicated module.

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().

Returns NULL if the type cannot be matched.

Returns NULL if the module is not found or does not properly recommend a GraphicsPipe.

The user may specify a preference using the Configrc file; otherwise, one will be chosen arbitrarily.

Definition at line 145 of file graphicsPipeSelection.cxx.

References TypeRegistry::find_type(), GraphicsPipeSelection::load_aux_modules(), and TypeRegistry::ptr().