Module dsdl2.pixels

Classes

NameDescription
Palette D class that wraps SDL_Palette storing multiple dsdl2.Color as a palette to use along with indexed dsdl2.PixelFormat instances
PixelFormat D class that wraps SDL_PixelFormat defining the color and alpha channel bit layout in the internal representation of a pixel

Structs

NameDescription
Color D struct that wraps SDL_Color containing 4 bytes for storing color values of 3 color channels and 1 alpha channel.