B.Render.Depth()

Represents a depth-stencil buffer.

To create the object use device.makeDepth().

METHODS:

device()

Returns linked rendering device.

RETURNS:

width()

Returns width.

RETURNS:

{number}

height()

Returns height.

RETURNS:

{number}

size()

Returns width and height.

RETURNS:

format()

Returns surface format.

RETURNS:

readable()

Returns readable flag.

RETURNS:

{boolean}

free()

Frees all internal data and detach the resource from linked rendering device.

METHODS: