Instance Methodheckj.voxels 0.2.6Voxels
updating(with:)
VoxelHash+updating.swift:8mutating func updating(with voxelUpdates: [VoxelUpdate<T>])
mutating func updating(with voxelUpdates: [VoxelUpdate<T>])
s6Voxels9VoxelHashV8updating4withySayAA0B6UpdateVyxGG_tF
What are these?9BOK7
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
func updates() -> [VoxelUpdate<T>]
mutating func updating(with voxels: VoxelHash<T>)
struct VoxelHashIndexIterator
typealias Index = Dictionary<VoxelIndex, T>.Index
typealias Iterator = VoxelHashIndexIterator