#[repr(C)]pub struct QarGraphicsDeviceDisabledExt {
pub header: QarStructureHeader,
}Expand description
@brief Creates the session without a graphics device.
Chain this extension from QarOnboardInit or QarRejoinInit for an application that never streams media, such as a companion process that only drives app volumes, GUI panels or peers. The session then starts faster: it creates no Vulkan or D3D11 device, enumerates no graphics adapter and loads no transfer plugin. Onboarding, joining, peers, app volumes, GUI panels and storage work as usual.
On such a session every media streaming call (qar_render_sender_create(), qar_render_sender_create_async(), qar_render_sender_subscribe_requests(), qar_video_sender_create()) and qar_session_get_graphics_device_id() return QAR_STATUS_GRAPHICS_DEVICE_NOT_INITIALIZED.
Chaining it together with QarGraphicsDeviceId is refused with QAR_STATUS_ARGUMENT_NOT_SUPPORTED. A local-app session shared by several onboards of one process keeps the choice of the onboard that created it. Initialize with qar_graphics_device_disabled_ext_default().
Fields§
§header: QarStructureHeader