Function sdl2_sys::SDL_RenderGetMetalLayer
source · pub unsafe extern "C" fn SDL_RenderGetMetalLayer(
renderer: *mut SDL_Renderer,
) -> *mut c_void
Expand description
\brief Get the CAMetalLayer associated with the given Metal renderer
\param renderer The renderer to query
\return CAMetalLayer* on success, or NULL if the renderer isn’t a Metal renderer
\sa SDL_RenderGetMetalCommandEncoder()