Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/GHOST_Types.h
| Show First 20 Lines • Show All 677 Lines • ▼ Show 20 Lines | typedef struct GHOST_XrDrawViewInfo { | ||||
| struct { | struct { | ||||
| float angle_left, angle_right; | float angle_left, angle_right; | ||||
| float angle_up, angle_down; | float angle_up, angle_down; | ||||
| } fov; | } fov; | ||||
| /** Set if the buffer should be submitted with a SRGB transfer applied. */ | /** Set if the buffer should be submitted with a SRGB transfer applied. */ | ||||
| char expects_srgb_buffer; | char expects_srgb_buffer; | ||||
| /** The view that this info represents. Not necessarily the "eye index" (e.g. for quad view | |||||
| * systems, etc). */ | |||||
| char view_idx; | |||||
| } GHOST_XrDrawViewInfo; | } GHOST_XrDrawViewInfo; | ||||
| typedef struct GHOST_XrError { | typedef struct GHOST_XrError { | ||||
| const char *user_message; | const char *user_message; | ||||
| void *customdata; | void *customdata; | ||||
| } GHOST_XrError; | } GHOST_XrError; | ||||
| ▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines | |||||