Skip to content

Commit

Permalink
export RendererInstance and RendererBuffer in index
Browse files Browse the repository at this point in the history
  • Loading branch information
reindernijhoff committed Nov 7, 2023
1 parent b00cc6b commit 076f182
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export { default as ImageEffectRenderer } from './lib/ImageEffectRenderer.js';
export { RendererInstance } from './lib/RendererInstance.js';
export { RendererBuffer } from './lib/RendererBuffer.js';
2 changes: 1 addition & 1 deletion src/lib/ImageEffectRenderer.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {WebGLInstance} from './WebGLInstance.js';
import RendererInstance from "./RendererInstance.js";
import {RendererInstance} from "./RendererInstance.js";

/**
* @typedef {Object} ImageEffectRendererOptions
Expand Down
2 changes: 1 addition & 1 deletion src/lib/RendererInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {ImageEffectRenderer} from "../index.js";
import {type BufferOptions, RendererBuffer} from "./RendererBuffer.js";
import Program from "./Program.js";

export default class RendererInstance extends Renderer {
export class RendererInstance extends Renderer {
private static index: number = 0;

public canvas: HTMLCanvasElement;
Expand Down

0 comments on commit 076f182

Please sign in to comment.