Function sdl2_sys::SDL_Metal_GetLayer

source ยท
pub unsafe extern "C" fn SDL_Metal_GetLayer(
    view: SDL_MetalView,
) -> *mut c_void
Expand description

Get a pointer to the backing CAMetalLayer for the given view.

\since This function is available since SDL 2.0.14.

\sa SDL_Metal_CreateView