Tex.AddZBuffer
void 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! |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!