Add basic tiled rendering
This commit is contained in:
parent
854e5a55a1
commit
edffd22c2e
1 changed files with 353 additions and 170 deletions
|
|
@ -1,9 +1,8 @@
|
|||
import { IProgram } from '../program/i-program';
|
||||
import { FrameBuffer } from './frame-buffer';
|
||||
|
||||
export class DefaultFrameBuffer extends FrameBuffer {
|
||||
constructor(gl: WebGL2RenderingContext, programs: Array<IProgram>) {
|
||||
super(gl, programs);
|
||||
constructor(gl: WebGL2RenderingContext) {
|
||||
super(gl);
|
||||
this.frameBuffer = null;
|
||||
|
||||
this.setSize();
|
||||
|
|
|
|||
Loading…
Reference in a new issue