UNPKG

@spearwolf/twopoint5d

Version:

Create 2.5D realtime graphics and pixelart with WebGL and three.js

16 lines 453 B
export class ClearStage { constructor(opts = {}, name = 'clear') { this.color = opts.color ?? false; this.depth = opts.depth ?? true; this.stencil = opts.stencil ?? false; this.name = name; } resize(_width, _height) { } updateFrame(_now, _deltaTime, _frameNo) { } renderTo(renderer) { renderer.clear(this.color, this.depth, this.stencil); } } //# sourceMappingURL=ClearStage.js.map