Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FrameBuffer

Hierarchy

  • FrameBuffer

Index

Constructors

Properties

Methods

Constructors

constructor

  • new FrameBuffer(w: number, h: number, rgba: boolean): FrameBuffer

Properties

data

data: Uint8Array

height

height: number

width

width: number

Methods

setPixel

  • setPixel(x: number, y: number, color: Color): void