(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)
A handle to a CAMetalLayer-backed NSView (macOS) or UIView (iOS/tvOS).
Defined in SDL_metal.h
Syntax
This can be cast directly to an NSView or UIView.
CategoryAPI, CategoryAPIDatatype, CategoryMetal