Skip to main content

Module library

Module library 

Source
Expand description

Metal shader libraries.

Corresponds to Metal/MTLLibrary.hpp and Metal/MTLFunctionDescriptor.hpp.

Libraries contain compiled shader functions.

Structsยง

Attribute
Function argument attribute reflection information.
CompileOptions
Options for compiling shader source code.
DynamicLibrary
A dynamic Metal library that can be loaded at runtime.
Function
A compiled shader function.
FunctionConstant
Function constant definition.
FunctionConstantValues
Constant values for specializing a function.
FunctionDescriptor
Descriptor for creating specialized functions.
FunctionReflection
Function reflection information.
IntersectionFunctionDescriptor
Descriptor for creating intersection functions.
Library
A collection of compiled shader functions.
LinkedFunctions
A collection of functions to link together.
VertexAttribute
Vertex attribute reflection information.