Type Alias useFramebuffer

useFramebuffer: ((hook: (() => void)) => any)

Bind a GL framebuffer while calling a given function; via a GL api.

See

This

Uses any this value's framebuffer (or similar handling).

Type declaration

    • (hook): any
    • Parameters

      • hook: (() => void)

        A function to call while the framebuffer is bound.

          • (): void
          • Returns void

      Returns any