warp.volume_lookup_i#

warp.volume_lookup_i(
id: uint64,
i: int32,
j: int32,
k: int32,
) int#
  • Kernel

  • Python

Return the warp.int32 value of the voxel at integer index-space coordinates i, j, k, without interpolation.

id must identify an int32 volume. This function is not differentiable. In kernels, volume_lookup_i() is equivalent to volume_lookup() with dtype=warp.int32.

See volume_lookup() for shared behavior and a usage example.

Returns:

The resolved warp.int32 voxel value.