Instance Propertyheckj.voxels 0.2.6Voxels
endIndex
VoxelHash+Collection.swift:8var endIndex: Dictionary<VoxelIndex, T>.Index { get }
var endIndex: Dictionary<VoxelIndex, T>.Index { get }
where T:Sendable
import Voxels
A Swift library for storage, manipulation, export, and 3D rendering of Voxel data.
struct VoxelHash<T> where T : Sendable
A collection of voxels backed by a hash table.
@frozen struct Dictionary<Key, Value> where Key : Hashable
A collection whose elements are key-value pairs.
struct VoxelIndex
The coordinates of a voxel location.
@frozen struct Index
The position of a key-value pair in a dictionary.
protocol Sendable
static func sample(_ samples: SDFSampleable<Float>, using scale: VoxelScale<Float>, from min: SIMD3<Float>, to max: SIMD3<Float>) -> VoxelHash<Float> where T == Float
var startIndex: Dictionary<VoxelIndex, T>.Index { get }
subscript(position: Dictionary<VoxelIndex, T>.Index) -> T { get }
func index(after: Dictionary<VoxelIndex, T>.Index) -> Dictionary<VoxelIndex, T>.Index
func makeIterator() -> VoxelHashIndexIterator
func updates() -> [VoxelUpdate<T>]
mutating func updating(with voxels: VoxelHash<T>)
mutating func updating(with voxelUpdates: [VoxelUpdate<T>])
struct VoxelHashIndexIterator
typealias Index = Dictionary<VoxelIndex, T>.Index
typealias Iterator = VoxelHashIndexIterator