Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FrameBuffer

Hierarchy

Index

Constructors

constructor

  • new FrameBuffer(gl: WebGLRenderingContext): FrameBuffer

Properties

destroyed

destroyed: boolean = false

gl

gl: WebGLRenderingContext

index

index: number

resourceReference

resourceReference: WebGLFramebuffer

validPromise

validPromise: Promise<GLResource<WebGLFramebuffer>>

Accessors

metadata

  • get metadata(): object

valid

  • get valid(): boolean
  • set valid(val: boolean): void

Methods

bind

  • bind(): void

destroy

  • destroy(): void

setMetadata

  • setMetadata(key: string, value: any): void

update

  • update(boundTo: RenderBuffer, attachTo?: number): void
  • update(boundTo: Texture2D, level?: number, bindIndex?: number): void

Generated using TypeDoc