| 39 | HelloDXR::~HelloDXR() {} |
| 40 | |
| 41 | void HelloDXR::onLoad(RenderContext* pRenderContext) |
| 42 | { |
| 43 | if (getDevice()->isFeatureSupported(Device::SupportedFeatures::Raytracing) == false) |
| 44 | { |
| 45 | FALCOR_THROW("Device does not support raytracing!"); |
| 46 | } |
| 47 | |
| 48 | loadScene(kDefaultScene, getTargetFbo().get()); |
| 49 | } |
| 50 | |
| 51 | void HelloDXR::onResize(uint32_t width, uint32_t height) |
| 52 | { |
nothing calls this directly
no test coverage detected