No overview available.
SDKs
- iOS 12.0+
- macOS 10.14+
- Mac Catalyst 13.0+
- tvOS 12.0+
Framework
- Metal Performance Shaders
Declaration
- (void)encodeIntersectionToCommandBuffer:(id<MTLCommand Buffer>)commandBuffer intersectionType:(MPSIntersection Type)intersectionType rayBuffer:(id<MTLBuffer>)rayBuffer rayBufferOffset:(NSUInteger)rayBufferOffset intersectionBuffer:(id<MTLBuffer>)intersectionBuffer intersectionBufferOffset:(NSUInteger)intersectionBufferOffset rayCount:(NSUInteger)rayCount accelerationStructure:(MPSAcceleration Structure *)accelerationStructure;