depth
The volumetric depth of a 3D GraphicsTexture.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public int depth
Remarks
For volumetric graphics textures (see GraphicsTextureDescriptor.dimension), this variable determines the depth in pixels. Must be 0 for non-3D textures.
Additional Resources: GraphicsTextureDescriptor.width, GraphicsTextureDescriptor.height.