luna-sysmgr-common
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HostInfo Struct Reference

#include <HostBase.h>

Collaboration diagram for HostInfo:
[legend]

Public Attributes

void * displayBuffer
 
int displayRowBytes
 
int displayWidth
 
int displayHeight
 
int displayDepth
 
int displayRedLength
 
int displayGreenLength
 
int displayBlueLength
 
int displayAlphaLength
 

Detailed Description

Holds information about the device's display

Member Data Documentation

int HostInfo::displayAlphaLength

Number of bits within each pixel that are devoted to the alpha channel

int HostInfo::displayBlueLength

Number of bits within each pixel that are devoted to the blue channel

void* HostInfo::displayBuffer

Pointer to display memory buffer

int HostInfo::displayDepth

Number of bits per pixel of the display

int HostInfo::displayGreenLength

Number of bits within each pixel that are devoted to the green channel

int HostInfo::displayHeight

Display height in number of pixels

int HostInfo::displayRedLength

Number of bits within each pixel that are devoted to the red channel

int HostInfo::displayRowBytes

Number of bytes per row

Some devices have extra padding memory after each row of actual pixel data to align the start of each row to a more convenient place in memory. This number is the number of actual bytes per row including that padding.

int HostInfo::displayWidth

Display width in number of pixels


The documentation for this struct was generated from the following file: