Class Framebuffer

A data structure that organizes the memory resources that are needed to render an image.

Hierarchy

  • Framebuffer

Constructors

Properties

Accessors

Methods

Constructors

Properties

framebuffer: WebGLFramebuffer

The WebGL API interface of this framebuffer.

gl: WebGL2RenderingContext

The rendering context of this framebuffer.

height: number

The height of this framebuffer.

The target binding point of this framebuffer.

width: number

The width of this framebuffer.

Accessors

Methods

  • Unbinds all framebuffers from the given rendering context.

    Parameters

    • gl: WebGL2RenderingContext

      The rendering context.

    Returns void

Generated using TypeDoc