Get the CAMetalLayer associated with the given Metal renderer.
This function returns void *, so SDL doesn't have to include Metal's headers, but it can be safely cast to a CAMetalLayer *.
The renderer to query.
A CAMetalLayer * on success, or null if the renderer isn't a Metal renderer.
Threadsafety: This function should only be called on the main thread.
SDL_GetRenderMetalCommandEncoder
See Implementation
Get the CAMetalLayer associated with the given Metal renderer.
This function returns void *, so SDL doesn't have to include Metal's headers, but it can be safely cast to a CAMetalLayer *.