Struct PixelFormat
Defined in File pixel_format.hpp
Struct Documentation
-
struct PixelFormat
Format and layout of an image in memory
Describes how data is structured
Public Members
-
unsigned width
Image width in pixels.
-
unsigned height
Image height in pixels.
-
unsigned pixelFormat
The pixel format or type of compression, set by the application.
-
unsigned bytesPerLine
Distance in bytes between the leftmost pixels in two adjacent lines.
-
unsigned imageByteSize
Size in bytes of the buffer to hold a complete image, set by the driver.
-
unsigned width