···61616262 //! The passthrough state of the session has changed
6363 XRT_SESSION_EVENT_PASSTHRU_STATE_CHANGE = 8,
6464+6565+ // ! The visibility mask of given view has changed
6666+ XRT_SESSION_EVENT_VISIBILITY_MASK_CHANGE = 9
6467};
65686669/*!
···165168};
166169167170/*!
171171+ * Visibility mask changed event
172172+ */
173173+struct xrt_session_event_visibility_mask_change
174174+{
175175+ enum xrt_session_event_type type;
176176+ uint32_t view_index;
177177+};
178178+179179+/*!
168180 * Union of all session events, used to return multiple events through one call.
169181 * Each event struct must start with a @ref xrt_session_event_type field.
170182 *
···181193 struct xrt_session_event_reference_space_change_pending ref_change;
182194 struct xrt_session_event_perf_change performance;
183195 struct xrt_session_event_passthrough_state_change passthru;
196196+ struct xrt_session_event_visibility_mask_change mask_change;
184197};
185198186199/*!