Skip to content

HostConfig ​

cpp
#include <Infrastructure/HostTypes.h>
cpp
struct HostConfig

Defined in Infrastructure/HostTypes.h:67

Properties of the host computer (display refresh rate, audio sample rate, ...).

Public Attributes ​

ReturnNameDescription
isizerefreshRateRefresh rate of the host display.
isizesampleRateAudio sample rate of the host computer.
TexFormattexFormatTexture format.
isizeframeBufferWidthFramebuffer dimensions.
isizeframeBufferHeightHeight of the host frame buffer (in pixels).

refreshRate ​

cpp
isize refreshRate

Defined in Infrastructure/HostTypes.h:70

Refresh rate of the host display.


sampleRate ​

cpp
isize sampleRate

Defined in Infrastructure/HostTypes.h:73

Audio sample rate of the host computer.


texFormat ​

cpp
TexFormat texFormat

Type: TexFormat

Defined in Infrastructure/HostTypes.h:76

Texture format.


frameBufferWidth ​

cpp
isize frameBufferWidth

Defined in Infrastructure/HostTypes.h:79

Framebuffer dimensions.


frameBufferHeight ​

cpp
isize frameBufferHeight

Defined in Infrastructure/HostTypes.h:80

Height of the host frame buffer (in pixels).