Skip to main content
Version: Dev (main)

QarGraphicsDeviceDisabledExt Struct

Creates the session without a graphics device. More...

Declaration​

struct QarGraphicsDeviceDisabledExt { ... }

Included Headers​

Public Member Attributes Index​

QarStructureHeaderheader

Description​

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().

Definition at line 2356 of file qar_streaming.h.

Public Member Attributes​

header​

QarStructureHeader QarGraphicsDeviceDisabledExt::header

Definition at line 2358 of file qar_streaming.h.


The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.2.1 by Doxygen 1.9.8.