Tex.AddZBuffer

Tex AddZBuffer(TexFormat depthFormat)

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

   
TexFormat depthFormat The format of the depth texture, must be a depth format type!
RETURNS: Tex A new Tex asset with the specified depth.




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