|
Varjo Native SDK
|
|
Go to the documentation of this file.
9 #if defined __cplusplus
277 "RequestedPositionInMM";
294 "OutputFrequencyMaximumSupported";
308 "HeadsetAlignmentGuidanceMode";
310 "WaitForUserInputToContinue";
313 "AutoContinueOnAcceptableHeadsetPosition";
319 struct varjo_Session;
620 #if defined __cplusplus
624 #endif // VARJO_TYPES_H
Parameters passed to varjo_SetInterPupillaryDistanceParameters function.
Definition: Varjo_types.h:519
struct varjo_Ray rightEye
Right eye gaze ray.
Definition: Varjo_types.h:452
int32_t x
X coordinate for the view in pixels.
Definition: Varjo_types.h:498
varjo_VariableRateShadingFlags flags
Definition: Varjo_types.h:605
struct varjo_StructureExtension * next
Definition: Varjo_types.h:597
double width
Width along X-axis.
Definition: Varjo_types.h:389
static const varjo_Error varjo_Error_DataStreamAlreadyInUse
Definition: Varjo_types.h:118
static const varjo_PropertyKey varjo_PropertyKey_IPDPosition
float. HMD interpupillary distance position in millimeters.
Definition: Varjo_types.h:195
static const varjo_TextureFormat varjo_TextureFormat_B8G8R8A8_UNORM
Rgb 8-bit BGRA format.
Definition: Varjo_types.h:232
View information for a frame.
Definition: Varjo_types.h:418
static const varjo_Error varjo_Error_InvalidViewport
Definition: Varjo_types.h:80
static const varjo_PropertyKey varjo_PropertyKey_GazeCalibrated
boolean. Is the HMD gaze tracker calibrated.
Definition: Varjo_types.h:184
static const varjo_GazeEyeCalibrationQuality varjo_GazeEyeCalibrationQuality_High
Quality of performed gaze calibration assessed as high.
Definition: Varjo_types.h:167
int64_t varjo_DisplayType
Definition: Varjo_types.h:204
float leftPupilDiameterInMM
Estimate of left eye pupil diameter in mm.
Definition: Varjo_types.h:474
static const varjo_ShadingRate varjo_ShadingRate_2x4
Definition: Varjo_types.h:585
int64_t varjo_Nanoseconds
Time in nanoseconds.
Definition: Varjo_types.h:147
float outerRadius
Radius of the outer edge of foveated circle.
Definition: Varjo_types.h:617
static const varjo_Error varjo_Error_GazeNotInitialized
Definition: Varjo_types.h:35
static const varjo_Handedness varjo_Handedness_RightHanded
Definition: Varjo_types.h:257
varjo_StructureType type
Definition: Varjo_types.h:596
static const varjo_Error varjo_Error_RequestViewInfoFailed
Definition: Varjo_types.h:92
float rightIrisDiameterInMM
Estimate of right eye iris diameter in mm.
Definition: Varjo_types.h:477
double stability
Focus point stability.
Definition: Varjo_types.h:455
double projectionMatrix[16]
The projection matrix. See varjo_Matrix for conventions.
Definition: Varjo_types.h:419
double top
Definition: Varjo_types.h:556
#define VARJORUNTIME_DEPRECATED
Definition: Varjo_export.h:25
static const varjo_Error varjo_Error_CameraInvalidPropertyValue
Definition: Varjo_types.h:105
static const varjo_TextureFormat varjo_TextureFormat_R8G8B8A8_UNORM
Rgb 8-bit RGBA format.
Definition: Varjo_types.h:226
static const char * varjo_IPDParametersValue_AdjustmentModeManual
Interpupillary distance is adjusted manually.
Definition: Varjo_types.h:273
static const varjo_Error varjo_Error_InvalidParameter
Definition: Varjo_types.h:31
varjo_Nanoseconds captureTime
Varjo time when this data was captured, see varjo_GetCurrentTime()
Definition: Varjo_types.h:456
static const varjo_TextureFormat varjo_TextureFormat_R32_UINT
Single channel 32-bit uint format.
Definition: Varjo_types.h:228
varjo_Nanoseconds captureTime
Varjo time when this data was captured, see varjo_GetCurrentTime()
Definition: Varjo_types.h:470
static const varjo_Error varjo_Error_AcquireD3D11DeviceHandleFailed
Definition: Varjo_types.h:45
const char * value
Definition: Varjo_types.h:521
double projectionTop
Tangent of the top edge angle.
Definition: Varjo_types.h:409
double value[9]
Definition: Varjo_types.h:339
static const varjo_Error varjo_Error_GazeAlreadyInitialized
Definition: Varjo_types.h:37
static const varjo_GazeEyeCalibrationQuality varjo_GazeEyeCalibrationQuality_Invalid
Gaze calibration was not performed or failed.
Definition: Varjo_types.h:164
static const varjo_Error varjo_Error_DataStreamNotInUse
Definition: Varjo_types.h:119
static const varjo_RotationDirection varjo_RotationDirection_Clockwise
Definition: Varjo_types.h:253
int64_t reserved[4]
Definition: Varjo_types.h:513
static const varjo_Error varjo_Error_SwapChainConfigInvalidWidth
Definition: Varjo_types.h:61
static const varjo_PropertyKey varjo_PropertyKey_HMDProductName
string. Product name.
Definition: Varjo_types.h:193
static const varjo_EulerOrder varjo_EulerOrder_YZX
Definition: Varjo_types.h:248
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
static const varjo_Handedness varjo_Handedness_LeftHanded
Definition: Varjo_types.h:258
int64_t varjo_EulerOrder
Definition: Varjo_types.h:244
float leftPupilIrisDiameterRatio
Ratio of left pupil to iris diameter in mm. In range [0..1].
Definition: Varjo_types.h:472
int32_t maximumTextureWidth
Maximum width of the swap chain textures.
Definition: Varjo_types.h:490
static const varjo_TextureFormat varjo_VelocityTextureFormat_R8G8B8A8_UINT
Two 16-bit integers packed into 4 bytes.
Definition: Varjo_types.h:229
varjo_Eye eye
Which eye the view is for.
Definition: Varjo_types.h:444
static const varjo_Error varjo_Error_FrameAlreadyStarted
Definition: Varjo_types.h:19
static const varjo_Error varjo_Error_DataStreamBufferAlreadyLocked
Definition: Varjo_types.h:121
Viewport rectangle that defines viewport area.
Definition: Varjo_types.h:497
static const varjo_Error varjo_Error_InvalidVariableRateShadingRadius
Definition: Varjo_types.h:134
int32_t y
Y coordinate.
Definition: Varjo_types.h:381
int32_t minimumNumberOfTextures
Minimum number of swap chain textures.
Definition: Varjo_types.h:486
Parameters passed to varjo_GazeInitWithParameters function.
Definition: Varjo_types.h:527
static const varjo_ShadingRate varjo_ShadingRate_X4PerPixel
Definition: Varjo_types.h:579
const varjo_TextureSize_Type_Mask varjo_TextureSize_Type_Stereo_Mask
Bitmask for Stereo texture size type.
Definition: Varjo_types.h:553
static const varjo_GazeEyeCalibrationQuality varjo_GazeEyeCalibrationQuality_Low
Quality of performed gaze calibration assessed as low.
Definition: Varjo_types.h:165
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
VARJORUNTIME_DEPRECATED const varjo_TextureSize_Type varjo_TextureSize_Type_BestQuality
Maximum resolution which provides best possible quality.
Definition: Varjo_types.h:541
int64_t varjo_SubmitFlags
Submit flags.
Definition: Varjo_types.h:267
View description.
Definition: Varjo_types.h:440
double bottom
Definition: Varjo_types.h:557
int varjo_ShadingRate
Definition: Varjo_types.h:575
int64_t varjo_PoseType
Definition: Varjo_types.h:199
static const varjo_Error varjo_Error_InitializeCompositorLinkFailed
Definition: Varjo_types.h:91
static const varjo_PoseType varjo_PoseType_LeftEye
Pose for the left eye.
Definition: Varjo_types.h:200
static const varjo_WindingOrder varjo_WindingOrder_Clockwise
Clockwise triangle winding.
Definition: Varjo_types.h:213
static const varjo_Error varjo_Error_RequestSwapChainFormatFailed
Definition: Varjo_types.h:88
static const varjo_RenderAPI varjo_RenderAPI_Vulkan
Vulkan rendering API.
Definition: Varjo_types.h:242
static const varjo_WindingOrder varjo_WindingOrder_CounterClockwise
Counter-clockwise triangle winding.
Definition: Varjo_types.h:214
const varjo_TextureSize_Type_Mask varjo_TextureSize_Type_Quad_Mask
Bitmask for Quad texture size type.
Definition: Varjo_types.h:551
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
struct varjo_Gaze gaze
Valid gaze, returned by varjo_GetRenderingGaze().
Definition: Varjo_types.h:602
static const varjo_Error varjo_Error_NaN
Definition: Varjo_types.h:24
static const varjo_Error varjo_Error_MixingTextures
Definition: Varjo_types.h:23
Definition: Varjo_types.h:589
double focusDistance
Estimated gaze direction focus point distance.
Definition: Varjo_types.h:454
static const varjo_Eye varjo_Eye_Right
Right eye.
Definition: Varjo_types.h:210
static const char * varjo_GazeCalibrationParametersKey_HeadsetAlignmentGuidanceMode
Controls behavior of headset alignment guidance user interface during calibration process.
Definition: Varjo_types.h:307
static const varjo_PropertyKey varjo_PropertyKey_HMDSerialNumber
string. Product serial number.
Definition: Varjo_types.h:194
VARJORUNTIME_DEPRECATED const varjo_TextureSize_Type_Mask varjo_TextureSize_Type_Recommended_Mask
Bitmask for Recommended texture size type.
Definition: Varjo_types.h:550
static const varjo_Error varjo_Error_CameraAlreadyLocked
Definition: Varjo_types.h:102
static const varjo_Error varjo_Error_InvalidVersion
Definition: Varjo_types.h:16
double x
X coordinate.
Definition: Varjo_types.h:362
static const varjo_Error varjo_Error_WorldMarkerExpirationDurationIsNegative
Definition: Varjo_types.h:129
static const varjo_PropertyKey varjo_PropertyKey_GazeIPDEstimate
float. User interpupillary distance estimate in millimeters.
Definition: Varjo_types.h:191
static const varjo_Error varjo_Error_NotAvailable
Definition: Varjo_types.h:100
int32_t height
Default view height in pixels.
Definition: Varjo_types.h:442
static const varjo_TextureFormat varjo_TextureFormat_B8G8R8A8_SRGB
sRgb 8-bit BGRA format
Definition: Varjo_types.h:219
static const varjo_Error varjo_Error_GLAcquireD3D11TextureHandleFailed
Definition: Varjo_types.h:49
struct varjo_Ray gaze
Normalized gaze direction ray.
Definition: Varjo_types.h:453
static const varjo_Error varjo_Error_InvalidTextureSizeType
Definition: Varjo_types.h:82
const char * key
Definition: Varjo_types.h:536
int64_t varjo_RenderAPI
Render API flags.
Definition: Varjo_types.h:238
static const varjo_Error varjo_Error_D3D11DeviceCreationFailed
Definition: Varjo_types.h:43
varjo_Nanoseconds displayTime
When the frame is estimated to be displayed.
Definition: Varjo_types.h:432
int32_t varjo_Bool
Definition: Varjo_types.h:140
static const varjo_Error varjo_Error_GazeNotConnected
Definition: Varjo_types.h:36
Gaze tracker vectors and tracking state.
Definition: Varjo_types.h:450
double z
Z coordinate.
Definition: Varjo_types.h:364
static const varjo_Error varjo_Error_OpenSharedTextureFailed
Definition: Varjo_types.h:52
static const varjo_RotationReset varjo_RotationReset_All
All rotation axes are reset.
Definition: Varjo_types.h:175
static const varjo_Error varjo_Error_NotLocked
Definition: Varjo_types.h:29
int64_t varjo_ClipRange
Definition: Varjo_types.h:260
int32_t width
Width of the view in pixels.
Definition: Varjo_types.h:500
static const varjo_ShadingRate varjo_ShadingRate_1x1
Definition: Varjo_types.h:581
static const varjo_Error varjo_Error_DataStreamBufferInvalidId
Definition: Varjo_types.h:120
static const varjo_PropertyKey varjo_PropertyKey_Invalid
Invalid property key.
Definition: Varjo_types.h:181
double forward[3]
Direction of the ray.
Definition: Varjo_types.h:347
static const varjo_Error varjo_Error_WorldObjectMarkersNotInitialized
Definition: Varjo_types.h:127
float y
Y coordinate.
Definition: Varjo_types.h:355
static const varjo_Error varjo_Error_Unknown
Definition: Varjo_types.h:138
static const varjo_GazeEyeStatus varjo_GazeEyeStatus_Visible
Eye is visible but not reliably tracked (e.g. saccade or blink).
Definition: Varjo_types.h:159
static const varjo_Error varjo_Error_InvalidMatrix
Definition: Varjo_types.h:68
int64_t varjo_WindingOrder
Definition: Varjo_types.h:212
static const varjo_Error varjo_Error_CameraInvalidPropertyMode
Definition: Varjo_types.h:106
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
int64_t varjo_GazeEyeStatus
Definition: Varjo_types.h:157
static const varjo_Error varjo_Error_OutOfMemory
Definition: Varjo_types.h:15
static const varjo_Error varjo_Error_GetD3D11_1DeviceFailed
Definition: Varjo_types.h:44
Definition: Varjo_types.h:555
static const varjo_TextureFormat varjo_TextureFormat_Y8_UNORM
8-bit Y plane only
Definition: Varjo_types.h:233
int64_t varjo_PropertyKey
System status properties.
Definition: Varjo_types.h:180
static const varjo_ShadingRate varjo_ShadingRate_X8PerPixel
Definition: Varjo_types.h:578
static const varjo_Error varjo_Error_InvalidSwapChainRect
Definition: Varjo_types.h:73
static const varjo_Error varjo_Error_SwapChainConfigInvalidHeight
Definition: Varjo_types.h:62
int64_t varjo_Eye
Definition: Varjo_types.h:208
static const varjo_Error varjo_Error_InvalidRenderAPI
Definition: Varjo_types.h:67
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
64bit floating point size of a 3D object.
Definition: Varjo_types.h:388
const char * key
Definition: Varjo_types.h:520
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_GazeEyeStatus leftStatus
Status of left eye data.
Definition: Varjo_types.h:457
int32_t vertexCount
Number of vertices.
Definition: Varjo_types.h:399
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
static const varjo_Error varjo_Error_GLLockTextureFailed
Definition: Varjo_types.h:50
static const varjo_RotationReset varjo_RotationReset_None
Rotation is not reset.
Definition: Varjo_types.h:173
static const varjo_Error varjo_Error_DataStreamFrameExpired
Definition: Varjo_types.h:123
static const varjo_Bool varjo_False
Definition: Varjo_types.h:141
static const varjo_Error varjo_Error_GLCopyTextureFailed
Definition: Varjo_types.h:51
static const varjo_ShadingRate varjo_ShadingRate_4x2
Definition: Varjo_types.h:586
float rightPupilDiameterInMM
Estimate of right eye pupil diameter in mm.
Definition: Varjo_types.h:475
Per-frame information.
Definition: Varjo_types.h:430
float x
X coordinate.
Definition: Varjo_types.h:371
static const varjo_Error varjo_Error_D3D11AlreadyInitialized
Definition: Varjo_types.h:56
const char * key
Definition: Varjo_types.h:528
float leftIrisDiameterInMM
Estimate of left eye iris diameter in mm.
Definition: Varjo_types.h:476
struct varjo_ViewInfo * views
Views for the frame. Array size is varjo_GetViewCount.
Definition: Varjo_types.h:431
const varjo_TextureSize_Type varjo_TextureSize_Type_DynamicFoveation
Best resolution for foveation mode.
Definition: Varjo_types.h:545
static const varjo_EulerOrder varjo_EulerOrder_ZYX
Definition: Varjo_types.h:246
static const varjo_Error varjo_Error_InvalidFoveationMode
Definition: Varjo_types.h:132
static const varjo_Error varjo_Error_IndexOutOfBounds
Definition: Varjo_types.h:27
struct varjo_StructureExtension * next
Definition: Varjo_types.h:601
int64_t varjo_StructureType
Definition: Varjo_types.h:593
static const varjo_Error varjo_Error_CreateIPCFailed
Definition: Varjo_types.h:90
static const varjo_Error varjo_Error_TextureMutexReleaseFailed
Definition: Varjo_types.h:55
static const varjo_Error varjo_Error_RequestCreateSwapChainFailed
Definition: Varjo_types.h:94
static const varjo_ShadingRate varjo_ShadingRate_Cull
Definition: Varjo_types.h:576
static const varjo_TextureFormat varjo_TextureFormat_R32_FLOAT
Single channel 32-bit float format.
Definition: Varjo_types.h:227
static const char * varjo_GazeCalibrationParametersValue_AutoContinueOnAcceptableHeadsetPosition
UI should continue automatically to actual calibration after headset alignment has been accepted.
Definition: Varjo_types.h:312
const varjo_TextureSize_Type_Mask varjo_TextureSize_Type_DynamicFoveation_Mask
Bitmask for DynamicFoveation texture size type.
Definition: Varjo_types.h:552
static const varjo_Error varjo_Error_ValidationFailure
Definition: Varjo_types.h:26
static const varjo_Error varjo_Error_SwapChainInvalidTextureIndex
Definition: Varjo_types.h:71
static const char * varjo_IPDParametersValue_AdjustmentModeAutomatic
Interpupillary distance is adjusted automatically.
Definition: Varjo_types.h:274
varjo_ShadingRate shadingRates[16]
Definition: Varjo_types.h:590
float z
Z coordinate.
Definition: Varjo_types.h:373
static const varjo_Error varjo_Error_InvalidViewExtension
Definition: Varjo_types.h:79
int32_t minimumTextureWidth
Minimum width of the swap chain textures.
Definition: Varjo_types.h:488
const varjo_TextureSize_Type varjo_TextureSize_Type_Quad
Resolution for static quad rendering mode.
Definition: Varjo_types.h:544
const char * value
Definition: Varjo_types.h:529
varjo_GazeEyeStatus rightStatus
Status of right eye data.
Definition: Varjo_types.h:458
static const varjo_TextureFormat varjo_TextureFormat_R8G8B8A8_SRGB
sRgb 8-bit RGBA format
Definition: Varjo_types.h:218
static const varjo_GazeEyeStatus varjo_GazeEyeStatus_Invalid
Eye is not tracked. (e.g. not visible or is shut).
Definition: Varjo_types.h:158
static const char * varjo_GazeParametersValue_OutputFrequencyMaximumSupported
Maximum output frequency supported by connected HMD.
Definition: Varjo_types.h:293
32bit floating point 2D vector.
Definition: Varjo_types.h:353
Definition: Varjo_types.h:595
int64_t varjo_VariableRateShadingFlags
Definition: Varjo_types.h:566
static const varjo_ShadingRate varjo_ShadingRate_X2PerPixel
Definition: Varjo_types.h:580
static const varjo_Error varjo_Error_GraphicsShutDownFailed
Definition: Varjo_types.h:64
static const varjo_Error varjo_Error_D3D11CreateTextureFailed
Definition: Varjo_types.h:72
static const varjo_ShadingRate varjo_ShadingRate_4x4
Definition: Varjo_types.h:587
static const varjo_Error varjo_Error_ChromaKeyEstimatorAlreadyRunning
Definition: Varjo_types.h:110
Axis aligned tangents from a projection matrix.
Definition: Varjo_types.h:408
static const varjo_PropertyKey varjo_PropertyKey_GazeAllowed
boolean. Is the HMD gaze tracker allowed.
Definition: Varjo_types.h:186
int32_t x
X coordinate.
Definition: Varjo_types.h:380
int64_t varjo_GazeStatus
Gaze statuses.
Definition: Varjo_types.h:152
const char * value
Definition: Varjo_types.h:537
int32_t reserved
Unused.
Definition: Varjo_types.h:424
static const varjo_Error varjo_Error_D3D12CreateTextureFailed
Definition: Varjo_types.h:76
double projectionLeft
Tangent of the left edge angle.
Definition: Varjo_types.h:411
static const varjo_Error varjo_Error_ConnectToProgramManagerFailed
Definition: Varjo_types.h:87
static const char * varjo_GazeParametersValue_OutputFrequency100Hz
100Hz output frequency.
Definition: Varjo_types.h:291
Minimum and maximum limits for swap chain texture count and size.
Definition: Varjo_types.h:485
static const varjo_Error varjo_Error_TextureMutexAcquireFailed
Definition: Varjo_types.h:54
static const char * varjo_GazeParametersKey_OutputFrequency
Gaze output update frequency.
Definition: Varjo_types.h:290
static const char * varjo_IPDParametersKey_RequestedPositionInMM
Requested interpupillary distance position in millimeters in manual adjustment mode.
Definition: Varjo_types.h:276
varjo_GazeStatus status
Tracking main status.
Definition: Varjo_types.h:459
static const varjo_Error varjo_Error_UnableToInitializeVariableRateShading
Definition: Varjo_types.h:133
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
static const varjo_Error varjo_Error_RequestMirrorConfigFailed
Definition: Varjo_types.h:95
static const char * varjo_GazeCalibrationParametersValue_CalibrationOneDot
One dot gaze calibration.
Definition: Varjo_types.h:302
static const varjo_Error varjo_Error_ChromaKeyEstimatorNotRunning
Definition: Varjo_types.h:111
int64_t varjo_TextureFormat
Definition: Varjo_types.h:216
static const char * varjo_GazeParametersValue_OutputFrequency200Hz
200Hz output frequency.
Definition: Varjo_types.h:292
static const varjo_Error varjo_Error_NoHMDConnected
Definition: Varjo_types.h:25
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
static const varjo_Error varjo_Error_CameraNotLocked
Definition: Varjo_types.h:103
int32_t maximumTextureHeight
Maximum height of the swap chain textures.
Definition: Varjo_types.h:491
static const varjo_EulerOrder varjo_EulerOrder_ZXY
Definition: Varjo_types.h:250
static const varjo_EulerOrder varjo_EulerOrder_XYZ
Definition: Varjo_types.h:245
double height
Height along Y-axis.
Definition: Varjo_types.h:390
static const varjo_ClipRange varjo_ClipRangeMinusOneToOne
Definition: Varjo_types.h:262
static const varjo_Eye varjo_Eye_Left
Left eye.
Definition: Varjo_types.h:209
static const varjo_Error varjo_Error_SwapChainConfigInvalidTextureCount
Definition: Varjo_types.h:63
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
static const varjo_Error varjo_Error_InvalidFrameNumber
Definition: Varjo_types.h:66
API-agnostic texture handle.
Definition: Varjo_types.h:512
Parameters passed to varjo_RequestGazeCalibrationWithParameters function.
Definition: Varjo_types.h:535
static const varjo_Error varjo_Error_OperationFailed
Definition: Varjo_types.h:99
static const varjo_Error varjo_Error_GraphicsError
Definition: Varjo_types.h:81
static const varjo_Error varjo_Error_UnsupportedTextureFormat
Definition: Varjo_types.h:60
static const varjo_ShadingRate varjo_ShadingRate_2x2
Definition: Varjo_types.h:584
static const varjo_Error varjo_Error_GLCreateTextureFailed
Definition: Varjo_types.h:48
static const varjo_Error varjo_Error_NoCompositorLink
Definition: Varjo_types.h:93
static const varjo_Error varjo_Error_GraphicsNotInitialized
Definition: Varjo_types.h:17
int32_t y
Y coordinate for the view in pixels.
Definition: Varjo_types.h:499
const varjo_VariableRateShadingFlags varjo_VariableRateShadingFlag_Stereo
Generates VRS map for stereo mode (2 views).
Definition: Varjo_types.h:568
static const char * varjo_IPDParametersKey_AdjustmentMode
Interpupillary distance (IPD) parameters.
Definition: Varjo_types.h:272
double right
Definition: Varjo_types.h:559
int32_t minimumTextureHeight
Minimum height of the swap chain textures.
Definition: Varjo_types.h:489
static const varjo_Error varjo_Error_ChromaKeyAlreadyLocked
Definition: Varjo_types.h:107
const varjo_TextureSize_Type varjo_TextureSize_Type_Stereo
Resolution for stereo mode.
Definition: Varjo_types.h:546
static const char * varjo_GazeParametersValue_OutputFilterNone
Output filter disabled.
Definition: Varjo_types.h:288
double y
Y coordinate.
Definition: Varjo_types.h:363
const varjo_VariableRateShadingFlags varjo_VariableRateShadingFlag_OcclusionMap
Generates VRS with coarsest shading rate in corners which are not visible.
Definition: Varjo_types.h:572
static const varjo_PropertyKey varjo_PropertyKey_UserPresence
boolean. Is user wearing the HMD.
Definition: Varjo_types.h:182
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
static const varjo_PropertyKey varjo_PropertyKey_MRAvailable
boolean. Is Mixed Reality capable hardware present.
Definition: Varjo_types.h:197
double left
Definition: Varjo_types.h:558
Double precision 4x4 matrix.
Definition: Varjo_types.h:330
static const varjo_ShadingRate varjo_ShadingRate_X16PerPixel
Definition: Varjo_types.h:577
float rightPupilIrisDiameterRatio
Ratio of right pupil to iris diameter in mm. In range [0..1].
Definition: Varjo_types.h:473
struct varjo_Vector2Df * vertices
Vertex data.
Definition: Varjo_types.h:398
static const varjo_Error varjo_Error_TextureIsNull
Definition: Varjo_types.h:65
Definition: Varjo_types.h:600
float y
Y coordinate.
Definition: Varjo_types.h:372
float interPupillaryDistanceInMM
Estimate of user's IPD in mm.
Definition: Varjo_types.h:471
double viewMatrix[16]
The view matrix, world-to-eye. See varjo_Matrix for conventions.
Definition: Varjo_types.h:420
static const varjo_DisplayType varjo_DisplayType_Focus
Focus display.
Definition: Varjo_types.h:205
int32_t height
Height of the view in pixels.
Definition: Varjo_types.h:501
static const varjo_RotationDirection varjo_RotationDirection_CounterClockwise
Definition: Varjo_types.h:254
static const varjo_RotationReset varjo_RotationReset_Yaw
Yaw rotation (around up Y axis) is reset.
Definition: Varjo_types.h:174
int32_t z
Z coordinate.
Definition: Varjo_types.h:382
static VARJORUNTIME_DEPRECATED const char * varjo_GazeCalibrationParametersKey_OutputFilterType
Definition: Varjo_types.h:315
static const varjo_RenderAPI varjo_RenderAPI_D3D12
Direct3D12 rendering API.
Definition: Varjo_types.h:241
static const varjo_Error varjo_Error_GLShutDownFailed
Definition: Varjo_types.h:59
int64_t reserved[128]
Definition: Varjo_types.h:563
static const varjo_Error varjo_Error_InvalidSession
Definition: Varjo_types.h:14
int64_t varjo_Error
Definition: Varjo_types.h:13
static const varjo_Error varjo_Error_SwapChainTextureIsNotReleased
Definition: Varjo_types.h:83
static const varjo_PoseType varjo_PoseType_RightEye
Pose for the right eye.
Definition: Varjo_types.h:202
VARJORUNTIME_DEPRECATED double rightPupilSize
Normalized [0..1] right eye pupil size.
Definition: Varjo_types.h:462
int32_t maximumNumberOfTextures
Maximum number of swap chain textures.
Definition: Varjo_types.h:487
static const varjo_Error varjo_Error_OpenSharedEventFailed
Definition: Varjo_types.h:89
static VARJORUNTIME_DEPRECATED const char * varjo_GazeCalibrationParametersValue_OutputFilterNone
Definition: Varjo_types.h:317
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
Definition: Varjo_types.h:361
static const varjo_EulerOrder varjo_EulerOrder_YXZ
Definition: Varjo_types.h:249
static const varjo_Error varjo_Error_GazeNotAllowed
Definition: Varjo_types.h:38
int32_t preferredHeight
Preferred height of the viewport.
Definition: Varjo_types.h:422
static const varjo_ShadingRate varjo_ShadingRate_2x1
Definition: Varjo_types.h:583
static const varjo_Error varjo_Error_DataStreamDataNotAvailable
Definition: Varjo_types.h:124
static const char * varjo_GazeParametersValue_OutputFilterStandard
Standard smoothing output filter.
Definition: Varjo_types.h:287
static VARJORUNTIME_DEPRECATED const varjo_Error varjo_Error_GazeUnsupportedParameter
Definition: Varjo_types.h:40
static const varjo_Error varjo_Error_GLExtensionNotFound
Definition: Varjo_types.h:47
static const varjo_Error varjo_Error_InvalidSize
Definition: Varjo_types.h:30
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
double projectionRight
Tangent of the right edge angle.
Definition: Varjo_types.h:412
static const varjo_Error varjo_Error_AlreadyLocked
Definition: Varjo_types.h:28
int32_t width
Default view width in pixels.
Definition: Varjo_types.h:441
static const varjo_GazeStatus varjo_GazeStatus_Valid
Data is valid.
Definition: Varjo_types.h:155
static const char * varjo_GazeCalibrationParametersValue_CalibrationFast
Fast (5-dot) gaze calibration.
Definition: Varjo_types.h:301
int64_t varjo_RotationReset
Rotation reset types.
Definition: Varjo_types.h:172
VARJORUNTIME_DEPRECATED const varjo_TextureSize_Type_Mask varjo_TextureSize_Type_BestQuality_Mask
Bitmask for BestQuality texture size type.
Definition: Varjo_types.h:549
static const varjo_Error varjo_Error_TextureMutexQueryFailed
Definition: Varjo_types.h:53
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
static VARJORUNTIME_DEPRECATED const varjo_Error varjo_Error_GazeInvalidParameter
Definition: Varjo_types.h:39
static const varjo_Error varjo_Error_RequestFailed
Definition: Varjo_types.h:98
static const varjo_Error varjo_Error_ChromaKeyInvalidType
Definition: Varjo_types.h:109
static const varjo_Error varjo_Error_D3D11ShutDownFailed
Definition: Varjo_types.h:57
int64_t frameNumber
Frame number, increases monotonically.
Definition: Varjo_types.h:460
static const varjo_Error varjo_Error_InvalidSwapChain
Definition: Varjo_types.h:77
Definition: Varjo_types.h:370
Definition: Varjo_types.h:379
int64_t varjo_RotationDirection
Definition: Varjo_types.h:252
double origin[3]
Origin of the ray.
Definition: Varjo_types.h:346
static const varjo_Error varjo_Error_UnsupportedDepthFormat
Definition: Varjo_types.h:69
static const varjo_PropertyKey varjo_PropertyKey_HMDConnected
boolean. Is HMD connected.
Definition: Varjo_types.h:192
VARJORUNTIME_DEPRECATED double leftPupilSize
Normalized [0..1] left eye pupil size.
Definition: Varjo_types.h:461
static const varjo_Error varjo_Error_GazeInvalid
Definition: Varjo_types.h:84
const varjo_VariableRateShadingFlags varjo_VariableRateShadingFlag_None
Definition: Varjo_types.h:567
static const varjo_Error varjo_Error_ViewDepthExtensionValidationFailure
Definition: Varjo_types.h:74
static const varjo_Error varjo_Error_CapabilityNotAvailable
Definition: Varjo_types.h:101
static const varjo_PropertyKey varjo_PropertyKey_IPDAdjustmentMode
string. Current interpupillary distance adjustment mode.
Definition: Varjo_types.h:196
static const varjo_PropertyKey varjo_PropertyKey_GazeCalibrating
boolean. Is system currently calibrating the HMD gaze tracker.
Definition: Varjo_types.h:183
int32_t varjo_GazeEyeCalibrationQuality
Definition: Varjo_types.h:163
static const varjo_GazeEyeCalibrationQuality varjo_GazeEyeCalibrationQuality_Medium
Quality of performed gaze calibration assessed as medium.
Definition: Varjo_types.h:166
static const varjo_Error varjo_Error_NullPointer
Definition: Varjo_types.h:22
int64_t frameNumber
Frame number, increases monotonically.
Definition: Varjo_types.h:469
static const varjo_EulerOrder varjo_EulerOrder_XZY
Definition: Varjo_types.h:247
float x
X coordinate.
Definition: Varjo_types.h:354
static const varjo_Error varjo_Error_DataStreamBufferNotLocked
Definition: Varjo_types.h:122
static const varjo_Error varjo_Error_UnsupportedParameter
Definition: Varjo_types.h:32
static const varjo_Error varjo_Error_DataStreamInvalidId
Definition: Varjo_types.h:117
const varjo_VariableRateShadingFlags varjo_VariableRateShadingFlag_Gaze
Generates VRS map taking gaze into account.
Definition: Varjo_types.h:569
int64_t varjo_TextureSize_Type_Mask
Definition: Varjo_types.h:548
static const varjo_Error varjo_Error_DataStreamInvalidCallback
Definition: Varjo_types.h:116
static const varjo_Error varjo_Error_ChromaKeyNotLocked
Definition: Varjo_types.h:108
static const varjo_Error varjo_Error_ViewIndexOutOfBounds
Definition: Varjo_types.h:20
static const varjo_Error varjo_Error_WrongSwapChainTextureFormat
Definition: Varjo_types.h:78
static const char * varjo_GazeCalibrationParametersKey_CalibrationType
Gaze calibration parameters.
Definition: Varjo_types.h:300
static const varjo_Error varjo_NoError
Definition: Varjo_types.h:137
Ray is a vector starting from an origin.
Definition: Varjo_types.h:345
double value[16]
Definition: Varjo_types.h:331
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_Bool enabled
Whether this view should be rendered during current frame.
Definition: Varjo_types.h:423
static const varjo_Error varjo_Error_WorldComponentDoesNotExist
Definition: Varjo_types.h:128
static const varjo_RenderAPI varjo_RenderAPI_D3D11
Direct3D11 rendering API.
Definition: Varjo_types.h:239
static const varjo_Error varjo_Error_D3D11OnD12DeviceCreationFailed
Definition: Varjo_types.h:75
static const char * varjo_GazeParametersKey_OutputFilterType
Gaze parameters.
Definition: Varjo_types.h:286
static VARJORUNTIME_DEPRECATED const char * varjo_GazeCalibrationParametersValue_OutputFilterStandard
Definition: Varjo_types.h:316
static const varjo_Error varjo_Error_CameraInvalidPropertyType
Definition: Varjo_types.h:104
static const varjo_Error varjo_Error_FrameNotStarted
Definition: Varjo_types.h:18
static const varjo_TextureFormat varjo_TextureFormat_INVALID
Invalid format.
Definition: Varjo_types.h:217
static const varjo_TextureFormat varjo_DepthTextureFormat_D32_FLOAT
32-bit floating point depth format
Definition: Varjo_types.h:220
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
static const varjo_Error varjo_Error_EnvironmentCubemapNotLocked
Definition: Varjo_types.h:112
static const varjo_PoseType varjo_PoseType_Center
Pose for the head (in the middle of the eyes).
Definition: Varjo_types.h:201
static const varjo_ShadingRate varjo_ShadingRate_1x2
Definition: Varjo_types.h:582
int32_t viewIndex
View for which VRS map should be generated.
Definition: Varjo_types.h:603
static const varjo_DisplayType varjo_DisplayType_Context
Context display.
Definition: Varjo_types.h:206
varjo_DisplayType display
Which display the view is for.
Definition: Varjo_types.h:443
static const varjo_ClipRange varjo_ClipRangeZeroToOne
Definition: Varjo_types.h:261
2D triangle list mesh.
Definition: Varjo_types.h:397
static const varjo_GazeEyeStatus varjo_GazeEyeStatus_Tracked
Eye is tracked.
Definition: Varjo_types.h:161
Definition: Varjo_types.h:562
static const varjo_Error varjo_Error_InvalidPoseType
Definition: Varjo_types.h:21
Gaze tracker estimates of user's eye measurements.
Definition: Varjo_types.h:468
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
static const varjo_TextureFormat varjo_TextureFormat_RGBA16_FLOAT
RGBA 16 bit floating point.
Definition: Varjo_types.h:223
static const varjo_Error varjo_Error_InvalidClipDistances
Definition: Varjo_types.h:70
static const varjo_Bool varjo_True
Definition: Varjo_types.h:142
static const varjo_Error varjo_Error_GLAlreadyInitialized
Definition: Varjo_types.h:58
double depth
Depth along Z-axis.
Definition: Varjo_types.h:391
int64_t varjo_Handedness
Definition: Varjo_types.h:256
int64_t frameNumber
Current frame number.
Definition: Varjo_types.h:433
int32_t preferredWidth
Preferred width of the viewport.
Definition: Varjo_types.h:421
int64_t varjo_TextureSize_Type
Definition: Varjo_types.h:540
static const varjo_Error varjo_Error_GLBackBufferAlreadyCreated
Definition: Varjo_types.h:46
static const varjo_TextureFormat varjo_MaskTextureFormat_A8_UNORM
8-bit alpha mask
Definition: Varjo_types.h:221
Double precision 3x3 matrix.
Definition: Varjo_types.h:338
double projectionBottom
Tangent of the bottom edge angle.
Definition: Varjo_types.h:410
static const varjo_RenderAPI varjo_RenderAPI_GL
OpenGL rendering API.
Definition: Varjo_types.h:240
struct varjo_Ray leftEye
Left eye gaze ray.
Definition: Varjo_types.h:451
static const varjo_PropertyKey varjo_PropertyKey_GazeCalibrationQuality
float [0.0-1.0]. Quality of the gaze calibration.
Definition: Varjo_types.h:185
static const varjo_Error varjo_Error_EnvironmentCubemapInvalidMode
Definition: Varjo_types.h:113