mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-07 03:52:41 +08:00
18 lines
387 B
TypeScript
18 lines
387 B
TypeScript
import { CachedArray } from '../../core/memop/cached-array';
|
|
import { Camera } from '../scene/camera';
|
|
import { UIBatchModel } from './ui-batch-model';
|
|
|
|
export interface IUIRenderItem {
|
|
camera: Camera;
|
|
batchModel: UIBatchModel;
|
|
}
|
|
|
|
export class UIRenderQueue {
|
|
|
|
public items: CachedArray<IUIRenderItem>;
|
|
|
|
constructor () {
|
|
this.items = new CachedArray(64);
|
|
}
|
|
}
|