Contents

gpuResourceID

Declaration

var gpuResourceID: MTLResourceID { get }

Discussion

Handle of the GPU resource suitable for storing in an Intersection Function Buffer.

The handle must have been created from an intersection function annotated with the intersection_function_buffer tag.