mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
makeModulePipe
This commit is contained in:
parent
2fc114a01e
commit
cec576dd6b
@ -467,6 +467,16 @@ class ShowBase(DirectObject.DirectObject):
|
||||
self.pipe.getInterfaceName(), self.pipe.getType().getName()))
|
||||
self.pipeList.append(self.pipe)
|
||||
|
||||
def makeModulePipe(self, moduleName):
|
||||
"""
|
||||
Returns a GraphicsPipe from the indicated module,
|
||||
e.g. 'pandagl' or 'pandadx9'. Does not affect base.pipe or
|
||||
base.pipeList.
|
||||
"""
|
||||
|
||||
selection = GraphicsPipeSelection.getGlobalPtr()
|
||||
return selection.makeModulePipe(moduleName)
|
||||
|
||||
def makeAllPipes(self):
|
||||
"""
|
||||
Creates all GraphicsPipes that the system knows about and fill up
|
||||
|
Loading…
x
Reference in New Issue
Block a user