Class SDL.PixelFormat
- Description
This describes the format of the pixel data stored at the pixels field of a SDL.Surface. Every surface stores a PixelFormat in the format field.
- Variable
rloss
Variable gloss
Variable bloss
Variable aloss
intSDL.PixelFormat.rloss
intSDL.PixelFormat.gloss
intSDL.PixelFormat.bloss
intSDL.PixelFormat.aloss- Description
Precision loss of each color component.
- Variable
rmask
Variable gmask
Variable bmask
Variable amask
intSDL.PixelFormat.rmask
intSDL.PixelFormat.gmask
intSDL.PixelFormat.bmask
intSDL.PixelFormat.amask- Description
Binary mask used to retrieve individual color values.
- Variable
rshift
Variable gshift
Variable bshift
Variable ashift
intSDL.PixelFormat.rshift
intSDL.PixelFormat.gshift
intSDL.PixelFormat.bshift
intSDL.PixelFormat.ashift- Description
Binary left shift of each color component in the pixel value.
- Variable
bits_per_pixel
intSDL.PixelFormat.bits_per_pixel- Description
The number of bits used to represent each pixel in a surface. Usually 8, 16, 24 or 32.
- Variable
bytes_per_pixel
intSDL.PixelFormat.bytes_per_pixel- Description
The number of bytes used to represent each pixel in a surface. Usually one to four.