新增场景策略适配
This commit is contained in:
@@ -3,30 +3,25 @@ module es {
|
||||
/**
|
||||
* 在图形设备重置时触发。当这种情况发生时,任何渲染目标或其他内容的VRAM将被擦除,需要重新生成
|
||||
*/
|
||||
GraphicsDeviceReset,
|
||||
graphicsDeviceReset,
|
||||
/**
|
||||
* 当场景发生变化时触发
|
||||
*/
|
||||
SceneChanged,
|
||||
sceneChanged,
|
||||
/**
|
||||
* 当设备方向改变时触发
|
||||
*/
|
||||
OrientationChanged,
|
||||
/**
|
||||
* 当每帧事件触发时
|
||||
*/
|
||||
FrameUpdated,
|
||||
orientationChanged,
|
||||
/**
|
||||
* 当Core.useCustomUpdate为true时则派发该事件
|
||||
*/
|
||||
SceneUpdated,
|
||||
/**
|
||||
* 当场景需要绘制时
|
||||
*/
|
||||
CallDraw,
|
||||
/**
|
||||
* 当需要GC时
|
||||
*/
|
||||
CallGC,
|
||||
sceneUpdated,
|
||||
addDefaultRender,
|
||||
setRenderTarget,
|
||||
clearGraphics,
|
||||
disposeRenderTarget,
|
||||
resolutionScale,
|
||||
resolutionOffset,
|
||||
createRenderTarget,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user