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