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

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

#include <types.h>

+ Collaboration diagram for AnboxDisplaySpec2:

Public Attributes

uint32_t width
 
uint32_t height
 
uint32_t density
 
uint32_t fps
 

Detailed Description

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

Definition at line 74 of file types.h.

Member Data Documentation

◆ density

uint32_t AnboxDisplaySpec2::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 96 of file types.h.

◆ fps

uint32_t AnboxDisplaySpec2::fps

Target frame rate of the display.

Defaults to 60

Definition at line 103 of file types.h.

◆ height

uint32_t AnboxDisplaySpec2::height

Height of the display

Needs to be greater than 0.

Definition at line 87 of file types.h.

◆ width

uint32_t AnboxDisplaySpec2::width

Width of the display

Needs to be greater than 0.

Definition at line 80 of file types.h.


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