voxelIndexExtent
The indexes that define the corners of the three-dimensional voxel grid.
Declaration
var voxelIndexExtent: MDLVoxelIndexExtent { get }Discussion
This property determines which MDLVoxelIndex values are valid for referring to the contents of the voxel array using methods such as setVoxelAtIndex(_:) or voxelBoundingBox(atIndex:). For example, if the minimum extent is {0, 0, 0, 0} and the maximum extent is {10, 10, 10, 0}, the voxel index {5, 5, 5, 0} lies within the array but the voxel index {0, 20, 10, 0} does not.