Contents

init(contentsOf:)

Creates a new component by loading a monoscopic texture and (if present) a pair of spatial textures from the provided image file URL.

Declaration

init(contentsOf url: URL) async throws

Discussion

See Also

Creating a component from a 2D image or spatial photo