Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
module
SDL3::Pixels
Instance methods
get_format_name
(format :
LibSDL3::PixelFormat
) :
String
Source
get_rgba
(pixelvalue :
UInt32
, format :
Pointer
(
LibSDL3::PixelFormatDetails
), palette :
LibSDL3::Palette
|
Nil
= nil) :
Color
Source
map_rgba
(format :
Pointer
(
LibSDL3::PixelFormatDetails
), r :
UInt8
, g :
UInt8
, b :
UInt8
, a :
UInt8
) :
UInt32
Source