## ZBuffer(bitmap)

#### new ZBuffer(bitmap)
`doc/classes.js`, `line 257`

  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)
`doc/classes.js`, `line 262`

  Clear ZBuffer with given value.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `z` | number | value to use for clearing.

#### Set()
`doc/classes.js`, `line 266`

  Set this ZBuffer as current.