class DepthBuffer
package h3d.mat
Depth buffer are used to store per pixel depth information when rendering a scene (also called Z-buffer)
Static methods
staticgetDefault():DepthBuffer
This will return the default depth buffer, which is automatically resized to the screen size.
Constructor
new(width:Int, height:Int, ?format:DepthFormat)
Creates a new depth buffer, it can be attached to one or several render target Texture by setting their depthBuffer
property.