## ZBuffer(bitmap)

Constructor

#### # new ZBuffer(bitmap)

Create a ZBuffer. A ZBuffer must be set as current before using it.

Note: al3d module must be loaded by calling LoadLibrary("al3d") before using!

##### 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.