| 175 | } |
| 176 | |
| 177 | void FrameBuffer::cancelFrame() |
| 178 | { |
| 179 | cancelRender = true; |
| 180 | // TODO: Cancellation isn't supported on the GPU |
| 181 | #ifndef OSPRAY_TARGET_SYCL |
| 182 | getSh()->cancelRender = 1; |
| 183 | #endif |
| 184 | } |
| 185 | |
| 186 | bool FrameBuffer::frameCancelled() const |
| 187 | { |