Renderer.getMetalLayer

Wraps SDL_RenderGetMetalLayer (from SDL 2.0.8) which gets the CAMetalLayer pointer associated with the given Metal renderer

class Renderer
@system
static if(sdlSupport >= SDLSupport.v2_0_8)
void*
getMetalLayer
()

Return Value

Type: void*

pointer to the CAMetalLayer, otherwise null if not using a Metal renderer

Meta