void AddZBuffer(TexFormat depthFormat)

TexFormat depthFormat The format of the depth texture, must be a depth format type!

Only applicable if this texture is a rendertarget! This creates and attaches a zbuffer surface to the texture for use when rendering to it.

Found an issue with these docs, or have some additional questions? Create an Issue on Github!