Table of Contents

Enum PixelType

Namespace
Sdl3Sharp.Video.Coloring
Assembly
Sdl3Sharp.dll

Represents the type of pixel format used in a PixelFormats

public enum PixelType

Fields

ArrayF16 = 10

Array of pixel values, each component stored separately as 16-bit floating point values

ArrayF32 = 11

Array of pixel values, each component stored separately as 32-bit floating point values

ArrayU16 = 8

Array of pixel values, each component stored separately as unsigned 16-bit integers

ArrayU32 = 9

Array of pixel values, each component stored separately as unsigned 32-bit integers

ArrayU8 = 7

Array of pixel values, each component stored separately as unsigned 8-bit integers

Index1 = 1

Indexed pixel values, 1 bit per pixel

Used in conjuction with a Palette.

Index2 = 12

Indexed pixel values, 2 bits per pixel

Index4 = 2

Indexed pixel values, 4 bits per pixel

Used in conjuction with a Palette.

Index8 = 3

Indexed pixel values, 8 bits per pixel

Used in conjuction with a Palette.

Packed16 = 5

Packed pixel values, totalling 16 bits per pixel

Packed32 = 6

Packed pixel values, totalling 32 bits per pixel

Packed8 = 4

Packed pixel values, totalling 8 bits per pixel

Unknown = 0

Unknown