| 62 | } |
| 63 | |
| 64 | ref<Device> accessActivePythonRenderGraphDevice() |
| 65 | { |
| 66 | if (!spActivePythonRenderGraphDevice) |
| 67 | FALCOR_THROW("This can only be called from a script executed in Mogwai or when loading a render graph file!"); |
| 68 | return spActivePythonRenderGraphDevice; |
| 69 | } |
| 70 | |
| 71 | } // namespace Falcor |
no outgoing calls
no test coverage detected