According to the Metal documentation for refitAccelerationStructure, we can pass nil to destinationAccelerationStructure, which will then refit the acceleration structure in-place. This pull request changes the parameter into an Option<_>, so the user can pass None to refit in place.
According to the Metal documentation for
refitAccelerationStructure
, we can pass nil todestinationAccelerationStructure
, which will then refit the acceleration structure in-place. This pull request changes the parameter into anOption<_>
, so the user can passNone
to refit in place.