warp.volume_sample#

warp.volume_sample(
id: uint64,
uvw: vec3f,
sampling_mode: int32,
dtype: Any,
) Any#
  • Kernel

  • Differentiable

Sample the volume of type dtype given by id at the volume local-space point uvw.

Interpolation should be warp.Volume.CLOSEST or warp.Volume.LINEAR.