Instance Methodheckj.voxels 0.2.6Voxels
updates
VoxelHash+updating.swift:14func updates() -> [VoxelUpdate<T>]
func updates() -> [VoxelUpdate<T>]
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.
struct VoxelUpdate<T> where T : Sendable
A type that represents an update to a single voxel from a collection.
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 endIndex: Dictionary<VoxelIndex, T>.Index { get }
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
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