NativeHandleDiscarding

    Low-level: A macro that automatically implements init(nativeHandle:) for nodes.

    MacroDefs.swift:202
    @attached(member, names: named(init(nativeHandle:))) macro NativeHandleDiscarding()

    Use this for a class that has a required initializer with an UnsafeRawPointer.

    @NativeHandleDiscarding
    class MySprite: Sprite2D {
        ...
    }