Add parallel shader compiling
This commit is contained in:
parent
a6efbc02b9
commit
39a6ee9a20
1 changed files with 209 additions and 77 deletions
|
|
@ -24,6 +24,10 @@ export class RenderingPass {
|
|||
);
|
||||
}
|
||||
|
||||
public async initialize(): Promise<void> {
|
||||
await this.program.initialize();
|
||||
}
|
||||
|
||||
public addDrawable(drawable: IDrawable) {
|
||||
this.drawables.push(drawable);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue