Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Framebuffer

Index

Constructors

constructor

  • new Framebuffer(gl: WebGLRenderingContext, params?: FramebufferOptions): Framebuffer

Properties

Private #buffer

#buffer: null | WebGLFramebuffer

Private #depth

#depth: boolean

Optional Private #depthBuffer

#depthBuffer: undefined | null | WebGLRenderbuffer

Private #gl

#gl: WebGLRenderingContext

Private #height

#height: number

Private #useDepthRenderBuffer

#useDepthRenderBuffer: boolean

Private #width

#width: number

Optional depthTexture

depthTexture: undefined | Texture

texture

texture: Texture

Methods

bind

checkCompleteness

  • checkCompleteness(): number

delete

  • delete(): void

reset

unbind

updateWithSize

  • updateWithSize(width: number, height: number, updateTexture?: boolean): Framebuffer

Static supportRenderingToFloat

  • supportRenderingToFloat(gl: any): boolean

Static supportRenderingToHalfFloat

  • supportRenderingToHalfFloat(gl: any): boolean

Generated using TypeDoc