sdl3/sdl_metal library

Functions

sdlMetalCreateView(Pointer<SdlWindow> window) → SdlMetalView metal
Create a CAMetalLayer-backed NSView/UIView and attach it to the specified window.
sdlMetalDestroyView(SdlMetalView view) → void metal
Destroy an existing SDL_MetalView object.
sdlMetalGetLayer(SdlMetalView view) → Pointer<Void> metal
Get a pointer to the backing CAMetalLayer for the given view.