gxr-enums

gxr-enums

Types and Values

Includes

#include <gxr.h>

Description

Functions

Types and Values

GXR_DEVICE_INDEX_MAX

#define GXR_DEVICE_INDEX_MAX 64

GXR_DEVICE_INDEX_HMD

#define GXR_DEVICE_INDEX_HMD 0

GXR_MODEL_NAME_MAX

#define GXR_MODEL_NAME_MAX 32768

enum GxrAppType

Type of Gxr application.

Members

GXR_APP_SCENE

Scene application. Renders stereo viewports for the whole scene.

 

GXR_APP_OVERLAY

Overlay application. Renders mono buffers to overlays.

 

GXR_APP_HEADLESS

Background application. Does not render anything.

 

enum GxrQuitReason

Reason why an quit signal was received

Members

GXR_QUIT_SHUTDOWN

Runtime is shutting down.

 

GXR_QUIT_APPLICATION_TRANSITION

A new scene application wants the focus.

 

GXR_QUIT_PROCESS_QUIT

A running scene application releases the focus.

 

enum GxrEye

Type of Gxr viewport.

Members

GXR_EYE_LEFT

Left eye.

 

GXR_EYE_RIGHT

Right eye.

 

enum GxrApi

Type of API backend to use.

Members

GXR_API_OPENVR

Use OpenVR.

 

GXR_API_OPENXR

Use OpenXR.

 

GXR_API_NONE

No API specified.

 

enum GxrActionType

The type of the GxrAction.

Members

GXR_ACTION_DIGITAL

A digital action.

 

GXR_ACTION_DIGITAL_FROM_FLOAT

A digital action constructed from float thresholds.

 

GXR_ACTION_VEC2F

An analog action with floats x,y.

 

GXR_ACTION_FLOAT

An analog action.

 

GXR_ACTION_POSE

A pose action.

 

GXR_ACTION_HAPTIC

A haptic action.