Synced
ScheduledShellFrameDriver.Constructor
Section titled “ScheduledShellFrameDriver.Constructor”
- Creates a driver whose scheduling callback resumes on the frame owner’s thread.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Shell
Declaration
Section titled “Declaration”public Inno.Shell.ScheduledShellFrameDriver.ScheduledShellFrameDriver(System.Func<System.Threading.CancellationToken, System.Threading.Tasks.ValueTask> nextFrame)Parameters
Section titled “Parameters”Parameter nextFrame: The callback that waits for a presentation opportunity and observes cancellation.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: The callback is null.