Skip to main content

Module function_table

Module function_table 

Source
Expand description

Function table types.

Corresponds to Metal/MTLFunctionHandle.hpp, Metal/MTLVisibleFunctionTable.hpp, and Metal/MTLIntersectionFunctionTable.hpp.

Function tables provide a way to dynamically dispatch to shader functions, which is essential for ray tracing and other advanced rendering techniques.

Structsยง

FunctionHandle
A handle to a compiled function.
IntersectionFunctionBufferArguments
Arguments for an intersection function buffer.
IntersectionFunctionTable
A table of intersection functions for ray tracing.
IntersectionFunctionTableDescriptor
A descriptor for creating an intersection function table.
VisibleFunctionTable
A table of visible functions for shader function pointers.
VisibleFunctionTableDescriptor
A descriptor for creating a visible function table.