Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OffscreenRenderTarget

Render target contains texture and render buffer

Hierarchy

  • OffscreenRenderTarget

Implements

Index

Constructors

constructor

Properties

Optional depthBuffer

depthBuffer: RenderBuffer

fbo

gl

gl: WebGLRenderingContext

textures

textures: Texture2D[]

Accessors

texture

Methods

beforeDraw

  • beforeDraw(clearFlag: number, color: number[], depth: number): void

bind

  • bind(): void

getBufferHeight

  • getBufferHeight(): number

getBufferWidth

  • getBufferWidth(): number

getViewport

Generated using TypeDoc