Completion of one submitted frame. More...
#include <gpu_pass.hpp>
Public Member Functions | |
| GpuSubmission ()=default | |
| GpuSubmissionStatus | status () const |
| Current status without running callbacks. | |
| GpuSubmissionStatus | poll () const |
| Run pending callbacks once, then report. | |
| GpuSubmissionStatus | wait (std::chrono::milliseconds timeout) const |
| Run callbacks until terminal or timeout; pending on timeout. | |
| std::optional< GpuError > | error () const |
| The failure, once status() is failed. | |
Friends | |
| struct | detail::GpuAccess |
Completion of one submitted frame.
Querying never blocks unless wait() is called.
|
default |
| std::optional< GpuError > pulp::render::GpuSubmission::error | ( | ) | const |
The failure, once status() is failed.
| GpuSubmissionStatus pulp::render::GpuSubmission::poll | ( | ) | const |
Run pending callbacks once, then report.
| GpuSubmissionStatus pulp::render::GpuSubmission::status | ( | ) | const |
Current status without running callbacks.
| GpuSubmissionStatus pulp::render::GpuSubmission::wait | ( | std::chrono::milliseconds | timeout | ) | const |
Run callbacks until terminal or timeout; pending on timeout.
|
friend |