Contents

device

The Metal device this renderer uses for rendering.

Declaration

var device: (any MTLDevice)? { get }

Discussion

Use this property to create or look up other Metal resources that use the same device as your SceneKit renderer.

See Also

Customizing Scene Rendering with Metal