Class TimeBudgetPerFrameDeferAgent
Claims a certain fraction of the target frame time and keeps track of whether this time frame was surpassed.
Implements
Inherited Members
Namespace: GLTFast
Assembly: solution.dll
Syntax
[DefaultExecutionOrder(-10)]
public class TimeBudgetPerFrameDeferAgent : MonoBehaviour, IDeferAgent
Methods
| Name | Description |
|---|---|
| BreakPoint() | Conditional yield. May continue right away or yield once, based on time. |
| BreakPoint(float) | Conditional yield. May continue right away or yield once, based on time and duration. |
| SetFrameBudget(float) | Defers work to the next frame if a fix time budget is used up. |
| ShouldDefer() | This will be called at various points in the loading procedure. |
| ShouldDefer(float) | Indicates if upcoming work should be deferred to the next frame. |