#[repr(C)]pub struct VR_IVRIPCResourceManagerClient_FnTable {
pub NewSharedVulkanImage: Option<unsafe extern "C" fn(nImageFormat: u32, nWidth: u32, nHeight: u32, bRenderable: bool, bMappable: bool, bComputeAccess: bool, unMipLevels: u32, unArrayLayerCount: u32, pSharedHandle: *mut SharedTextureHandle_t) -> bool>,
pub NewSharedVulkanBuffer: Option<unsafe extern "C" fn(nSize: u32, nUsageFlags: u32, pSharedHandle: *mut SharedTextureHandle_t) -> bool>,
pub NewSharedVulkanSemaphore: Option<unsafe extern "C" fn(bCounting: bool, pSharedHandle: *mut SharedTextureHandle_t) -> bool>,
pub RefResource: Option<unsafe extern "C" fn(hSharedHandle: SharedTextureHandle_t, pNewIpcHandle: *mut u64) -> bool>,
pub UnrefResource: Option<unsafe extern "C" fn(hSharedHandle: SharedTextureHandle_t) -> bool>,
pub GetDmabufFormats: Option<unsafe extern "C" fn(pOutFormatCount: *mut u32, pOutFormats: *mut u32) -> bool>,
pub GetDmabufModifiers: Option<unsafe extern "C" fn(eApplicationType: EVRApplicationType, unDRMFormat: u32, pOutModifierCount: *mut u32, pOutModifiers: *mut u64) -> bool>,
pub ImportDmabuf: Option<unsafe extern "C" fn(eApplicationType: EVRApplicationType, pDmabufAttributes: *mut DmabufAttributes_t, pSharedHandle: *mut SharedTextureHandle_t) -> bool>,
pub ReceiveSharedFd: Option<unsafe extern "C" fn(ulIpcHandle: u64, pOutFd: *mut c_int) -> bool>,
pub DestructIVRIPCResourceManagerClient: Option<unsafe extern "C" fn()>,
}Fields§
§RefResource: Option<unsafe extern "C" fn(hSharedHandle: SharedTextureHandle_t, pNewIpcHandle: *mut u64) -> bool>§UnrefResource: Option<unsafe extern "C" fn(hSharedHandle: SharedTextureHandle_t) -> bool>§GetDmabufFormats: Option<unsafe extern "C" fn(pOutFormatCount: *mut u32, pOutFormats: *mut u32) -> bool>§GetDmabufModifiers: Option<unsafe extern "C" fn(eApplicationType: EVRApplicationType, unDRMFormat: u32, pOutModifierCount: *mut u32, pOutModifiers: *mut u64) -> bool>§ImportDmabuf: Option<unsafe extern "C" fn(eApplicationType: EVRApplicationType, pDmabufAttributes: *mut DmabufAttributes_t, pSharedHandle: *mut SharedTextureHandle_t) -> bool>§DestructIVRIPCResourceManagerClient: Option<unsafe extern "C" fn()>Trait Implementations§
Source§impl Clone for VR_IVRIPCResourceManagerClient_FnTable
impl Clone for VR_IVRIPCResourceManagerClient_FnTable
Source§fn clone(&self) -> VR_IVRIPCResourceManagerClient_FnTable
fn clone(&self) -> VR_IVRIPCResourceManagerClient_FnTable
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for VR_IVRIPCResourceManagerClient_FnTable
impl Default for VR_IVRIPCResourceManagerClient_FnTable
Source§fn default() -> VR_IVRIPCResourceManagerClient_FnTable
fn default() -> VR_IVRIPCResourceManagerClient_FnTable
Returns the “default value” for a type. Read more
impl Copy for VR_IVRIPCResourceManagerClient_FnTable
Auto Trait Implementations§
impl Freeze for VR_IVRIPCResourceManagerClient_FnTable
impl RefUnwindSafe for VR_IVRIPCResourceManagerClient_FnTable
impl Send for VR_IVRIPCResourceManagerClient_FnTable
impl Sync for VR_IVRIPCResourceManagerClient_FnTable
impl Unpin for VR_IVRIPCResourceManagerClient_FnTable
impl UnwindSafe for VR_IVRIPCResourceManagerClient_FnTable
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