glFilters - v0.6.0
    Preparing search index...

    Class GLRenderer

    Compiled renderer that caches shader programs for reuse across frames.

    Use this when you need to apply the same filter chain repeatedly — for video processing or batch image operations.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Release all GPU resources.

      Returns void

    • Render the filter chain.

      Parameters

      • source: TextureSource

        Input texture source (ImageData, HTMLVideoElement, etc.)

      • toCanvas: boolean

        If true, final pass renders to the default framebuffer (canvas). If false, final pass renders to a ping-pong framebuffer (for readPixels).

      Returns void