Data Structures | |
| struct | T5_Vec2 |
| 2D vector More... | |
| struct | T5_Offset |
| An integer cartesian offset. More... | |
| struct | T5_Extent |
| An integer width and height. More... | |
| struct | T5_Rect |
| A rectangle in integer cartesian coordinates. More... | |
| struct | T5_Offsetf |
| An integer cartesian offset. More... | |
| struct | T5_Extentf |
| An integer width and height. More... | |
| struct | T5_Rectf |
| A rectangle in floating point cartesian coordinates. More... | |
| struct | T5_Vec3 |
| 3D vector More... | |
| struct | T5_Quat |
| Quaternion. More... | |
| struct | T5_GraphicsContextGL |
| struct | T5_GraphicsContextVulkan |
| struct | T5_GraphicsContextD3D12 |
| struct | T5_GameboardSize |
| Physical dimensions of a gameboard. More... | |
| struct | T5_ClientInfo |
| Client provided information for use with t5CreateGlasses() More... | |
| struct | T5_GlassesPose |
| Glasses pose information to be retrieved with t5GetGlassesPose() More... | |
| struct | T5_CameraStreamConfig |
| Camera stream configuration. More... | |
| struct | T5_FrameInfo |
| Render information to be used with t5SendFrameToGlasses() More... | |
| struct | T5_TextureInfo |
| struct | T5_CamImage |
| Camera Frame information to be retrieved with t5GetFilledCamImageBuffer() More... | |
| struct | T5_WandStreamConfig |
| Wand stream configuration. More... | |
| struct | T5_WandReport |
| Contains wand related information (Pose, Buttons, Trigger, Stick, Battery) More... | |
| struct | T5_WandStreamEvent |
| Represents an event from the wand stream. More... | |
| struct | T5_ProjectionInfo |
| Projection parameters. More... | |
Macros | |
| #define | T5_MAX_STRING_PARAM_LEN (260) |
| The maximum number of characters allowed for string values. More... | |
| #define | T5_MIN_CAM_IMAGE_BUFFER_WIDTH (768) |
| The minimum width required for camera image buffers. More... | |
| #define | T5_MIN_CAM_IMAGE_BUFFER_HEIGHT (600) |
| The minimum height required for camera image buffers. More... | |
Typedefs | |
| typedef struct T5_ContextImpl * | T5_Context |
| Opaque handle used with system-wide functions. More... | |
| typedef struct T5_GlassesImpl * | T5_Glasses |
| Opaque handle used with glasses. More... | |
| typedef uint8_t | T5_WandHandle |
| Opaque handle used with wands. More... | |
Common types for use with C and C++ interface
| #define T5_MAX_STRING_PARAM_LEN (260) |
| #define T5_MIN_CAM_IMAGE_BUFFER_HEIGHT (600) |
| #define T5_MIN_CAM_IMAGE_BUFFER_WIDTH (768) |
| typedef struct T5_ContextImpl* T5_Context |
| typedef struct T5_GlassesImpl* T5_Glasses |
Opaque handle used with glasses.
Obtained from t5CreateGlasses().
Released with t5DestroyGlasses().
| typedef uint8_t T5_WandHandle |
Opaque handle used with wands.
Obtained from t5ListWandsForGlasses().
Release not currently required.
Handedness of a cartesian coordinate system.
For an explanation of coordinate system handedness, refer to https://learn.microsoft.com/en-us/windows/win32/direct3d9/coordinate-systems
| enum T5_ConnectionState |
Glasses connection state.
| enum T5_DepthRange |
| enum T5_GameboardType |
| enum T5_GlassesPoseUsage |
Glasses pose usage indicator.
| enum T5_GraphicsApi |
Graphics API types.
| Enumerator | |
|---|---|
| kT5_GraphicsApi_None | No graphics API (for clients that don't send frames) |
| kT5_GraphicsApi_GL | OpenGL. |
| kT5_GraphicsApi_D3D11 | Direct3D 11 (Windows Only) |
| kT5_GraphicsApi_Vulkan | Vulkan. |
| kT5_GraphicsApi_D3D12 | Direct3D 12 (Windows Only) |
| kT5_GraphicsApi_GL_TI | When using the T5_TextureInfo formats below, The T5_GraphicsContextGL is unused. |
| kT5_GraphicsApi_D3D11_TI | Direct3D 11 (With T5_TextureInfo textures) (Windows Only) |
| kT5_GraphicsApi_Vulkan_TI | \breif Vulkan (With T5_TextureInfo textures) The `textureMode` field of T5_GraphicsContextVulkan is unused. |
| kT5_GraphicsApi_D3D12_TI | Direct3D 12 (With T5_TextureInfo textures) (Windows Only) |
| Enumerator | |
|---|---|
| kT5_GraphicsApi_GL_TextureMode_Pair | Treat T5_FrameInfo.leftTexHandle and T5_FrameInfo.rightTexHandle as a pair of GL_TEXTURE_2D. |
| kT5_GraphicsApi_GL_TextureMode_Array | Treat T5_FrameInfo.leftTexHandle as a GL_TEXTURE_2D_ARRAY. T5_FrameInfo.rightTexHandle is unused. Left/Right array index should be specified in T5_GraphicsContextGL::leftEyeArrayIndex and T5_GraphicsContextGL::rightEyeArrayIndex |
| Enumerator | |
|---|---|
| kT5_GraphicsApi_Vulkan_TextureMode_Image | Treat T5_FrameInfo.leftTexHandle and T5_FrameInfo.rightTexHandle as a pair of pointers to VkImage handles. |
| kT5_GraphicsApi_Vulkan_TextureMode_ImageView | Treat T5_FrameInfo.leftTexHandle and T5_FrameInfo.rightTexHandle as a pair of pointers to VkImageView handles. |
| enum T5_Hand |
| enum T5_MatrixOrder |
| enum T5_ParamGlasses |
Possible parameters that can be retrieved for glasses.
| Enumerator | |
|---|---|
| kT5_ParamGlasses_Float_IPD | Interpupillary distance - Float, millimeters |
| kT5_ParamGlasses_UTF8_FriendlyName | User-facing name of the glasses - UTF8. |
| enum T5_ParamSys |
Possible parameters that can be retrieved with System-wide parameters.