Class WebGLRenderer

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(width: number, height: number, view?: HTMLCanvasElement, transparent?: boolean, antialias?: boolean): WebGLRenderer

Parameters

  • width: number
  • height: number
  • view?: HTMLCanvasElement optional
  • transparent?: boolean optional
  • antialias?: boolean optional

Returns

WebGLRenderer

Properties

public view: HTMLCanvasElement

Methods

public render(stage: Stage)

Parameters

public resize(width: number, height: number)

Parameters

  • width: number
  • height: number