MTLVisibleFunctionTable

A table of shader functions visible to your app that you can pass into compute commands to customize the behavior of a shader.

version(D_ObjectiveC)
extern (Objective-C) extern
interface MTLVisibleFunctionTable {}

Members

Functions

setFunction
void setFunction(MTLFunctionHandle , NSUInteger index)

Sets a table entry to point to a callable function.

setFunctions
void setFunctions(const(MTLFunctionHandle)* , NSRange range)

Sets a range of table entries to point to an array of callable functions.

Meta