MPSRayIntersector
A kernel that performs intersection tests between rays and geometry.
Declaration
class MPSRayIntersectorTopics
Initializers
Instance Properties
boundingBoxIntersectionTestTypecullModefrontFacingWindingintersectionDataTypeintersectionStriderayDataTyperayIndexDataTyperayMaskrayMaskOperatorrayMaskOptionsrayStridetriangleIntersectionTestType
Instance Methods
copy(with:device:)encode(with:)encodeIntersection(commandBuffer:intersectionType:rayBuffer:rayBufferOffset:intersectionBuffer:intersectionBufferOffset:rayCount:accelerationStructure:)encodeIntersection(commandBuffer:intersectionType:rayBuffer:rayBufferOffset:intersectionBuffer:intersectionBufferOffset:rayCountBuffer:rayCountBufferOffset:accelerationStructure:)encodeIntersection(commandBuffer:intersectionType:rayBuffer:rayBufferOffset:rayIndexBuffer:rayIndexBufferOffset:intersectionBuffer:intersectionBufferOffset:rayIndexCount:accelerationStructure:)encodeIntersection(commandBuffer:intersectionType:rayBuffer:rayBufferOffset:rayIndexBuffer:rayIndexBufferOffset:intersectionBuffer:intersectionBufferOffset:rayIndexCountBuffer:rayIndexCountBufferOffset:accelerationStructure:)encodeIntersection(commandBuffer:intersectionType:rayTexture:intersectionTexture:accelerationStructure:)recommendedMinimumRayBatchSize(rayCount:)