API

Type Alias Texture3D

Texture3D: Texture2D & { depth: number }

A Texture2D handle whose underlying GPU texture is dimension:"3d", plus its depth. Bind it to a fullscreen effect with viewDimension:"3d" and sample it in WGSL as texture_3d<f32>.