The Framebuffer represents the visible color output buffer.

Constructor

new (windowId:Int, g1:Graphics, g2:Graphics, g4:Graphics)

Used internally.

Variables

read onlyg1:Graphics

The Graphics1 interface object.
Basic setPixel operation.

read onlyg2:Graphics

The Graphics2 interface object.
Use this for 2D operations.

read onlyg4:Graphics

The Graphics4 interface object.
Use this for 3D operations.

read onlyheight:Int

The height of the buffer in pixels.

read onlywidth:Int

The width of the buffer in pixels.

Methods

init (g1:Graphics, g2:Graphics, g4:Graphics):Void

Used internally.