anbox-platform-sdk  1.23.0
Anbox Platform SDK API documentation
AnboxDisplaySpec Struct Reference

AnboxDisplaySpec describes properties of the virtual display Anbox creates for rendering. More...

#include <types.h>

+ Collaboration diagram for AnboxDisplaySpec:

Public Attributes

uint32_t width
 
uint32_t height
 
uint32_t density
 

Detailed Description

AnboxDisplaySpec describes properties of the virtual display Anbox creates for rendering.

Definition at line 45 of file types.h.

Member Data Documentation

◆ density

uint32_t AnboxDisplaySpec::density

Density of the display.

Takes the same values as defined in https://developer.android.com/reference/android/util/DisplayMetrics.html

If 0 is supplied a default density of 160 will be used.

Definition at line 67 of file types.h.

◆ height

uint32_t AnboxDisplaySpec::height

Height of the display

Needs to be greater than 0.

Definition at line 58 of file types.h.

◆ width

uint32_t AnboxDisplaySpec::width

Width of the display

Needs to be greater than 0.

Definition at line 51 of file types.h.


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