Varjo Native SDK
Varjo_types.h
Go to the documentation of this file.
1 // Copyright 2019-2023 Varjo Technologies Oy. All rights reserved.
2 
3 #ifndef VARJO_TYPES_H
4 #define VARJO_TYPES_H
5 
6 #include <stdint.h>
7 #include "Varjo_export.h"
8 
9 #if defined __cplusplus
10 extern "C" {
11 #endif
12 
13 typedef int64_t varjo_Error;
24 static const varjo_Error varjo_Error_NaN = 11;
33 
34 // Gaze errors (100 - 199)
39 VARJORUNTIME_DEPRECATED static const varjo_Error varjo_Error_GazeInvalidParameter = 104; // instead use varjo_Error_InvalidParameter
40 VARJORUNTIME_DEPRECATED static const varjo_Error varjo_Error_GazeUnsupportedParameter = 105; // instead use varjo_Error_UnsupportedParameter
41 
42 // Graphics errors (200 - 299)
85 
86 // Compositor errors (300 - 399)
96 
97 // Mixed reality errors (700 - 799)
114 
115 // Data stream errors (800 - 899)
125 
126 // World errors (900 - 999)
130 
131 // Foveation and variable rate shading errors (1000 - 1099)
135 
136 // Special error codes
137 static const varjo_Error varjo_NoError = 0;
139 
140 typedef int32_t varjo_Bool;
141 static const varjo_Bool varjo_False = 0;
142 static const varjo_Bool varjo_True = 1;
143 
147 typedef int64_t varjo_Nanoseconds;
148 
152 typedef int64_t varjo_GazeStatus;
156 
157 typedef int64_t varjo_GazeEyeStatus;
162 
168 
172 typedef int64_t varjo_RotationReset;
176 
180 typedef int64_t varjo_PropertyKey;
188  0xA004;
190  0xA005;
198 
199 typedef int64_t varjo_PoseType;
203 
204 typedef int64_t varjo_DisplayType;
207 
208 typedef int64_t varjo_Eye;
209 static const varjo_Eye varjo_Eye_Left = 0x1;
210 static const varjo_Eye varjo_Eye_Right = 0x2;
211 
212 typedef int64_t varjo_WindingOrder;
215 
216 typedef int64_t varjo_TextureFormat;
231  13;
234 
238 typedef int64_t varjo_RenderAPI;
243 
244 typedef int64_t varjo_EulerOrder;
251 
252 typedef int64_t varjo_RotationDirection;
255 
256 typedef int64_t varjo_Handedness;
259 
260 typedef int64_t varjo_ClipRange;
263 
267 typedef int64_t varjo_SubmitFlags;
268 
272 static const char* varjo_IPDParametersKey_AdjustmentMode = "AdjustmentMode";
273 static const char* varjo_IPDParametersValue_AdjustmentModeManual = "Manual";
274 static const char* varjo_IPDParametersValue_AdjustmentModeAutomatic = "Automatic";
275 
277  "RequestedPositionInMM";
278 
286 static const char* varjo_GazeParametersKey_OutputFilterType = "OutputFilterType";
287 static const char* varjo_GazeParametersValue_OutputFilterStandard = "Standard";
288 static const char* varjo_GazeParametersValue_OutputFilterNone = "None";
289 
290 static const char* varjo_GazeParametersKey_OutputFrequency = "OutputFrequency";
291 static const char* varjo_GazeParametersValue_OutputFrequency100Hz = "OutputFrequency100Hz";
292 static const char* varjo_GazeParametersValue_OutputFrequency200Hz = "OutputFrequency200Hz";
294  "OutputFrequencyMaximumSupported";
295 
300 static const char* varjo_GazeCalibrationParametersKey_CalibrationType = "GazeCalibrationType";
303 
305  "Legacy";
306 
308  "HeadsetAlignmentGuidanceMode";
310  "WaitForUserInputToContinue";
313  "AutoContinueOnAcceptableHeadsetPosition";
314 
318 
319 struct varjo_Session;
320 
330 struct varjo_Matrix {
331  double value[16];
332 };
333 
339  double value[9];
340 };
341 
345 struct varjo_Ray {
346  double origin[3];
347  double forward[3];
348 };
349 
354  float x;
355  float y;
356 };
357 
358 /*
359  * 64bit floating point 3D vector.
360  */
362  double x;
363  double y;
364  double z;
365 };
366 
367 /*
368  * 32bit floating point 3D vector.
369  */
371  float x;
372  float y;
373  float z;
374 };
375 
376 /*
377  * 32bit integer point 3D vector.
378  */
380  int32_t x;
381  int32_t y;
382  int32_t z;
383 };
384 
388 struct varjo_Size3D {
389  double width;
390  double height;
391  double depth;
392 };
393 
399  int32_t vertexCount;
400 };
401 
402 
409  double projectionTop;
411  double projectionLeft;
413 };
414 
419  double projectionMatrix[16];
420  double viewMatrix[16];
421  int32_t preferredWidth;
422  int32_t preferredHeight;
424  int32_t reserved;
425 };
426 
433  int64_t frameNumber;
434 };
435 
441  int32_t width;
442  int32_t height;
445 };
446 
450 struct varjo_Gaze {
451  struct varjo_Ray leftEye;
452  struct varjo_Ray rightEye;
453  struct varjo_Ray gaze;
454  double focusDistance;
455  double stability;
460  int64_t frameNumber;
463 };
464 
469  int64_t frameNumber;
480 };
481 
492 };
493 
498  int32_t x;
499  int32_t y;
500  int32_t width;
501  int32_t height;
502 };
503 
513  int64_t reserved[4];
514 };
515 
520  const char* key;
521  const char* value;
522 };
523 
528  const char* key;
529  const char* value;
530 };
531 
536  const char* key;
537  const char* value;
538 };
539 
540 typedef int64_t varjo_TextureSize_Type;
543  1;
547 
554 
556  double top; // Signed tangent of the top FOV half angle
557  double bottom; // Signed tangent of the bottom FOV half angle
558  double left; // Signed tangent of the left FOV half angle
559  double right; // Signed tangent of the right FOV half angle
560 };
561 
563  int64_t reserved[128];
564 };
565 
571  4;
573  8;
574 
575 typedef int varjo_ShadingRate;
588 
591 };
592 
593 typedef int64_t varjo_StructureType;
594 
598 };
599 
602  struct varjo_Gaze gaze;
603  int32_t viewIndex;
604  struct varjo_Viewport viewport;
611  float innerRadius;
617  float outerRadius;
618 };
619 
620 #if defined __cplusplus
621 }
622 #endif
623 
624 #endif // VARJO_TYPES_H
varjo_InterPupillaryDistanceParameters
Parameters passed to varjo_SetInterPupillaryDistanceParameters function.
Definition: Varjo_types.h:519
varjo_Gaze::rightEye
struct varjo_Ray rightEye
Right eye gaze ray.
Definition: Varjo_types.h:452
varjo_Viewport::x
int32_t x
X coordinate for the view in pixels.
Definition: Varjo_types.h:498
varjo_VariableRateShadingConfig::flags
varjo_VariableRateShadingFlags flags
Definition: Varjo_types.h:605
varjo_StructureExtension::next
struct varjo_StructureExtension * next
Definition: Varjo_types.h:597
varjo_Size3D::width
double width
Width along X-axis.
Definition: Varjo_types.h:389
varjo_Error_DataStreamAlreadyInUse
static const varjo_Error varjo_Error_DataStreamAlreadyInUse
Definition: Varjo_types.h:118
varjo_PropertyKey_IPDPosition
static const varjo_PropertyKey varjo_PropertyKey_IPDPosition
float. HMD interpupillary distance position in millimeters.
Definition: Varjo_types.h:195
varjo_TextureFormat_B8G8R8A8_UNORM
static const varjo_TextureFormat varjo_TextureFormat_B8G8R8A8_UNORM
Rgb 8-bit BGRA format.
Definition: Varjo_types.h:232
varjo_ViewInfo
View information for a frame.
Definition: Varjo_types.h:418
varjo_Error_InvalidViewport
static const varjo_Error varjo_Error_InvalidViewport
Definition: Varjo_types.h:80
varjo_PropertyKey_GazeCalibrated
static const varjo_PropertyKey varjo_PropertyKey_GazeCalibrated
boolean. Is the HMD gaze tracker calibrated.
Definition: Varjo_types.h:184
varjo_GazeEyeCalibrationQuality_High
static const varjo_GazeEyeCalibrationQuality varjo_GazeEyeCalibrationQuality_High
Quality of performed gaze calibration assessed as high.
Definition: Varjo_types.h:167
varjo_DisplayType
int64_t varjo_DisplayType
Definition: Varjo_types.h:204
varjo_EyeMeasurements::leftPupilDiameterInMM
float leftPupilDiameterInMM
Estimate of left eye pupil diameter in mm.
Definition: Varjo_types.h:474
varjo_ShadingRate_2x4
static const varjo_ShadingRate varjo_ShadingRate_2x4
Definition: Varjo_types.h:585
varjo_Nanoseconds
int64_t varjo_Nanoseconds
Time in nanoseconds.
Definition: Varjo_types.h:147
varjo_VariableRateShadingConfig::outerRadius
float outerRadius
Radius of the outer edge of foveated circle.
Definition: Varjo_types.h:617
varjo_Error_GazeNotInitialized
static const varjo_Error varjo_Error_GazeNotInitialized
Definition: Varjo_types.h:35
varjo_Handedness_RightHanded
static const varjo_Handedness varjo_Handedness_RightHanded
Definition: Varjo_types.h:257
varjo_StructureExtension::type
varjo_StructureType type
Definition: Varjo_types.h:596
varjo_Error_RequestViewInfoFailed
static const varjo_Error varjo_Error_RequestViewInfoFailed
Definition: Varjo_types.h:92
varjo_EyeMeasurements::rightIrisDiameterInMM
float rightIrisDiameterInMM
Estimate of right eye iris diameter in mm.
Definition: Varjo_types.h:477
varjo_Gaze::stability
double stability
Focus point stability.
Definition: Varjo_types.h:455
varjo_ViewInfo::projectionMatrix
double projectionMatrix[16]
The projection matrix. See varjo_Matrix for conventions.
Definition: Varjo_types.h:419
varjo_FovTangents::top
double top
Definition: Varjo_types.h:556
VARJORUNTIME_DEPRECATED
#define VARJORUNTIME_DEPRECATED
Definition: Varjo_export.h:25
varjo_Error_CameraInvalidPropertyValue
static const varjo_Error varjo_Error_CameraInvalidPropertyValue
Definition: Varjo_types.h:105
varjo_TextureFormat_R8G8B8A8_UNORM
static const varjo_TextureFormat varjo_TextureFormat_R8G8B8A8_UNORM
Rgb 8-bit RGBA format.
Definition: Varjo_types.h:226
varjo_IPDParametersValue_AdjustmentModeManual
static const char * varjo_IPDParametersValue_AdjustmentModeManual
Interpupillary distance is adjusted manually.
Definition: Varjo_types.h:273
varjo_Error_InvalidParameter
static const varjo_Error varjo_Error_InvalidParameter
Definition: Varjo_types.h:31
varjo_Gaze::captureTime
varjo_Nanoseconds captureTime
Varjo time when this data was captured, see varjo_GetCurrentTime()
Definition: Varjo_types.h:456
varjo_TextureFormat_R32_UINT
static const varjo_TextureFormat varjo_TextureFormat_R32_UINT
Single channel 32-bit uint format.
Definition: Varjo_types.h:228
varjo_EyeMeasurements::captureTime
varjo_Nanoseconds captureTime
Varjo time when this data was captured, see varjo_GetCurrentTime()
Definition: Varjo_types.h:470
varjo_Error_AcquireD3D11DeviceHandleFailed
static const varjo_Error varjo_Error_AcquireD3D11DeviceHandleFailed
Definition: Varjo_types.h:45
varjo_InterPupillaryDistanceParameters::value
const char * value
Definition: Varjo_types.h:521
varjo_AlignedView::projectionTop
double projectionTop
Tangent of the top edge angle.
Definition: Varjo_types.h:409
varjo_Matrix3x3::value
double value[9]
Definition: Varjo_types.h:339
varjo_Error_GazeAlreadyInitialized
static const varjo_Error varjo_Error_GazeAlreadyInitialized
Definition: Varjo_types.h:37
varjo_GazeEyeCalibrationQuality_Invalid
static const varjo_GazeEyeCalibrationQuality varjo_GazeEyeCalibrationQuality_Invalid
Gaze calibration was not performed or failed.
Definition: Varjo_types.h:164
varjo_Error_DataStreamNotInUse
static const varjo_Error varjo_Error_DataStreamNotInUse
Definition: Varjo_types.h:119
varjo_RotationDirection_Clockwise
static const varjo_RotationDirection varjo_RotationDirection_Clockwise
Definition: Varjo_types.h:253
Varjo_export.h
varjo_Texture::reserved
int64_t reserved[4]
Definition: Varjo_types.h:513
varjo_Error_SwapChainConfigInvalidWidth
static const varjo_Error varjo_Error_SwapChainConfigInvalidWidth
Definition: Varjo_types.h:61
varjo_PropertyKey_HMDProductName
static const varjo_PropertyKey varjo_PropertyKey_HMDProductName
string. Product name.
Definition: Varjo_types.h:193
varjo_EulerOrder_YZX
static const varjo_EulerOrder varjo_EulerOrder_YZX
Definition: Varjo_types.h:248
varjo_GazeCalibrationParametersValue_CalibrationLegacy
static VARJORUNTIME_DEPRECATED const char * varjo_GazeCalibrationParametersValue_CalibrationLegacy
Deprecated. Don't use in new code. This will just trigger a fallback to 'Fast' calibration.
Definition: Varjo_types.h:304
varjo_Handedness_LeftHanded
static const varjo_Handedness varjo_Handedness_LeftHanded
Definition: Varjo_types.h:258
varjo_EulerOrder
int64_t varjo_EulerOrder
Definition: Varjo_types.h:244
varjo_EyeMeasurements::leftPupilIrisDiameterRatio
float leftPupilIrisDiameterRatio
Ratio of left pupil to iris diameter in mm. In range [0..1].
Definition: Varjo_types.h:472
varjo_SwapChainLimits::maximumTextureWidth
int32_t maximumTextureWidth
Maximum width of the swap chain textures.
Definition: Varjo_types.h:490
varjo_VelocityTextureFormat_R8G8B8A8_UINT
static const varjo_TextureFormat varjo_VelocityTextureFormat_R8G8B8A8_UINT
Two 16-bit integers packed into 4 bytes.
Definition: Varjo_types.h:229
varjo_ViewDescription::eye
varjo_Eye eye
Which eye the view is for.
Definition: Varjo_types.h:444
varjo_Error_FrameAlreadyStarted
static const varjo_Error varjo_Error_FrameAlreadyStarted
Definition: Varjo_types.h:19
varjo_Error_DataStreamBufferAlreadyLocked
static const varjo_Error varjo_Error_DataStreamBufferAlreadyLocked
Definition: Varjo_types.h:121
varjo_Viewport
Viewport rectangle that defines viewport area.
Definition: Varjo_types.h:497
varjo_Error_InvalidVariableRateShadingRadius
static const varjo_Error varjo_Error_InvalidVariableRateShadingRadius
Definition: Varjo_types.h:134
varjo_Vector3Di::y
int32_t y
Y coordinate.
Definition: Varjo_types.h:381
varjo_SwapChainLimits::minimumNumberOfTextures
int32_t minimumNumberOfTextures
Minimum number of swap chain textures.
Definition: Varjo_types.h:486
varjo_GazeParameters
Parameters passed to varjo_GazeInitWithParameters function.
Definition: Varjo_types.h:527
varjo_ShadingRate_X4PerPixel
static const varjo_ShadingRate varjo_ShadingRate_X4PerPixel
Definition: Varjo_types.h:579
varjo_TextureSize_Type_Stereo_Mask
const varjo_TextureSize_Type_Mask varjo_TextureSize_Type_Stereo_Mask
Bitmask for Stereo texture size type.
Definition: Varjo_types.h:553
varjo_GazeEyeCalibrationQuality_Low
static const varjo_GazeEyeCalibrationQuality varjo_GazeEyeCalibrationQuality_Low
Quality of performed gaze calibration assessed as low.
Definition: Varjo_types.h:165
varjo_VariableRateShadingFlag_GazeCombined
const varjo_VariableRateShadingFlags varjo_VariableRateShadingFlag_GazeCombined
Generates VRS map taking gaze into account with left and right gaze on one viewport.
Definition: Varjo_types.h:570
varjo_TextureSize_Type_BestQuality
VARJORUNTIME_DEPRECATED const varjo_TextureSize_Type varjo_TextureSize_Type_BestQuality
Maximum resolution which provides best possible quality.
Definition: Varjo_types.h:541
varjo_SubmitFlags
int64_t varjo_SubmitFlags
Submit flags.
Definition: Varjo_types.h:267
varjo_ViewDescription
View description.
Definition: Varjo_types.h:440
varjo_FovTangents::bottom
double bottom
Definition: Varjo_types.h:557
varjo_ShadingRate
int varjo_ShadingRate
Definition: Varjo_types.h:575
varjo_PoseType
int64_t varjo_PoseType
Definition: Varjo_types.h:199
varjo_Error_InitializeCompositorLinkFailed
static const varjo_Error varjo_Error_InitializeCompositorLinkFailed
Definition: Varjo_types.h:91
varjo_PoseType_LeftEye
static const varjo_PoseType varjo_PoseType_LeftEye
Pose for the left eye.
Definition: Varjo_types.h:200
varjo_WindingOrder_Clockwise
static const varjo_WindingOrder varjo_WindingOrder_Clockwise
Clockwise triangle winding.
Definition: Varjo_types.h:213
varjo_Error_RequestSwapChainFormatFailed
static const varjo_Error varjo_Error_RequestSwapChainFormatFailed
Definition: Varjo_types.h:88
varjo_RenderAPI_Vulkan
static const varjo_RenderAPI varjo_RenderAPI_Vulkan
Vulkan rendering API.
Definition: Varjo_types.h:242
varjo_WindingOrder_CounterClockwise
static const varjo_WindingOrder varjo_WindingOrder_CounterClockwise
Counter-clockwise triangle winding.
Definition: Varjo_types.h:214
varjo_TextureSize_Type_Quad_Mask
const varjo_TextureSize_Type_Mask varjo_TextureSize_Type_Quad_Mask
Bitmask for Quad texture size type.
Definition: Varjo_types.h:551
varjo_PropertyKey_GazeEyeCalibrationQuality_Left
static const varjo_PropertyKey varjo_PropertyKey_GazeEyeCalibrationQuality_Left
float [0.0-1.0]. Quality assessment of the left eye gaze calibration.
Definition: Varjo_types.h:187
varjo_VariableRateShadingConfig::gaze
struct varjo_Gaze gaze
Valid gaze, returned by varjo_GetRenderingGaze().
Definition: Varjo_types.h:602
varjo_Error_NaN
static const varjo_Error varjo_Error_NaN
Definition: Varjo_types.h:24
varjo_Error_MixingTextures
static const varjo_Error varjo_Error_MixingTextures
Definition: Varjo_types.h:23
varjo_ShadingRateTable
Definition: Varjo_types.h:589
varjo_Gaze::focusDistance
double focusDistance
Estimated gaze direction focus point distance.
Definition: Varjo_types.h:454
varjo_Eye_Right
static const varjo_Eye varjo_Eye_Right
Right eye.
Definition: Varjo_types.h:210
varjo_GazeCalibrationParametersKey_HeadsetAlignmentGuidanceMode
static const char * varjo_GazeCalibrationParametersKey_HeadsetAlignmentGuidanceMode
Controls behavior of headset alignment guidance user interface during calibration process.
Definition: Varjo_types.h:307
varjo_PropertyKey_HMDSerialNumber
static const varjo_PropertyKey varjo_PropertyKey_HMDSerialNumber
string. Product serial number.
Definition: Varjo_types.h:194
varjo_TextureSize_Type_Recommended_Mask
VARJORUNTIME_DEPRECATED const varjo_TextureSize_Type_Mask varjo_TextureSize_Type_Recommended_Mask
Bitmask for Recommended texture size type.
Definition: Varjo_types.h:550
varjo_Error_CameraAlreadyLocked
static const varjo_Error varjo_Error_CameraAlreadyLocked
Definition: Varjo_types.h:102
varjo_Error_InvalidVersion
static const varjo_Error varjo_Error_InvalidVersion
Definition: Varjo_types.h:16
varjo_Vector3D::x
double x
X coordinate.
Definition: Varjo_types.h:362
varjo_Error_WorldMarkerExpirationDurationIsNegative
static const varjo_Error varjo_Error_WorldMarkerExpirationDurationIsNegative
Definition: Varjo_types.h:129
varjo_PropertyKey_GazeIPDEstimate
static const varjo_PropertyKey varjo_PropertyKey_GazeIPDEstimate
float. User interpupillary distance estimate in millimeters.
Definition: Varjo_types.h:191
varjo_Error_NotAvailable
static const varjo_Error varjo_Error_NotAvailable
Definition: Varjo_types.h:100
varjo_ViewDescription::height
int32_t height
Default view height in pixels.
Definition: Varjo_types.h:442
varjo_TextureFormat_B8G8R8A8_SRGB
static const varjo_TextureFormat varjo_TextureFormat_B8G8R8A8_SRGB
sRgb 8-bit BGRA format
Definition: Varjo_types.h:219
varjo_Error_GLAcquireD3D11TextureHandleFailed
static const varjo_Error varjo_Error_GLAcquireD3D11TextureHandleFailed
Definition: Varjo_types.h:49
varjo_Gaze::gaze
struct varjo_Ray gaze
Normalized gaze direction ray.
Definition: Varjo_types.h:453
varjo_Error_InvalidTextureSizeType
static const varjo_Error varjo_Error_InvalidTextureSizeType
Definition: Varjo_types.h:82
varjo_GazeCalibrationParameters::key
const char * key
Definition: Varjo_types.h:536
varjo_RenderAPI
int64_t varjo_RenderAPI
Render API flags.
Definition: Varjo_types.h:238
varjo_Error_D3D11DeviceCreationFailed
static const varjo_Error varjo_Error_D3D11DeviceCreationFailed
Definition: Varjo_types.h:43
varjo_FrameInfo::displayTime
varjo_Nanoseconds displayTime
When the frame is estimated to be displayed.
Definition: Varjo_types.h:432
varjo_Bool
int32_t varjo_Bool
Definition: Varjo_types.h:140
varjo_Error_GazeNotConnected
static const varjo_Error varjo_Error_GazeNotConnected
Definition: Varjo_types.h:36
varjo_Gaze
Gaze tracker vectors and tracking state.
Definition: Varjo_types.h:450
varjo_Vector3D::z
double z
Z coordinate.
Definition: Varjo_types.h:364
varjo_Error_OpenSharedTextureFailed
static const varjo_Error varjo_Error_OpenSharedTextureFailed
Definition: Varjo_types.h:52
varjo_RotationReset_All
static const varjo_RotationReset varjo_RotationReset_All
All rotation axes are reset.
Definition: Varjo_types.h:175
varjo_Error_NotLocked
static const varjo_Error varjo_Error_NotLocked
Definition: Varjo_types.h:29
varjo_ClipRange
int64_t varjo_ClipRange
Definition: Varjo_types.h:260
varjo_Viewport::width
int32_t width
Width of the view in pixels.
Definition: Varjo_types.h:500
varjo_ShadingRate_1x1
static const varjo_ShadingRate varjo_ShadingRate_1x1
Definition: Varjo_types.h:581
varjo_Error_DataStreamBufferInvalidId
static const varjo_Error varjo_Error_DataStreamBufferInvalidId
Definition: Varjo_types.h:120
varjo_PropertyKey_Invalid
static const varjo_PropertyKey varjo_PropertyKey_Invalid
Invalid property key.
Definition: Varjo_types.h:181
varjo_Ray::forward
double forward[3]
Direction of the ray.
Definition: Varjo_types.h:347
varjo_Error_WorldObjectMarkersNotInitialized
static const varjo_Error varjo_Error_WorldObjectMarkersNotInitialized
Definition: Varjo_types.h:127
varjo_Vector2Df::y
float y
Y coordinate.
Definition: Varjo_types.h:355
varjo_Error_Unknown
static const varjo_Error varjo_Error_Unknown
Definition: Varjo_types.h:138
varjo_GazeEyeStatus_Visible
static const varjo_GazeEyeStatus varjo_GazeEyeStatus_Visible
Eye is visible but not reliably tracked (e.g. saccade or blink).
Definition: Varjo_types.h:159
varjo_Error_InvalidMatrix
static const varjo_Error varjo_Error_InvalidMatrix
Definition: Varjo_types.h:68
varjo_WindingOrder
int64_t varjo_WindingOrder
Definition: Varjo_types.h:212
varjo_Error_CameraInvalidPropertyMode
static const varjo_Error varjo_Error_CameraInvalidPropertyMode
Definition: Varjo_types.h:106
varjo_EyeMeasurements::leftEyeOpenness
float leftEyeOpenness
Estimate of the openness ratio of the left eye; 1 corresponds to a fully open eye and 0 to a fully cl...
Definition: Varjo_types.h:478
varjo_GazeEyeStatus
int64_t varjo_GazeEyeStatus
Definition: Varjo_types.h:157
varjo_Error_OutOfMemory
static const varjo_Error varjo_Error_OutOfMemory
Definition: Varjo_types.h:15
varjo_Error_GetD3D11_1DeviceFailed
static const varjo_Error varjo_Error_GetD3D11_1DeviceFailed
Definition: Varjo_types.h:44
varjo_FovTangents
Definition: Varjo_types.h:555
varjo_TextureFormat_Y8_UNORM
static const varjo_TextureFormat varjo_TextureFormat_Y8_UNORM
8-bit Y plane only
Definition: Varjo_types.h:233
varjo_PropertyKey
int64_t varjo_PropertyKey
System status properties.
Definition: Varjo_types.h:180
varjo_ShadingRate_X8PerPixel
static const varjo_ShadingRate varjo_ShadingRate_X8PerPixel
Definition: Varjo_types.h:578
varjo_Error_InvalidSwapChainRect
static const varjo_Error varjo_Error_InvalidSwapChainRect
Definition: Varjo_types.h:73
varjo_Error_SwapChainConfigInvalidHeight
static const varjo_Error varjo_Error_SwapChainConfigInvalidHeight
Definition: Varjo_types.h:62
varjo_Eye
int64_t varjo_Eye
Definition: Varjo_types.h:208
varjo_Error_InvalidRenderAPI
static const varjo_Error varjo_Error_InvalidRenderAPI
Definition: Varjo_types.h:67
varjo_GazeEyeStatus_Compensated
static const varjo_GazeEyeStatus varjo_GazeEyeStatus_Compensated
Eye is tracked but quality compromised (e.g. headset has moved after calibration).
Definition: Varjo_types.h:160
varjo_Size3D
64bit floating point size of a 3D object.
Definition: Varjo_types.h:388
varjo_InterPupillaryDistanceParameters::key
const char * key
Definition: Varjo_types.h:520
varjo_TextureSize_Type_Recommended
VARJORUNTIME_DEPRECATED const varjo_TextureSize_Type varjo_TextureSize_Type_Recommended
Recommended resolution, may not be as large as best quality but still provides great visual results.
Definition: Varjo_types.h:542
varjo_Gaze::leftStatus
varjo_GazeEyeStatus leftStatus
Status of left eye data.
Definition: Varjo_types.h:457
varjo_Mesh2Df::vertexCount
int32_t vertexCount
Number of vertices.
Definition: Varjo_types.h:399
varjo_TextureFormat_YUV422
static const varjo_TextureFormat varjo_TextureFormat_YUV422
YUV 4:2:2 semi-planar, 8bit Y plane, 8+8bit interleaved UV plane.
Definition: Varjo_types.h:222
varjo_Error_GLLockTextureFailed
static const varjo_Error varjo_Error_GLLockTextureFailed
Definition: Varjo_types.h:50
varjo_RotationReset_None
static const varjo_RotationReset varjo_RotationReset_None
Rotation is not reset.
Definition: Varjo_types.h:173
varjo_Error_DataStreamFrameExpired
static const varjo_Error varjo_Error_DataStreamFrameExpired
Definition: Varjo_types.h:123
varjo_False
static const varjo_Bool varjo_False
Definition: Varjo_types.h:141
varjo_Error_GLCopyTextureFailed
static const varjo_Error varjo_Error_GLCopyTextureFailed
Definition: Varjo_types.h:51
varjo_ShadingRate_4x2
static const varjo_ShadingRate varjo_ShadingRate_4x2
Definition: Varjo_types.h:586
varjo_EyeMeasurements::rightPupilDiameterInMM
float rightPupilDiameterInMM
Estimate of right eye pupil diameter in mm.
Definition: Varjo_types.h:475
varjo_FrameInfo
Per-frame information.
Definition: Varjo_types.h:430
varjo_Vector3Df::x
float x
X coordinate.
Definition: Varjo_types.h:371
varjo_Error_D3D11AlreadyInitialized
static const varjo_Error varjo_Error_D3D11AlreadyInitialized
Definition: Varjo_types.h:56
varjo_GazeParameters::key
const char * key
Definition: Varjo_types.h:528
varjo_EyeMeasurements::leftIrisDiameterInMM
float leftIrisDiameterInMM
Estimate of left eye iris diameter in mm.
Definition: Varjo_types.h:476
varjo_FrameInfo::views
struct varjo_ViewInfo * views
Views for the frame. Array size is varjo_GetViewCount.
Definition: Varjo_types.h:431
varjo_TextureSize_Type_DynamicFoveation
const varjo_TextureSize_Type varjo_TextureSize_Type_DynamicFoveation
Best resolution for foveation mode.
Definition: Varjo_types.h:545
varjo_EulerOrder_ZYX
static const varjo_EulerOrder varjo_EulerOrder_ZYX
Definition: Varjo_types.h:246
varjo_Error_InvalidFoveationMode
static const varjo_Error varjo_Error_InvalidFoveationMode
Definition: Varjo_types.h:132
varjo_Error_IndexOutOfBounds
static const varjo_Error varjo_Error_IndexOutOfBounds
Definition: Varjo_types.h:27
varjo_VariableRateShadingConfig::next
struct varjo_StructureExtension * next
Definition: Varjo_types.h:601
varjo_StructureType
int64_t varjo_StructureType
Definition: Varjo_types.h:593
varjo_Error_CreateIPCFailed
static const varjo_Error varjo_Error_CreateIPCFailed
Definition: Varjo_types.h:90
varjo_Error_TextureMutexReleaseFailed
static const varjo_Error varjo_Error_TextureMutexReleaseFailed
Definition: Varjo_types.h:55
varjo_Error_RequestCreateSwapChainFailed
static const varjo_Error varjo_Error_RequestCreateSwapChainFailed
Definition: Varjo_types.h:94
varjo_ShadingRate_Cull
static const varjo_ShadingRate varjo_ShadingRate_Cull
Definition: Varjo_types.h:576
varjo_TextureFormat_R32_FLOAT
static const varjo_TextureFormat varjo_TextureFormat_R32_FLOAT
Single channel 32-bit float format.
Definition: Varjo_types.h:227
varjo_GazeCalibrationParametersValue_AutoContinueOnAcceptableHeadsetPosition
static const char * varjo_GazeCalibrationParametersValue_AutoContinueOnAcceptableHeadsetPosition
UI should continue automatically to actual calibration after headset alignment has been accepted.
Definition: Varjo_types.h:312
varjo_TextureSize_Type_DynamicFoveation_Mask
const varjo_TextureSize_Type_Mask varjo_TextureSize_Type_DynamicFoveation_Mask
Bitmask for DynamicFoveation texture size type.
Definition: Varjo_types.h:552
varjo_Error_ValidationFailure
static const varjo_Error varjo_Error_ValidationFailure
Definition: Varjo_types.h:26
varjo_Error_SwapChainInvalidTextureIndex
static const varjo_Error varjo_Error_SwapChainInvalidTextureIndex
Definition: Varjo_types.h:71
varjo_IPDParametersValue_AdjustmentModeAutomatic
static const char * varjo_IPDParametersValue_AdjustmentModeAutomatic
Interpupillary distance is adjusted automatically.
Definition: Varjo_types.h:274
varjo_ShadingRateTable::shadingRates
varjo_ShadingRate shadingRates[16]
Definition: Varjo_types.h:590
varjo_Vector3Df::z
float z
Z coordinate.
Definition: Varjo_types.h:373
varjo_Error_InvalidViewExtension
static const varjo_Error varjo_Error_InvalidViewExtension
Definition: Varjo_types.h:79
varjo_SwapChainLimits::minimumTextureWidth
int32_t minimumTextureWidth
Minimum width of the swap chain textures.
Definition: Varjo_types.h:488
varjo_TextureSize_Type_Quad
const varjo_TextureSize_Type varjo_TextureSize_Type_Quad
Resolution for static quad rendering mode.
Definition: Varjo_types.h:544
varjo_GazeParameters::value
const char * value
Definition: Varjo_types.h:529
varjo_Gaze::rightStatus
varjo_GazeEyeStatus rightStatus
Status of right eye data.
Definition: Varjo_types.h:458
varjo_TextureFormat_R8G8B8A8_SRGB
static const varjo_TextureFormat varjo_TextureFormat_R8G8B8A8_SRGB
sRgb 8-bit RGBA format
Definition: Varjo_types.h:218
varjo_GazeEyeStatus_Invalid
static const varjo_GazeEyeStatus varjo_GazeEyeStatus_Invalid
Eye is not tracked. (e.g. not visible or is shut).
Definition: Varjo_types.h:158
varjo_GazeParametersValue_OutputFrequencyMaximumSupported
static const char * varjo_GazeParametersValue_OutputFrequencyMaximumSupported
Maximum output frequency supported by connected HMD.
Definition: Varjo_types.h:293
varjo_Vector2Df
32bit floating point 2D vector.
Definition: Varjo_types.h:353
varjo_StructureExtension
Definition: Varjo_types.h:595
varjo_VariableRateShadingFlags
int64_t varjo_VariableRateShadingFlags
Definition: Varjo_types.h:566
varjo_ShadingRate_X2PerPixel
static const varjo_ShadingRate varjo_ShadingRate_X2PerPixel
Definition: Varjo_types.h:580
varjo_Error_GraphicsShutDownFailed
static const varjo_Error varjo_Error_GraphicsShutDownFailed
Definition: Varjo_types.h:64
varjo_Error_D3D11CreateTextureFailed
static const varjo_Error varjo_Error_D3D11CreateTextureFailed
Definition: Varjo_types.h:72
varjo_ShadingRate_4x4
static const varjo_ShadingRate varjo_ShadingRate_4x4
Definition: Varjo_types.h:587
varjo_Error_ChromaKeyEstimatorAlreadyRunning
static const varjo_Error varjo_Error_ChromaKeyEstimatorAlreadyRunning
Definition: Varjo_types.h:110
varjo_AlignedView
Axis aligned tangents from a projection matrix.
Definition: Varjo_types.h:408
varjo_PropertyKey_GazeAllowed
static const varjo_PropertyKey varjo_PropertyKey_GazeAllowed
boolean. Is the HMD gaze tracker allowed.
Definition: Varjo_types.h:186
varjo_Vector3Di::x
int32_t x
X coordinate.
Definition: Varjo_types.h:380
varjo_GazeStatus
int64_t varjo_GazeStatus
Gaze statuses.
Definition: Varjo_types.h:152
varjo_GazeCalibrationParameters::value
const char * value
Definition: Varjo_types.h:537
varjo_ViewInfo::reserved
int32_t reserved
Unused.
Definition: Varjo_types.h:424
varjo_Error_D3D12CreateTextureFailed
static const varjo_Error varjo_Error_D3D12CreateTextureFailed
Definition: Varjo_types.h:76
varjo_AlignedView::projectionLeft
double projectionLeft
Tangent of the left edge angle.
Definition: Varjo_types.h:411
varjo_Error_ConnectToProgramManagerFailed
static const varjo_Error varjo_Error_ConnectToProgramManagerFailed
Definition: Varjo_types.h:87
varjo_GazeParametersValue_OutputFrequency100Hz
static const char * varjo_GazeParametersValue_OutputFrequency100Hz
100Hz output frequency.
Definition: Varjo_types.h:291
varjo_SwapChainLimits
Minimum and maximum limits for swap chain texture count and size.
Definition: Varjo_types.h:485
varjo_Error_TextureMutexAcquireFailed
static const varjo_Error varjo_Error_TextureMutexAcquireFailed
Definition: Varjo_types.h:54
varjo_GazeParametersKey_OutputFrequency
static const char * varjo_GazeParametersKey_OutputFrequency
Gaze output update frequency.
Definition: Varjo_types.h:290
varjo_IPDParametersKey_RequestedPositionInMM
static const char * varjo_IPDParametersKey_RequestedPositionInMM
Requested interpupillary distance position in millimeters in manual adjustment mode.
Definition: Varjo_types.h:276
varjo_Gaze::status
varjo_GazeStatus status
Tracking main status.
Definition: Varjo_types.h:459
varjo_Error_UnableToInitializeVariableRateShading
static const varjo_Error varjo_Error_UnableToInitializeVariableRateShading
Definition: Varjo_types.h:133
varjo_VariableRateShadingConfig::innerRadius
float innerRadius
Radius of the best quality shading rate of the foveated circle if gaze is enabled and calibrated (fla...
Definition: Varjo_types.h:611
varjo_Error_RequestMirrorConfigFailed
static const varjo_Error varjo_Error_RequestMirrorConfigFailed
Definition: Varjo_types.h:95
varjo_GazeCalibrationParametersValue_CalibrationOneDot
static const char * varjo_GazeCalibrationParametersValue_CalibrationOneDot
One dot gaze calibration.
Definition: Varjo_types.h:302
varjo_Error_ChromaKeyEstimatorNotRunning
static const varjo_Error varjo_Error_ChromaKeyEstimatorNotRunning
Definition: Varjo_types.h:111
varjo_TextureFormat
int64_t varjo_TextureFormat
Definition: Varjo_types.h:216
varjo_GazeParametersValue_OutputFrequency200Hz
static const char * varjo_GazeParametersValue_OutputFrequency200Hz
200Hz output frequency.
Definition: Varjo_types.h:292
varjo_Error_NoHMDConnected
static const varjo_Error varjo_Error_NoHMDConnected
Definition: Varjo_types.h:25
varjo_EyeMeasurements::rightEyeOpenness
float rightEyeOpenness
Estimate of the openness ratio of the right eye; 1 corresponds to a fully open eye and 0 to a fully c...
Definition: Varjo_types.h:479
varjo_Error_CameraNotLocked
static const varjo_Error varjo_Error_CameraNotLocked
Definition: Varjo_types.h:103
varjo_SwapChainLimits::maximumTextureHeight
int32_t maximumTextureHeight
Maximum height of the swap chain textures.
Definition: Varjo_types.h:491
varjo_EulerOrder_ZXY
static const varjo_EulerOrder varjo_EulerOrder_ZXY
Definition: Varjo_types.h:250
varjo_EulerOrder_XYZ
static const varjo_EulerOrder varjo_EulerOrder_XYZ
Definition: Varjo_types.h:245
varjo_Size3D::height
double height
Height along Y-axis.
Definition: Varjo_types.h:390
varjo_ClipRangeMinusOneToOne
static const varjo_ClipRange varjo_ClipRangeMinusOneToOne
Definition: Varjo_types.h:262
varjo_Eye_Left
static const varjo_Eye varjo_Eye_Left
Left eye.
Definition: Varjo_types.h:209
varjo_Error_SwapChainConfigInvalidTextureCount
static const varjo_Error varjo_Error_SwapChainConfigInvalidTextureCount
Definition: Varjo_types.h:63
varjo_VariableRateShadingConfig::viewport
struct varjo_Viewport viewport
Viewport where VRS map should be generated inside given texture (can be whole texture or a part of it...
Definition: Varjo_types.h:604
varjo_Error_InvalidFrameNumber
static const varjo_Error varjo_Error_InvalidFrameNumber
Definition: Varjo_types.h:66
varjo_Texture
API-agnostic texture handle.
Definition: Varjo_types.h:512
varjo_GazeCalibrationParameters
Parameters passed to varjo_RequestGazeCalibrationWithParameters function.
Definition: Varjo_types.h:535
varjo_Error_OperationFailed
static const varjo_Error varjo_Error_OperationFailed
Definition: Varjo_types.h:99
varjo_Error_GraphicsError
static const varjo_Error varjo_Error_GraphicsError
Definition: Varjo_types.h:81
varjo_Error_UnsupportedTextureFormat
static const varjo_Error varjo_Error_UnsupportedTextureFormat
Definition: Varjo_types.h:60
varjo_ShadingRate_2x2
static const varjo_ShadingRate varjo_ShadingRate_2x2
Definition: Varjo_types.h:584
varjo_Error_GLCreateTextureFailed
static const varjo_Error varjo_Error_GLCreateTextureFailed
Definition: Varjo_types.h:48
varjo_Error_NoCompositorLink
static const varjo_Error varjo_Error_NoCompositorLink
Definition: Varjo_types.h:93
varjo_Error_GraphicsNotInitialized
static const varjo_Error varjo_Error_GraphicsNotInitialized
Definition: Varjo_types.h:17
varjo_Viewport::y
int32_t y
Y coordinate for the view in pixels.
Definition: Varjo_types.h:499
varjo_VariableRateShadingFlag_Stereo
const varjo_VariableRateShadingFlags varjo_VariableRateShadingFlag_Stereo
Generates VRS map for stereo mode (2 views).
Definition: Varjo_types.h:568
varjo_IPDParametersKey_AdjustmentMode
static const char * varjo_IPDParametersKey_AdjustmentMode
Interpupillary distance (IPD) parameters.
Definition: Varjo_types.h:272
varjo_FovTangents::right
double right
Definition: Varjo_types.h:559
varjo_SwapChainLimits::minimumTextureHeight
int32_t minimumTextureHeight
Minimum height of the swap chain textures.
Definition: Varjo_types.h:489
varjo_Error_ChromaKeyAlreadyLocked
static const varjo_Error varjo_Error_ChromaKeyAlreadyLocked
Definition: Varjo_types.h:107
varjo_TextureSize_Type_Stereo
const varjo_TextureSize_Type varjo_TextureSize_Type_Stereo
Resolution for stereo mode.
Definition: Varjo_types.h:546
varjo_GazeParametersValue_OutputFilterNone
static const char * varjo_GazeParametersValue_OutputFilterNone
Output filter disabled.
Definition: Varjo_types.h:288
varjo_Vector3D::y
double y
Y coordinate.
Definition: Varjo_types.h:363
varjo_VariableRateShadingFlag_OcclusionMap
const varjo_VariableRateShadingFlags varjo_VariableRateShadingFlag_OcclusionMap
Generates VRS with coarsest shading rate in corners which are not visible.
Definition: Varjo_types.h:572
varjo_PropertyKey_UserPresence
static const varjo_PropertyKey varjo_PropertyKey_UserPresence
boolean. Is user wearing the HMD.
Definition: Varjo_types.h:182
varjo_PropertyKey_GazeEyeCalibrationQuality_Right
static const varjo_PropertyKey varjo_PropertyKey_GazeEyeCalibrationQuality_Right
float [0.0-1.0]. Quality assessment of the right eye gaze calibration.
Definition: Varjo_types.h:189
varjo_PropertyKey_MRAvailable
static const varjo_PropertyKey varjo_PropertyKey_MRAvailable
boolean. Is Mixed Reality capable hardware present.
Definition: Varjo_types.h:197
varjo_FovTangents::left
double left
Definition: Varjo_types.h:558
varjo_Matrix
Double precision 4x4 matrix.
Definition: Varjo_types.h:330
varjo_ShadingRate_X16PerPixel
static const varjo_ShadingRate varjo_ShadingRate_X16PerPixel
Definition: Varjo_types.h:577
varjo_EyeMeasurements::rightPupilIrisDiameterRatio
float rightPupilIrisDiameterRatio
Ratio of right pupil to iris diameter in mm. In range [0..1].
Definition: Varjo_types.h:473
varjo_Mesh2Df::vertices
struct varjo_Vector2Df * vertices
Vertex data.
Definition: Varjo_types.h:398
varjo_Error_TextureIsNull
static const varjo_Error varjo_Error_TextureIsNull
Definition: Varjo_types.h:65
varjo_VariableRateShadingConfig
Definition: Varjo_types.h:600
varjo_Vector3Df::y
float y
Y coordinate.
Definition: Varjo_types.h:372
varjo_EyeMeasurements::interPupillaryDistanceInMM
float interPupillaryDistanceInMM
Estimate of user's IPD in mm.
Definition: Varjo_types.h:471
varjo_ViewInfo::viewMatrix
double viewMatrix[16]
The view matrix, world-to-eye. See varjo_Matrix for conventions.
Definition: Varjo_types.h:420
varjo_DisplayType_Focus
static const varjo_DisplayType varjo_DisplayType_Focus
Focus display.
Definition: Varjo_types.h:205
varjo_Viewport::height
int32_t height
Height of the view in pixels.
Definition: Varjo_types.h:501
varjo_RotationDirection_CounterClockwise
static const varjo_RotationDirection varjo_RotationDirection_CounterClockwise
Definition: Varjo_types.h:254
varjo_RotationReset_Yaw
static const varjo_RotationReset varjo_RotationReset_Yaw
Yaw rotation (around up Y axis) is reset.
Definition: Varjo_types.h:174
varjo_Vector3Di::z
int32_t z
Z coordinate.
Definition: Varjo_types.h:382
varjo_GazeCalibrationParametersKey_OutputFilterType
static VARJORUNTIME_DEPRECATED const char * varjo_GazeCalibrationParametersKey_OutputFilterType
Definition: Varjo_types.h:315
varjo_RenderAPI_D3D12
static const varjo_RenderAPI varjo_RenderAPI_D3D12
Direct3D12 rendering API.
Definition: Varjo_types.h:241
varjo_Error_GLShutDownFailed
static const varjo_Error varjo_Error_GLShutDownFailed
Definition: Varjo_types.h:59
varjo_FoveatedFovTangents_Hints::reserved
int64_t reserved[128]
Definition: Varjo_types.h:563
varjo_Error_InvalidSession
static const varjo_Error varjo_Error_InvalidSession
Definition: Varjo_types.h:14
varjo_Error
int64_t varjo_Error
Definition: Varjo_types.h:13
varjo_Error_SwapChainTextureIsNotReleased
static const varjo_Error varjo_Error_SwapChainTextureIsNotReleased
Definition: Varjo_types.h:83
varjo_PoseType_RightEye
static const varjo_PoseType varjo_PoseType_RightEye
Pose for the right eye.
Definition: Varjo_types.h:202
varjo_Gaze::rightPupilSize
VARJORUNTIME_DEPRECATED double rightPupilSize
Normalized [0..1] right eye pupil size.
Definition: Varjo_types.h:462
varjo_SwapChainLimits::maximumNumberOfTextures
int32_t maximumNumberOfTextures
Maximum number of swap chain textures.
Definition: Varjo_types.h:487
varjo_Error_OpenSharedEventFailed
static const varjo_Error varjo_Error_OpenSharedEventFailed
Definition: Varjo_types.h:89
varjo_GazeCalibrationParametersValue_OutputFilterNone
static VARJORUNTIME_DEPRECATED const char * varjo_GazeCalibrationParametersValue_OutputFilterNone
Definition: Varjo_types.h:317
varjo_DepthTextureFormat_D24_UNORM_S8_UINT
static const varjo_TextureFormat varjo_DepthTextureFormat_D24_UNORM_S8_UINT
24-bit UNORM depth and 8-bit UINT stencil format
Definition: Varjo_types.h:224
varjo_Vector3D
Definition: Varjo_types.h:361
varjo_EulerOrder_YXZ
static const varjo_EulerOrder varjo_EulerOrder_YXZ
Definition: Varjo_types.h:249
varjo_Error_GazeNotAllowed
static const varjo_Error varjo_Error_GazeNotAllowed
Definition: Varjo_types.h:38
varjo_ViewInfo::preferredHeight
int32_t preferredHeight
Preferred height of the viewport.
Definition: Varjo_types.h:422
varjo_ShadingRate_2x1
static const varjo_ShadingRate varjo_ShadingRate_2x1
Definition: Varjo_types.h:583
varjo_Error_DataStreamDataNotAvailable
static const varjo_Error varjo_Error_DataStreamDataNotAvailable
Definition: Varjo_types.h:124
varjo_GazeParametersValue_OutputFilterStandard
static const char * varjo_GazeParametersValue_OutputFilterStandard
Standard smoothing output filter.
Definition: Varjo_types.h:287
varjo_Error_GazeUnsupportedParameter
static VARJORUNTIME_DEPRECATED const varjo_Error varjo_Error_GazeUnsupportedParameter
Definition: Varjo_types.h:40
varjo_Error_GLExtensionNotFound
static const varjo_Error varjo_Error_GLExtensionNotFound
Definition: Varjo_types.h:47
varjo_Error_InvalidSize
static const varjo_Error varjo_Error_InvalidSize
Definition: Varjo_types.h:30
varjo_DepthTextureFormat_D32_FLOAT_S8_UINT
static const varjo_TextureFormat varjo_DepthTextureFormat_D32_FLOAT_S8_UINT
32-bit FLOAT depth abd 8-bit UINT stencil format
Definition: Varjo_types.h:225
varjo_AlignedView::projectionRight
double projectionRight
Tangent of the right edge angle.
Definition: Varjo_types.h:412
varjo_Error_AlreadyLocked
static const varjo_Error varjo_Error_AlreadyLocked
Definition: Varjo_types.h:28
varjo_ViewDescription::width
int32_t width
Default view width in pixels.
Definition: Varjo_types.h:441
varjo_GazeStatus_Valid
static const varjo_GazeStatus varjo_GazeStatus_Valid
Data is valid.
Definition: Varjo_types.h:155
varjo_GazeCalibrationParametersValue_CalibrationFast
static const char * varjo_GazeCalibrationParametersValue_CalibrationFast
Fast (5-dot) gaze calibration.
Definition: Varjo_types.h:301
varjo_RotationReset
int64_t varjo_RotationReset
Rotation reset types.
Definition: Varjo_types.h:172
varjo_TextureSize_Type_BestQuality_Mask
VARJORUNTIME_DEPRECATED const varjo_TextureSize_Type_Mask varjo_TextureSize_Type_BestQuality_Mask
Bitmask for BestQuality texture size type.
Definition: Varjo_types.h:549
varjo_Error_TextureMutexQueryFailed
static const varjo_Error varjo_Error_TextureMutexQueryFailed
Definition: Varjo_types.h:53
varjo_GazeCalibrationParametersValue_WaitForUserInputToContinue
static const char * varjo_GazeCalibrationParametersValue_WaitForUserInputToContinue
UI should wait for user input to continue even after headset alignment has been detected as acceptabl...
Definition: Varjo_types.h:309
varjo_Error_GazeInvalidParameter
static VARJORUNTIME_DEPRECATED const varjo_Error varjo_Error_GazeInvalidParameter
Definition: Varjo_types.h:39
varjo_Error_RequestFailed
static const varjo_Error varjo_Error_RequestFailed
Definition: Varjo_types.h:98
varjo_Error_ChromaKeyInvalidType
static const varjo_Error varjo_Error_ChromaKeyInvalidType
Definition: Varjo_types.h:109
varjo_Error_D3D11ShutDownFailed
static const varjo_Error varjo_Error_D3D11ShutDownFailed
Definition: Varjo_types.h:57
varjo_Gaze::frameNumber
int64_t frameNumber
Frame number, increases monotonically.
Definition: Varjo_types.h:460
varjo_Error_InvalidSwapChain
static const varjo_Error varjo_Error_InvalidSwapChain
Definition: Varjo_types.h:77
varjo_Vector3Df
Definition: Varjo_types.h:370
varjo_Vector3Di
Definition: Varjo_types.h:379
varjo_RotationDirection
int64_t varjo_RotationDirection
Definition: Varjo_types.h:252
varjo_Ray::origin
double origin[3]
Origin of the ray.
Definition: Varjo_types.h:346
varjo_Error_UnsupportedDepthFormat
static const varjo_Error varjo_Error_UnsupportedDepthFormat
Definition: Varjo_types.h:69
varjo_PropertyKey_HMDConnected
static const varjo_PropertyKey varjo_PropertyKey_HMDConnected
boolean. Is HMD connected.
Definition: Varjo_types.h:192
varjo_Gaze::leftPupilSize
VARJORUNTIME_DEPRECATED double leftPupilSize
Normalized [0..1] left eye pupil size.
Definition: Varjo_types.h:461
varjo_Error_GazeInvalid
static const varjo_Error varjo_Error_GazeInvalid
Definition: Varjo_types.h:84
varjo_VariableRateShadingFlag_None
const varjo_VariableRateShadingFlags varjo_VariableRateShadingFlag_None
Definition: Varjo_types.h:567
varjo_Error_ViewDepthExtensionValidationFailure
static const varjo_Error varjo_Error_ViewDepthExtensionValidationFailure
Definition: Varjo_types.h:74
varjo_Error_CapabilityNotAvailable
static const varjo_Error varjo_Error_CapabilityNotAvailable
Definition: Varjo_types.h:101
varjo_PropertyKey_IPDAdjustmentMode
static const varjo_PropertyKey varjo_PropertyKey_IPDAdjustmentMode
string. Current interpupillary distance adjustment mode.
Definition: Varjo_types.h:196
varjo_PropertyKey_GazeCalibrating
static const varjo_PropertyKey varjo_PropertyKey_GazeCalibrating
boolean. Is system currently calibrating the HMD gaze tracker.
Definition: Varjo_types.h:183
varjo_GazeEyeCalibrationQuality
int32_t varjo_GazeEyeCalibrationQuality
Definition: Varjo_types.h:163
varjo_GazeEyeCalibrationQuality_Medium
static const varjo_GazeEyeCalibrationQuality varjo_GazeEyeCalibrationQuality_Medium
Quality of performed gaze calibration assessed as medium.
Definition: Varjo_types.h:166
varjo_Error_NullPointer
static const varjo_Error varjo_Error_NullPointer
Definition: Varjo_types.h:22
varjo_EyeMeasurements::frameNumber
int64_t frameNumber
Frame number, increases monotonically.
Definition: Varjo_types.h:469
varjo_EulerOrder_XZY
static const varjo_EulerOrder varjo_EulerOrder_XZY
Definition: Varjo_types.h:247
varjo_Vector2Df::x
float x
X coordinate.
Definition: Varjo_types.h:354
varjo_Error_DataStreamBufferNotLocked
static const varjo_Error varjo_Error_DataStreamBufferNotLocked
Definition: Varjo_types.h:122
varjo_Error_UnsupportedParameter
static const varjo_Error varjo_Error_UnsupportedParameter
Definition: Varjo_types.h:32
varjo_Error_DataStreamInvalidId
static const varjo_Error varjo_Error_DataStreamInvalidId
Definition: Varjo_types.h:117
varjo_VariableRateShadingFlag_Gaze
const varjo_VariableRateShadingFlags varjo_VariableRateShadingFlag_Gaze
Generates VRS map taking gaze into account.
Definition: Varjo_types.h:569
varjo_TextureSize_Type_Mask
int64_t varjo_TextureSize_Type_Mask
Definition: Varjo_types.h:548
varjo_Error_DataStreamInvalidCallback
static const varjo_Error varjo_Error_DataStreamInvalidCallback
Definition: Varjo_types.h:116
varjo_Error_ChromaKeyNotLocked
static const varjo_Error varjo_Error_ChromaKeyNotLocked
Definition: Varjo_types.h:108
varjo_Error_ViewIndexOutOfBounds
static const varjo_Error varjo_Error_ViewIndexOutOfBounds
Definition: Varjo_types.h:20
varjo_Error_WrongSwapChainTextureFormat
static const varjo_Error varjo_Error_WrongSwapChainTextureFormat
Definition: Varjo_types.h:78
varjo_GazeCalibrationParametersKey_CalibrationType
static const char * varjo_GazeCalibrationParametersKey_CalibrationType
Gaze calibration parameters.
Definition: Varjo_types.h:300
varjo_NoError
static const varjo_Error varjo_NoError
Definition: Varjo_types.h:137
varjo_Ray
Ray is a vector starting from an origin.
Definition: Varjo_types.h:345
varjo_Matrix::value
double value[16]
Definition: Varjo_types.h:331
varjo_GazeStatus_Invalid
static const varjo_GazeStatus varjo_GazeStatus_Invalid
Data is not available, user is not wearing the device or eyes can not be found.
Definition: Varjo_types.h:153
varjo_ViewInfo::enabled
varjo_Bool enabled
Whether this view should be rendered during current frame.
Definition: Varjo_types.h:423
varjo_Error_WorldComponentDoesNotExist
static const varjo_Error varjo_Error_WorldComponentDoesNotExist
Definition: Varjo_types.h:128
varjo_RenderAPI_D3D11
static const varjo_RenderAPI varjo_RenderAPI_D3D11
Direct3D11 rendering API.
Definition: Varjo_types.h:239
varjo_Error_D3D11OnD12DeviceCreationFailed
static const varjo_Error varjo_Error_D3D11OnD12DeviceCreationFailed
Definition: Varjo_types.h:75
varjo_GazeParametersKey_OutputFilterType
static const char * varjo_GazeParametersKey_OutputFilterType
Gaze parameters.
Definition: Varjo_types.h:286
varjo_GazeCalibrationParametersValue_OutputFilterStandard
static VARJORUNTIME_DEPRECATED const char * varjo_GazeCalibrationParametersValue_OutputFilterStandard
Definition: Varjo_types.h:316
varjo_Error_CameraInvalidPropertyType
static const varjo_Error varjo_Error_CameraInvalidPropertyType
Definition: Varjo_types.h:104
varjo_Error_FrameNotStarted
static const varjo_Error varjo_Error_FrameNotStarted
Definition: Varjo_types.h:18
varjo_TextureFormat_INVALID
static const varjo_TextureFormat varjo_TextureFormat_INVALID
Invalid format.
Definition: Varjo_types.h:217
varjo_DepthTextureFormat_D32_FLOAT
static const varjo_TextureFormat varjo_DepthTextureFormat_D32_FLOAT
32-bit floating point depth format
Definition: Varjo_types.h:220
varjo_GazeStatus_Adjust
static const varjo_GazeStatus varjo_GazeStatus_Adjust
User is wearing the device but gaze tracking is in middle of adjustment.
Definition: Varjo_types.h:154
varjo_Error_EnvironmentCubemapNotLocked
static const varjo_Error varjo_Error_EnvironmentCubemapNotLocked
Definition: Varjo_types.h:112
varjo_PoseType_Center
static const varjo_PoseType varjo_PoseType_Center
Pose for the head (in the middle of the eyes).
Definition: Varjo_types.h:201
varjo_ShadingRate_1x2
static const varjo_ShadingRate varjo_ShadingRate_1x2
Definition: Varjo_types.h:582
varjo_VariableRateShadingConfig::viewIndex
int32_t viewIndex
View for which VRS map should be generated.
Definition: Varjo_types.h:603
varjo_DisplayType_Context
static const varjo_DisplayType varjo_DisplayType_Context
Context display.
Definition: Varjo_types.h:206
varjo_ViewDescription::display
varjo_DisplayType display
Which display the view is for.
Definition: Varjo_types.h:443
varjo_ClipRangeZeroToOne
static const varjo_ClipRange varjo_ClipRangeZeroToOne
Definition: Varjo_types.h:261
varjo_Mesh2Df
2D triangle list mesh.
Definition: Varjo_types.h:397
varjo_GazeEyeStatus_Tracked
static const varjo_GazeEyeStatus varjo_GazeEyeStatus_Tracked
Eye is tracked.
Definition: Varjo_types.h:161
varjo_FoveatedFovTangents_Hints
Definition: Varjo_types.h:562
varjo_Error_InvalidPoseType
static const varjo_Error varjo_Error_InvalidPoseType
Definition: Varjo_types.h:21
varjo_EyeMeasurements
Gaze tracker estimates of user's eye measurements.
Definition: Varjo_types.h:468
varjo_TextureFormat_NV12
static const varjo_TextureFormat varjo_TextureFormat_NV12
YUV 4:2:0 semi-planar in NV12 format (8bit Y plane, 8+8bit interleaved UV plane in half resolution)
Definition: Varjo_types.h:230
varjo_TextureFormat_RGBA16_FLOAT
static const varjo_TextureFormat varjo_TextureFormat_RGBA16_FLOAT
RGBA 16 bit floating point.
Definition: Varjo_types.h:223
varjo_Error_InvalidClipDistances
static const varjo_Error varjo_Error_InvalidClipDistances
Definition: Varjo_types.h:70
varjo_True
static const varjo_Bool varjo_True
Definition: Varjo_types.h:142
varjo_Error_GLAlreadyInitialized
static const varjo_Error varjo_Error_GLAlreadyInitialized
Definition: Varjo_types.h:58
varjo_Size3D::depth
double depth
Depth along Z-axis.
Definition: Varjo_types.h:391
varjo_Handedness
int64_t varjo_Handedness
Definition: Varjo_types.h:256
varjo_FrameInfo::frameNumber
int64_t frameNumber
Current frame number.
Definition: Varjo_types.h:433
varjo_ViewInfo::preferredWidth
int32_t preferredWidth
Preferred width of the viewport.
Definition: Varjo_types.h:421
varjo_TextureSize_Type
int64_t varjo_TextureSize_Type
Definition: Varjo_types.h:540
varjo_Error_GLBackBufferAlreadyCreated
static const varjo_Error varjo_Error_GLBackBufferAlreadyCreated
Definition: Varjo_types.h:46
varjo_MaskTextureFormat_A8_UNORM
static const varjo_TextureFormat varjo_MaskTextureFormat_A8_UNORM
8-bit alpha mask
Definition: Varjo_types.h:221
varjo_Matrix3x3
Double precision 3x3 matrix.
Definition: Varjo_types.h:338
varjo_AlignedView::projectionBottom
double projectionBottom
Tangent of the bottom edge angle.
Definition: Varjo_types.h:410
varjo_RenderAPI_GL
static const varjo_RenderAPI varjo_RenderAPI_GL
OpenGL rendering API.
Definition: Varjo_types.h:240
varjo_Gaze::leftEye
struct varjo_Ray leftEye
Left eye gaze ray.
Definition: Varjo_types.h:451
varjo_PropertyKey_GazeCalibrationQuality
static const varjo_PropertyKey varjo_PropertyKey_GazeCalibrationQuality
float [0.0-1.0]. Quality of the gaze calibration.
Definition: Varjo_types.h:185
varjo_Error_EnvironmentCubemapInvalidMode
static const varjo_Error varjo_Error_EnvironmentCubemapInvalidMode
Definition: Varjo_types.h:113