Class

ZBuffer

ZBuffer(bitmap)

Constructor

# new ZBuffer(bitmap)

Create a ZBuffer. A ZBuffer must be set as current before using it.
Parameters:
Name Type Description
bitmap Bitmap the bitmap to draw to or null for the screen.

Methods

# Clear(z)

Clear ZBuffer with given value.
Parameters:
Name Type Description
z number value to use for clearing.

# Set()

Set this ZBuffer as current.