Contents

makeGeometryModifier(descriptor:)

Asynchronously creates a geometry modifier from a user-authored Metal function described by the given descriptor.

Declaration

nonisolated(nonsending) func makeGeometryModifier(descriptor: LowLevelMaterialResource.GeometryModifier.Descriptor) async throws -> sending LowLevelMaterialResource.GeometryModifier

Parameters

  • descriptor:

    The Metal function name, library, and optional constant values.

Return Value

A compiled LowLevelMaterialResource.GeometryModifier.

Discussion

See Also

Creating geometry modifiers