Class TimeBudgetPerFrameDeferAgent
Claims a certain fraction of the target frame time and keeps track of whether this time frame was surpassed.
Implements
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
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. |