C
Qul::Platform::FramebufferFormat Struct
struct Qul::Platform::FramebufferFormat该结构体包含有关帧缓冲区的信息。更多...
| Header: | #include <platform/framebufferformat.h> |
| Since: | Qt Quick Ultralite (Platform) 2.3 |
公共类型
| struct | BitField |
公共变量
| void * | address |
| uint32_t | bitsPerPixel |
| Qul::Platform::FramebufferFormat::BitField | blueChannel |
| uint32_t | bytesPerLine |
| Qul::Platform::FramebufferFormat::BitField | greenChannel |
| uint32_t | height |
| Qul::Platform::FramebufferFormat::BitField | redChannel |
| uint32_t | swapBytes |
| uint32_t | width |
另请参阅 Qul::Platform::DeviceLinkInterface::framebufferFormat()和移植DeviceLink通信。
成员变量文档
void *FramebufferFormat::address
该变量存储帧缓冲区的地址。
uint32_t FramebufferFormat::bitsPerPixel
该变量存储了帧缓冲区中每个像素的位数。
Qul::Platform::FramebufferFormat::BitField FramebufferFormat::blueChannel
蓝色色通道中像素的偏移量和长度。
uint32_t FramebufferFormat::bytesPerLine
该变量存储帧缓冲区中每行的字节数(步长)。
Qul::Platform::FramebufferFormat::BitField FramebufferFormat::greenChannel
绿色颜色通道中各比特的偏移量和长度。
uint32_t FramebufferFormat::height
该变量存储帧缓冲区的高度(以像素为单位)。
Qul::Platform::FramebufferFormat::BitField FramebufferFormat::redChannel
红色颜色通道中像素的偏移量和长度。
uint32_t FramebufferFormat::swapBytes
要交换的字节组大小。
若设置为 0,则不进行交换。若设置为 2,则每两字节进行交换。若设置为 4,则每四字节进行反转,使 BGRA 变为 ARGB。
uint32_t FramebufferFormat::width
该变量存储帧缓冲区的宽度(以像素为单位)。
在某些 Qt 许可证下可用。
了解更多信息。