Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/sdl2/mod.ts>PixelFormat

SDL2 module for Deno
Latest
enum PixelFormat
import { PixelFormat } from "https://deno.land/x/sdl2@0.9.0/mod.ts";

A structure that contains pixel format information.

Members

ABGR1555 = 359862274
ABGR4444 = 359796738
ABGR8888 = 376840196
ARGB1555 = 355667970
ARGB2101010 = 372711428
ARGB4444 = 355602434
ARGB8888 = 372645892
BGR24 = 390076419
BGR565 = 357896194
BGRA4444 = 360845314
BGRA5551 = 360976386
BGRA8888 = 377888772
BGRX8888 = 375789572
Index1LSB = 286261504
Index1MSB = 287310080
Index4LSB = 303039488
Index4MSB = 304088064
Index8 = 318769153
IYUV = 1448433993
RGB24 = 386930691
RGB332 = 336660481
RGB565 = 353701890
RGBA4444 = 356651010
RGBA5551 = 356782082
RGBA8888 = 373694468
RGBX8888 = 371595268
Unknown = 0
UYVY = 1498831189
XBGR1555 = 357764866
XBGR4444 = 357698562
XBGR8888 = 374740996
XRGB1555 = 353570562
XRGB4444 = 353504258
XRGB8888 = 370546692
YUY2 = 844715353
YV12 = 842094169
YVYU = 1431918169