动态合批

This commit is contained in:
yhh
2020-09-15 09:39:26 +08:00
parent 4ce810bdcd
commit 8e97dcda9c
8 changed files with 112 additions and 14 deletions

View File

@@ -364,6 +364,7 @@ declare module es {
_renderers: Renderer[];
readonly _postProcessors: PostProcessor[];
_didSceneBegin: any;
dynamicBatch: boolean;
constructor();
static createWithDefaultRenderer(): Scene;
initialize(): void;
@@ -376,6 +377,7 @@ declare module es {
updateResolutionScaler(): void;
update(): void;
render(): void;
dynamicInBatch(): void;
postRender(): void;
requestScreenshot(callback: Function): void;
addSceneComponent<T extends SceneComponent>(component: T): T;