sdfsdfs
This commit is contained in:
40
node_modules/pixi.js/lib/rendering/renderers/shared/SchedulerSystem.d.ts
generated
vendored
Normal file
40
node_modules/pixi.js/lib/rendering/renderers/shared/SchedulerSystem.d.ts
generated
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
import { ExtensionType } from '../../../extensions/Extensions';
|
||||
import type { System } from './system/System';
|
||||
/**
|
||||
* The SchedulerSystem manages scheduled tasks with specific intervals.
|
||||
* @memberof rendering
|
||||
*/
|
||||
export declare class SchedulerSystem implements System<null> {
|
||||
/** @ignore */
|
||||
static extension: {
|
||||
readonly type: readonly [ExtensionType.WebGLSystem, ExtensionType.WebGPUSystem, ExtensionType.CanvasSystem];
|
||||
readonly name: "scheduler";
|
||||
readonly priority: 0;
|
||||
};
|
||||
private readonly _tasks;
|
||||
/** Initializes the scheduler system and starts the ticker. */
|
||||
init(): void;
|
||||
/**
|
||||
* Schedules a repeating task.
|
||||
* @param func - The function to execute.
|
||||
* @param duration - The interval duration in milliseconds.
|
||||
* @returns The unique identifier for the scheduled task.
|
||||
*/
|
||||
repeat(func: (elapsed: number) => void, duration: number): number;
|
||||
/**
|
||||
* Cancels a scheduled task.
|
||||
* @param id - The unique identifier of the task to cancel.
|
||||
*/
|
||||
cancel(id: number): void;
|
||||
/**
|
||||
* Updates and executes the scheduled tasks.
|
||||
* @private
|
||||
*/
|
||||
private _update;
|
||||
/**
|
||||
* Destroys the scheduler system and removes all tasks.
|
||||
* @internal
|
||||
* @ignore
|
||||
*/
|
||||
destroy(): void;
|
||||
}
|
Reference in New Issue
Block a user