makeSurfaceShader(descriptor:)

Synchronous variant of Makesurfaceshader(descriptor:). Blocks the current thread until compilation completes.

Declaration

func makeSurfaceShader(descriptor: LowLevelMaterialResource.SurfaceShader.Descriptor) throws -> sending LowLevelMaterialResource.SurfaceShader