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