mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -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.pipe.getInterfaceName(), self.pipe.getType().getName()))
|
||||||
self.pipeList.append(self.pipe)
|
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):
|
def makeAllPipes(self):
|
||||||
"""
|
"""
|
||||||
Creates all GraphicsPipes that the system knows about and fill up
|
Creates all GraphicsPipes that the system knows about and fill up
|
||||||
|
Loading…
x
Reference in New Issue
Block a user