SDL_PropertyType(3type)
β¨ SDL_PropertyType(3type) β¨
okay bestie, welcome to the SDL3 DATATYPES corner of the man pages π this one's a whole type situation, and it's short, sweet, and honestly iconic. no cap.
π NAME π
SDL_PropertyType β it's the SDL property type, fr fr π
πΈ SYNOPSIS πΈ
like, here's the whole thing, and yes you gotta include it:
#include <SDL3/SDL_properties.h>
typedef enum SDL_PropertyType
{
SDL_PROPERTY_TYPE_INVALID,
SDL_PROPERTY_TYPE_POINTER,
SDL_PROPERTY_TYPE_STRING,
SDL_PROPERTY_TYPE_NUMBER,
SDL_PROPERTY_TYPE_FLOAT,
SDL_PROPERTY_TYPE_BOOLEAN
} SDL_PropertyType;
so it's a typedef enum called SDL_PropertyType, and it has exactly six members, in exactly this order, and every single one of them is lowercase-screaming at you in ALL_CAPS π¦
SDL_PROPERTY_TYPE_INVALIDβ the "idk her" of the family πSDL_PROPERTY_TYPE_POINTERβ pointing at stuff π«SDL_PROPERTY_TYPE_STRINGβ text era πΈSDL_PROPERTY_TYPE_NUMBERβ numbers, but make it integer-core β¨SDL_PROPERTY_TYPE_FLOATβ numbers with decimals, highkey fancy πSDL_PROPERTY_TYPE_BOOLEANβ true or false, the original yes/no queen π
π«Ά AVAILABILITY π«Ά
this enum has been available since SDL 3.2.0. so if you're on anything older, bestie... it's not giving. upgrade, periodt. π₯
and that's the whole page, no filler, no fluff, just vibes and one very well-behaved enum π§
Simple Directmedia Layer β’ SDL 3.4.18 β’ SDL_PropertyType(3type) β mwah, kiss the docs goodbye, ily, go write some properties ππβ
π¦ 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