SDL_ISCOLORSPACE_MATRIX_BT2020_NCL(3)

πŸ’– SDL_ISCOLORSPACE_MATRIX_BT2020_NCL πŸ’–

okay bestie, so this is the manual page for SDL_ISCOLORSPACE_MATRIX_BT2020_NCL(3) β€” yes the name is a whole mouthful, but she's iconic and she's from the SDL3 functions squad, so we're obsessed. lowkey this macro is just here to check a vibe, and the vibe is BT2020_NCL matrix coefficients. no cap.


✨ NAME ✨

SDL_ISCOLORSPACE_MATRIX_BT2020_NCL β€” a macro to determine if an SDL_Colorspace uses BT2020_NCL matrix coefficients. periodt.


🌈 SYNOPSIS 🌈

#include <SDL3/SDL_pixels.h>

#define SDL_ISCOLORSPACE_MATRIX_BT2020_NCL(cspace)   (SDL_COLORSPACEMATRIX(cspace) == SDL_MATRIX_COEFFICIENTS_BT2020_NCL)

πŸŽ€ MACRO PARAMETERS πŸŽ€

  • cspace β€” an SDL_Colorspace to check. just hand her over and she'll tell you what's tea. 🫢

πŸ’… RETURN VALUE πŸ’…

Returns true if BT2020_NCL, false otherwise. that's it, that's the whole answer. πŸ’–


πŸ¦‹ THREAD SAFETY πŸ¦‹

It is safe to call this macro from any thread. so go off, call it from wherever, she's not gonna panic. ✨


🌸 AVAILABILITY 🌸

This macro is available since SDL 3.2.0. she's been around, she's established, she's giving legacy. πŸ‘‘


bestie reminder: this is a macro, so it's doing its little comparison behind the scenes β€” no sneaky extra behavior, just SDL_COLORSPACEMATRIX(cspace) matching up against SDL_MATRIX_COEFFICIENTS_BT2020_NCL. iykyk. πŸ’…

later babes πŸ’œ this page came from Simple Directmedia Layer, version SDL 3.4.18, and the manual name is SDL_ISCOLORSP...IX_BT2020_NCL(3) in case you need to cite her. mwah, slay, bye! πŸŽ€βœ¨

πŸ“¦ where this page comes from