UniVRM/Assets/VRMShaders/GLTF/IO/Runtime/AwaitCaller
Takayuki Matsuoka a68d0122ce BREAKING CHANGE: Introduce NextFrameIfTimedOut as a new interface method of IAwaitCaller
This is a breaking change since it introduces new interface method to IAwaitCaller.

----

NextFrameIfTimedOut() is added to IAwaitCaller.  The following inheritors also introduce the method.

- ImmediateCaller.NextFrameIfTimedOut() just invokes NextFrame().
- RuntimeOnlyAwaitCaller.NextFrameIfTimedOut() invokes NextFrame() if timed out.  Otherwise, do nothing.
- RuntimeOnlyNoThreadAwaitCaller.NextFrameIfTimedOut() works same as RuntimeOnlyAwaitCaller.

Constructor of RuntimeOnlyAwaitCaller and RuntimeOnlyNoThreadAwaitCaller
now take argument of timeout in seconds.  The default value is 1/1000 (1 milliseconds).

See also:
https://github.com/vrm-c/UniVRM/pull/1781#pullrequestreview-1100131840
2022-09-08 17:39:05 +09:00
..
IAwaitCaller.cs BREAKING CHANGE: Introduce NextFrameIfTimedOut as a new interface method of IAwaitCaller 2022-09-08 17:39:05 +09:00
IAwaitCaller.cs.meta mv 2021-10-14 18:19:15 +09:00
ImmediateCaller.cs BREAKING CHANGE: Introduce NextFrameIfTimedOut as a new interface method of IAwaitCaller 2022-09-08 17:39:05 +09:00
ImmediateCaller.cs.meta mv 2021-10-14 18:19:15 +09:00
NextFrameTaskScheduler.cs make internal 2021-10-14 19:43:00 +09:00
NextFrameTaskScheduler.cs.meta RuntimeOnlyAwaitCaller を実装 2021-10-14 19:18:44 +09:00
RuntimeOnlyAwaitCaller.cs BREAKING CHANGE: Introduce NextFrameIfTimedOut as a new interface method of IAwaitCaller 2022-09-08 17:39:05 +09:00
RuntimeOnlyAwaitCaller.cs.meta RuntimeOnlyAwaitCaller を実装 2021-10-14 19:18:44 +09:00
RuntimeOnlyNoThreadAwaitCaller.cs BREAKING CHANGE: Introduce NextFrameIfTimedOut as a new interface method of IAwaitCaller 2022-09-08 17:39:05 +09:00
RuntimeOnlyNoThreadAwaitCaller.cs.meta WebGLの動作確認用 2022-07-26 14:30:51 +09:00
TinyManagedTaskScheduler.cs make internal 2021-10-14 19:43:00 +09:00
TinyManagedTaskScheduler.cs.meta RuntimeOnlyAwaitCaller を実装 2021-10-14 19:18:44 +09:00