new WriteOnlyDepthBuffer()
Members
-
format
-
The format of the depth buffer.
-
height
-
The height of the depth buffer.
-
width
-
The width of the depth buffer.
Methods
-
init(width, height, stencil)
-
Initializes the depth buffer.
Parameters:
Name Type Description width
The width of the depth buffer.
height
The height of the depth buffer.
stencil
Whether or not a stencil buffer is required.