MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / get

Method get

tests/python_tests/helpers.py:12–15  ·  view source on GitHub ↗
(self, device_type)

Source from the content-addressed store, hash-verified

10 self.devices = {}
11
12 def get(self, device_type):
13 if device_type not in self.devices:
14 self.devices[device_type] = falcor.Device(type=device_type)
15 return self.devices[device_type]
16
17
18device_cache = DeviceCache()

Callers 1

wrapperFunction · 0.45

Calls 1

DeviceMethod · 0.80

Tested by

no test coverage detected