SDL_GPURenderPass(3type)

✨ SDL_GPURenderPass ✨

okay bestie, welcome to the SDL3 DATATYPES corner of the manual, where we meet SDL_GPURenderPass πŸ’–


🌸 NAME 🌸

SDL_GPURenderPass β€” an opaque handle representing a render pass. that's it, that's the whole vibe. it's a little mystery box and you're not supposed to peek inside πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <SDL3/SDL_gpu.h>

typedef struct SDL_GPURenderPass SDL_GPURenderPass;

πŸ’… DESCRIPTION πŸ’…

so here's the tea: this handle is transient. it's giving mayfly energy. it is not yours to keep.

do NOT hold onto it, and do NOT reference it after SDL_EndGPURenderPass gets called. like, at all. periodt. πŸ’€

once SDL_EndGPURenderPass has run, that handle is gone-gone, and holding a reference to it is not the move, no cap πŸ™ˆ


🌈 AVAILABILITY 🌈

this struct has been around since SDL 3.2.0 ✨ she's not new new, but she's iconic πŸ‘‘


🫢 SEE ALSO 🫢


and that's the whole page, bestie πŸ’œ this was SDL_GPURenderPass(3type) from the Simple Directmedia Layer, SDL 3.4.18 edition β€” go forth and end your render passes responsibly, mwah πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from