diff --git a/src/index.ts b/src/index.ts index 47d93e8..b5dca15 100755 --- a/src/index.ts +++ b/src/index.ts @@ -1 +1,3 @@ export { default as ImageEffectRenderer } from './lib/ImageEffectRenderer.js'; +export { RendererInstance } from './lib/RendererInstance.js'; +export { RendererBuffer } from './lib/RendererBuffer.js'; diff --git a/src/lib/ImageEffectRenderer.ts b/src/lib/ImageEffectRenderer.ts index bcde2bc..8154f74 100644 --- a/src/lib/ImageEffectRenderer.ts +++ b/src/lib/ImageEffectRenderer.ts @@ -1,5 +1,5 @@ import {WebGLInstance} from './WebGLInstance.js'; -import RendererInstance from "./RendererInstance.js"; +import {RendererInstance} from "./RendererInstance.js"; /** * @typedef {Object} ImageEffectRendererOptions diff --git a/src/lib/RendererInstance.ts b/src/lib/RendererInstance.ts index 341de12..8ff49f5 100644 --- a/src/lib/RendererInstance.ts +++ b/src/lib/RendererInstance.ts @@ -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;