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

Function create_testbed

scripts/inv-rendering/common.py:30–38  ·  view source on GitHub ↗
(reso: (int, int))

Source from the content-addressed store, hash-verified

28
29
30def create_testbed(reso: (int, int)):
31 device_id = 0
32 testbed = falcor.Testbed(
33 width=reso[0], height=reso[1], create_window=True, gpu=device_id
34 )
35 testbed.show_ui = False
36 testbed.clock.time = 0
37 testbed.clock.pause()
38 return testbed
39
40
41def create_passes(testbed: falcor.Testbed, max_bounces: int, use_war: bool):

Callers

nothing calls this directly

Calls 2

TestbedMethod · 0.80
pauseMethod · 0.45

Tested by

no test coverage detected