Files
esengine/source/src/ECS/CoreEvents.ts

33 lines
764 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
module es {
export enum CoreEvents {
/**
* 在图形设备重置时触发。当这种情况发生时任何渲染目标或其他内容的VRAM将被擦除需要重新生成
*/
GraphicsDeviceReset,
/**
* 当场景发生变化时触发
*/
SceneChanged,
/**
* 当设备方向改变时触发
*/
OrientationChanged,
/**
* 当每帧事件触发时
*/
FrameUpdated,
/**
* 当Core.useCustomUpdate为true时则派发该事件
*/
SceneUpdated,
/**
* 当场景需要绘制时
*/
CallDraw,
/**
* 当需要GC时
*/
CallGC,
}
}