Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Renderer

Hierarchy

  • Renderer

Index

Constructors

constructor

  • new Renderer(canvas: HTMLCanvasElement): Renderer

Properties

canvas

canvas: HTMLCanvasElement

gl

gl: WebGLRenderingContext

pixelRatio

pixelRatio: number = 1

Methods

dispose

  • dispose(): void

render

setPixelRatio

  • setPixelRatio(pixelRatio: number): Renderer

setSize

  • setSize(width: number, height: number): Renderer

Generated using TypeDoc