pub unsafe trait MTLAccelerationStructure: MTLResource {
// Provided methods
fn size(&self) -> NSUInteger
where Self: Sized + Message { ... }
fn gpuResourceID(&self) -> MTLResourceID
where Self: Sized + Message { ... }
}Available on crate features
MTLAccelerationStructure and MTLAllocation and MTLResource only.Expand description
Provided Methods§
fn size(&self) -> NSUInteger
Sourcefn gpuResourceID(&self) -> MTLResourceID
Available on crate feature MTLTypes only.
fn gpuResourceID(&self) -> MTLResourceID
MTLTypes only.Handle of the GPU resource suitable for storing in an Argument Buffer