⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

Tex.Depth

int Depth{ get }

Description

The depth of the texture, in pixels. Only meaningful for 3D (volume) textures created with TexType.Volume — for 2D, array, and cubemap textures this is 1. This will be a blocking call if AssetState is less than LoadedMeta.




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