SDL_PackedLayout(3type)
SDL_PackedLayout(3type) β¨π
okay bestie, welcome to the SDL_PackedLayout(3type) manual page, hanging out in the SDL3 DATATYPES section like it owns the place π
πΈ NAME πΈ
SDL_PackedLayout β Packed component layout. literally the enum for packed component layout, periodt.
π¦ SYNOPSIS π¦
First things first, include the pixels header:
#include <SDL3/SDL_pixels.h>
Then here's the whole typedef, every single enum value present and accounted for:
typedef enum SDL_PackedLayout
{
SDL_PACKEDLAYOUT_NONE,
SDL_PACKEDLAYOUT_332,
SDL_PACKEDLAYOUT_4444,
SDL_PACKEDLAYOUT_1555,
SDL_PACKEDLAYOUT_5551,
SDL_PACKEDLAYOUT_565,
SDL_PACKEDLAYOUT_8888,
SDL_PACKEDLAYOUT_2101010,
SDL_PACKEDLAYOUT_1010102
} SDL_PackedLayout;
π AVAILABILITY π
This enum is available since SDL 3.2.0. yes bestie, it's been here since 3.2.0 π«Ά
byeee, this page is from Simple Directmedia Layer, version SDL 3.4.18, and it's the SDL_PackedLayout(3type) manual page π π (the footer didn't give a date, so we're keeping it version-only, bestie)
π¦ 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