UNPKG

gl-react

Version:

Universal React library, write and compose WebGL shaders, implement complex effects using a descriptive paradigm

18 lines 781 B
import type { Surface } from "./createSurface"; import type Node from "./Node"; import type Bus from "./Bus"; import Visitor from "./Visitor"; export default class VisitorLogger extends Visitor { groupNestedLvl: number; onSurfaceGLContextChange(surface: Surface, gl: WebGLRenderingContext | null): void; onSurfaceDrawSkipped(): void; onSurfaceDrawStart(surface: Surface): void; onSurfaceDrawError(e: Error): boolean; onSurfaceDrawEnd(): void; onNodeDrawSkipped(node: Node): void; onNodeDrawStart(node: Node): void; onNodeSyncDeps(node: Node, additions: Array<Bus | Node>, deletions: Array<Bus | Node>): void; onNodeDraw(node: Node, preparedUniforms: Array<any>): void; onNodeDrawEnd(): void; } //# sourceMappingURL=VisitorLogger.d.ts.map