Skip to content

Commit

Permalink
feat: add flush and finish to framebuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
bhouston committed Jul 18, 2020
1 parent 6deb7bc commit 7802704
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/lib/renderers/webgl/framebuffers/VirtualFramebuffer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,13 @@ export abstract class VirtualFramebuffer implements IDisposable {
this.context.render(node, camera);
}

flush(): void {
this.context.gl.flush();
}

finish(): void {
this.context.gl.finish();
}

abstract dispose(): void;
}

0 comments on commit 7802704

Please sign in to comment.