###### (This is the legacy documentation for SDL2, the previous stable version; [SDL3](https://wiki.libsdl.org/SDL3/) is the current stable version.) # SDL_MetalView A handle to a CAMetalLayer-backed NSView (macOS) or UIView (iOS/tvOS). ## Header File Defined in [SDL_metal.h](https://github.com/libsdl-org/SDL/blob/SDL2/include/SDL_metal.h) ## Syntax ```c typedef void *SDL_MetalView; ``` ## Remarks This can be cast directly to an NSView or UIView. ---- [CategoryAPI](CategoryAPI), [CategoryAPIDatatype](CategoryAPIDatatype), [CategoryMetal](CategoryMetal)