#[repr(C)]pub struct QarGraphicsDeviceId {
pub header: QarStructureHeader,
pub id_type: QarGpuDeviceIdType,
pub luid: QarLuid,
pub uuid: [u8; 16],
}Expand description
@brief Selects the graphics adapter used while initializing a C API session.
Chain this extension from QarOnboardInit or QarRejoinInit. The session’s Vulkan and D3D11 devices, and with them every render sender’s frame textures, are created on this adapter; absent, the library picks one. Windows accepts a LUID; other platforms accept a UUID. The C API currently supports NVIDIA adapters only.
Fields§
§header: QarStructureHeader§id_type: QarGpuDeviceIdType§luid: QarLuid§uuid: [u8; 16]Trait Implementations§
Source§impl Clone for QarGraphicsDeviceId
impl Clone for QarGraphicsDeviceId
impl Copy for QarGraphicsDeviceId
Source§impl Debug for QarGraphicsDeviceId
impl Debug for QarGraphicsDeviceId
Source§impl PartialEq for QarGraphicsDeviceId
impl PartialEq for QarGraphicsDeviceId
impl StructuralPartialEq for QarGraphicsDeviceId
Auto Trait Implementations§
impl !Send for QarGraphicsDeviceId
impl !Sync for QarGraphicsDeviceId
impl Freeze for QarGraphicsDeviceId
impl RefUnwindSafe for QarGraphicsDeviceId
impl Unpin for QarGraphicsDeviceId
impl UnsafeUnpin for QarGraphicsDeviceId
impl UnwindSafe for QarGraphicsDeviceId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more