GraphicsPipeSelection
from panda3d.core import GraphicsPipeSelection
- class GraphicsPipeSelection
Bases:
DTOOL_SUPER_BASE
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 diagram
- __init__(*args, **kwargs)
- getGlobalPtr()
C++ Interface: get_global_ptr()
- /**
Returns a pointer to the one global GraphicsPipeSelection object.
*/
- getNumAuxModules()
C++ Interface: get_num_aux_modules(GraphicsPipeSelection self)
- /**
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()
C++ Interface: get_num_pipe_types(GraphicsPipeSelection self)
- /**
Returns the number of different types of GraphicsPipes that are available
to create through this interface.
*/
- getPipeType()
C++ Interface: get_pipe_type(GraphicsPipeSelection self, int n)
- /**
Returns the nth type of GraphicsPipe available through this interface.
*/
- getPipeTypes()
- get_global_ptr()
C++ Interface: get_global_ptr()
- /**
Returns a pointer to the one global GraphicsPipeSelection object.
*/
- get_num_aux_modules()
C++ Interface: get_num_aux_modules(GraphicsPipeSelection self)
- /**
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.
*/
- get_num_pipe_types()
C++ Interface: get_num_pipe_types(GraphicsPipeSelection self)
- /**
Returns the number of different types of GraphicsPipes that are available
to create through this interface.
*/
- get_pipe_type()
C++ Interface: get_pipe_type(GraphicsPipeSelection self, int n)
- /**
Returns the nth type of GraphicsPipe available through this interface.
*/
- get_pipe_types()
- loadAuxModules()
C++ Interface: load_aux_modules(const GraphicsPipeSelection self)
- /**
Loads all the modules named in the aux-display Configrc variable, making as
many graphics pipes as possible available.
*/
- load_aux_modules()
C++ Interface: load_aux_modules(const GraphicsPipeSelection self)
- /**
Loads all the modules named in the aux-display Configrc variable, making as
many graphics pipes as possible available.
*/
- makeDefaultPipe()
C++ Interface: make_default_pipe(const GraphicsPipeSelection self)
- /**
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()
C++ Interface: make_module_pipe(const GraphicsPipeSelection self, str module_name)
- /**
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()
C++ Interface: make_pipe(const GraphicsPipeSelection self, str type_name, str module_name)
- /**
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().
*/
- /**
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.
*/
- make_default_pipe()
C++ Interface: make_default_pipe(const GraphicsPipeSelection self)
- /**
Creates a new GraphicsPipe of some arbitrary type. The user may specify a
preference using the Configrc file; otherwise, one will be chosen
arbitrarily.
*/
- make_module_pipe()
C++ Interface: make_module_pipe(const GraphicsPipeSelection self, str module_name)
- /**
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.
*/
- make_pipe()
C++ Interface: make_pipe(const GraphicsPipeSelection self, str type_name, str module_name)
- /**
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().
*/
- /**
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.
*/
- pipe_types