Checks if all assets are currently loaded.
StaticisReturns the global loading progress (0.0 to 1.0).
OptionalonProgress: ProgressCallbackOptionalonProgress: ProgressCallbackOptionalonProgress: ProgressCallbackOptionalonProgress: ProgressCallbackReturns a promise that resolves when all currently active loading processes are finished.
Resolves a relative or root-relative URL against the configured base URL or Vite base path.
The asset URL to resolve.
Sets a base URL that will be prepended to all relative asset paths.
The base URL (e.g. "https://cdn.example.com/assets/").
Sets a custom header to be sent with every asset request.
The header name (e.g. "Authorization").
The header value.
Streams a binary resource chunk-by-chunk directly with chunk notifications and builds a contiguous ArrayBuffer (DirectStorage Web streaming).
The resource URL.
OptionalonChunk: (chunk: Uint8Array, loaded: number, total: number) => void
Optional callback invoked when each chunk is received.
OptionalonProgress: ProgressCallback
Optional progress callback.
StaticgetStaticloadOptionalonProgress: ProgressCallbackStaticloadOptionalonProgress: ProgressCallbackStaticloadOptionalonProgress: ProgressCallbackStaticloadOptionalonProgress: ProgressCallbackStaticonStaticsetStaticsetStaticstreamOptionalonChunk: (chunk: Uint8Array, loaded: number, total: number) => voidOptionalonProgress: ProgressCallback
Per-instance manager for loading and caching assets (images, text, etc.). Construct one per engine instance (see
RendererContext.assetManager) so its cache can be released with the engine instead of living for the process's lifetime.