SDL_MetalView(3type)
π SDL_MetalView π
okay so bestie, welcome to the SDL3 DATATYPES corner of the manual, and today's main character is SDL_MetalView β¨ she's a type, she's a handle, she's lowkey the plug between SDL and Apple's Metal vibes π
πΈ NAME πΈ
SDL_MetalView β a handle to a CAMetalLayer-backed NSView (macOS) or UIView (iOS/tvOS) π¦
like, that's it, that's the whole girl. a pointer with a purpose π
β¨ SYNOPSIS β¨
#include <SDL3/SDL_metal.h>
typedef void *SDL_MetalView;
no cap, that's the entire declaration. void * but make it fashion π
π AVAILABILITY π
this datatype has been serving looks since SDL 3.2.0 β so if you're on anything older, bestie, it's giving "not found" π
and that's the vibe check, fr fr. this page came to you courtesy of Simple Directmedia Layer, living its SDL 3.4.18 era, and it's filed under the manual name SDL_MetalView(3type) π«Ά go forth and render, icon πβ¨π
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms