新增renderer渲染器 用于控制场景如何渲染

This commit is contained in:
yhh
2020-06-18 16:35:51 +08:00
parent 915056203d
commit feaac83ee7
15 changed files with 459 additions and 25 deletions

View File

@@ -0,0 +1,22 @@
class RenderableComponentList {
private _components: IRenderable[] = [];
public get count(){
return this._components.length;
}
public get buffer(){
return this._components;
}
public add(component: IRenderable){
this._components.push(component);
}
public remove(component: IRenderable){
this._components.remove(component);
}
public updateList(){
}
}