gfx-rs / metal-rs

Rust bindings for Metal
Apache License 2.0
567 stars 112 forks source link

Implement creating acceleration structures on a `Heap` #316

Closed FlannyH closed 3 months ago

FlannyH commented 4 months ago

Implements allocating acceleration structures from a heap using the newAccelerationStructureWithDescriptor and newAccelerationStructureWithSize functions, as well as heapAccelerationStructureSizeAndAlignWithSize on Device. Additionally implements two missing functions setHazardTrackingMode and setType.

robclu commented 3 months ago

Hi, is there any reason this isn't merged? I would also like to be able to set the hazard tracking mode and heap type (for placement heaps).