Instance Method

encodeIntersectionToCommandBuffer:intersectionType:rayBuffer:rayBufferOffset:intersectionBuffer:intersectionBufferOffset:rayCount:accelerationStructure:

No overview available.

Declaration

- (void)encodeIntersectionToCommandBuffer:(id<MTLCommandBuffer>)commandBuffer intersectionType:(MPSIntersectionType)intersectionType rayBuffer:(id<MTLBuffer>)rayBuffer rayBufferOffset:(NSUInteger)rayBufferOffset intersectionBuffer:(id<MTLBuffer>)intersectionBuffer intersectionBufferOffset:(NSUInteger)intersectionBufferOffset rayCount:(NSUInteger)rayCount accelerationStructure:(MPSAccelerationStructure *)accelerationStructure;