(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_MetalView

A handle to a CAMetalLayer-backed NSView (macOS) or UIView (iOS/tvOS).

Header File

Defined in SDL_metal.h

Syntax

typedef void *SDL_MetalView;

Remarks

This can be cast directly to an NSView or UIView.


CategoryAPI, CategoryAPIDatatype, CategoryMetal