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 widthThe width of the depth buffer.
heightThe height of the depth buffer.
stencilWhether or not a stencil buffer is required.