Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • FBO

Index

Constructors

constructor

  • new FBO(gl: WebGLRenderingContext, width: number, height: number, texture?: WebGLTexture | null, isDepthNeed?: boolean): FBO
  • Parameters

    • gl: WebGLRenderingContext
    • width: number
    • height: number
    • Optional texture: WebGLTexture | null
    • Default value isDepthNeed: boolean = false

    Returns FBO

Properties

Private buffer

buffer: WebGLFramebuffer | null

Private Optional depth

depth: WebGLRenderbuffer | null

Private gl

gl: WebGLRenderingContext

Private height

height: number

Private texture

texture: WebGLTexture | null

Private width

width: number

Methods

bind

  • bind(): void

Private bindTex

  • bindTex(): void

Private createDepth

  • createDepth(): void

getTexture

  • getTexture(): null | WebGLTexture

resize

  • resize(width: number, height: number, texture?: WebGLTexture): void
  • Parameters

    • width: number
    • height: number
    • Optional texture: WebGLTexture

    Returns void

unbind

  • unbind(): void

Private updateDepth

  • updateDepth(): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc