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