Tao.Sdl SDK Documentation

Sdl.SDL_PixelFormat Fields

The fields of the Sdl.SDL_PixelFormat structure are listed below. For a complete list of Sdl.SDL_PixelFormat structure members, see the Sdl.SDL_PixelFormat Members topic.

Public Instance Fields

Aloss Precision loss of each color component (2[RGBA]loss)
alpha Overall surface alpha value
Amask Binary mask used to retrieve individual color values
Ashift Binary left shift of each color component in the pixel value
BitsPerPixel The number of bits used to represent each pixel in a surface. Usually 8, 16, 24 or 32.
Bloss Precision loss of each color component (2[RGBA]loss)
Bmask Binary mask used to retrieve individual color values
Bshift Binary left shift of each color component in the pixel value
BytesPerPixel The number of bytes used to represent each pixel in a surface. Usually one to four.
colorkey Pixel value of transparent pixels
Gloss Precision loss of each color component (2[RGBA]loss)
Gmask Binary mask used to retrieve individual color values
Gshift Binary left shift of each color component in the pixel value
palette Pointer to the palette, or NULL if the BitsPerPixel>8 Pointer to Sdl.SDL_Palette
Rloss Precision loss of each color component (2[RGBA]loss)
Rmask Binary mask used to retrieve individual color values
Rshift Binary left shift of each color component in the pixel value

See Also

Sdl.SDL_PixelFormat Class | Tao.Sdl Namespace