[][src]Struct openvr_sys::VR_IVRRenderModels_FnTable

#[repr(C)]pub struct VR_IVRRenderModels_FnTable {
    pub LoadRenderModel_Async: Option<unsafe extern "C" fn(pchRenderModelName: *mut c_char, ppRenderModel: *mut *mut RenderModel_t) -> EVRRenderModelError>,
    pub FreeRenderModel: Option<unsafe extern "C" fn(pRenderModel: *mut RenderModel_t)>,
    pub LoadTexture_Async: Option<unsafe extern "C" fn(textureId: TextureID_t, ppTexture: *mut *mut RenderModel_TextureMap_t) -> EVRRenderModelError>,
    pub FreeTexture: Option<unsafe extern "C" fn(pTexture: *mut RenderModel_TextureMap_t)>,
    pub LoadTextureD3D11_Async: Option<unsafe extern "C" fn(textureId: TextureID_t, pD3D11Device: *mut c_void, ppD3D11Texture2D: *mut *mut c_void) -> EVRRenderModelError>,
    pub LoadIntoTextureD3D11_Async: Option<unsafe extern "C" fn(textureId: TextureID_t, pDstTexture: *mut c_void) -> EVRRenderModelError>,
    pub FreeTextureD3D11: Option<unsafe extern "C" fn(pD3D11Texture2D: *mut c_void)>,
    pub GetRenderModelName: Option<unsafe extern "C" fn(unRenderModelIndex: u32, pchRenderModelName: *mut c_char, unRenderModelNameLen: u32) -> u32>,
    pub GetRenderModelCount: Option<unsafe extern "C" fn() -> u32>,
    pub GetComponentCount: Option<unsafe extern "C" fn(pchRenderModelName: *mut c_char) -> u32>,
    pub GetComponentName: Option<unsafe extern "C" fn(pchRenderModelName: *mut c_char, unComponentIndex: u32, pchComponentName: *mut c_char, unComponentNameLen: u32) -> u32>,
    pub GetComponentButtonMask: Option<unsafe extern "C" fn(pchRenderModelName: *mut c_char, pchComponentName: *mut c_char) -> u64>,
    pub GetComponentRenderModelName: Option<unsafe extern "C" fn(pchRenderModelName: *mut c_char, pchComponentName: *mut c_char, pchComponentRenderModelName: *mut c_char, unComponentRenderModelNameLen: u32) -> u32>,
    pub GetComponentStateForDevicePath: Option<unsafe extern "C" fn(pchRenderModelName: *mut c_char, pchComponentName: *mut c_char, devicePath: VRInputValueHandle_t, pState: *mut RenderModel_ControllerMode_State_t, pComponentState: *mut RenderModel_ComponentState_t) -> bool>,
    pub GetComponentState: Option<unsafe extern "C" fn(pchRenderModelName: *mut c_char, pchComponentName: *mut c_char, pControllerState: *mut VRControllerState_t, pState: *mut RenderModel_ControllerMode_State_t, pComponentState: *mut RenderModel_ComponentState_t) -> bool>,
    pub RenderModelHasComponent: Option<unsafe extern "C" fn(pchRenderModelName: *mut c_char, pchComponentName: *mut c_char) -> bool>,
    pub GetRenderModelThumbnailURL: Option<unsafe extern "C" fn(pchRenderModelName: *mut c_char, pchThumbnailURL: *mut c_char, unThumbnailURLLen: u32, peError: *mut EVRRenderModelError) -> u32>,
    pub GetRenderModelOriginalPath: Option<unsafe extern "C" fn(pchRenderModelName: *mut c_char, pchOriginalPath: *mut c_char, unOriginalPathLen: u32, peError: *mut EVRRenderModelError) -> u32>,
    pub GetRenderModelErrorNameFromEnum: Option<unsafe extern "C" fn(error: EVRRenderModelError) -> *mut c_char>,
}

Fields

LoadRenderModel_Async: Option<unsafe extern "C" fn(pchRenderModelName: *mut c_char, ppRenderModel: *mut *mut RenderModel_t) -> EVRRenderModelError>FreeRenderModel: Option<unsafe extern "C" fn(pRenderModel: *mut RenderModel_t)>LoadTexture_Async: Option<unsafe extern "C" fn(textureId: TextureID_t, ppTexture: *mut *mut RenderModel_TextureMap_t) -> EVRRenderModelError>FreeTexture: Option<unsafe extern "C" fn(pTexture: *mut RenderModel_TextureMap_t)>LoadTextureD3D11_Async: Option<unsafe extern "C" fn(textureId: TextureID_t, pD3D11Device: *mut c_void, ppD3D11Texture2D: *mut *mut c_void) -> EVRRenderModelError>LoadIntoTextureD3D11_Async: Option<unsafe extern "C" fn(textureId: TextureID_t, pDstTexture: *mut c_void) -> EVRRenderModelError>FreeTextureD3D11: Option<unsafe extern "C" fn(pD3D11Texture2D: *mut c_void)>GetRenderModelName: Option<unsafe extern "C" fn(unRenderModelIndex: u32, pchRenderModelName: *mut c_char, unRenderModelNameLen: u32) -> u32>GetRenderModelCount: Option<unsafe extern "C" fn() -> u32>GetComponentCount: Option<unsafe extern "C" fn(pchRenderModelName: *mut c_char) -> u32>GetComponentName: Option<unsafe extern "C" fn(pchRenderModelName: *mut c_char, unComponentIndex: u32, pchComponentName: *mut c_char, unComponentNameLen: u32) -> u32>GetComponentButtonMask: Option<unsafe extern "C" fn(pchRenderModelName: *mut c_char, pchComponentName: *mut c_char) -> u64>GetComponentRenderModelName: Option<unsafe extern "C" fn(pchRenderModelName: *mut c_char, pchComponentName: *mut c_char, pchComponentRenderModelName: *mut c_char, unComponentRenderModelNameLen: u32) -> u32>GetComponentStateForDevicePath: Option<unsafe extern "C" fn(pchRenderModelName: *mut c_char, pchComponentName: *mut c_char, devicePath: VRInputValueHandle_t, pState: *mut RenderModel_ControllerMode_State_t, pComponentState: *mut RenderModel_ComponentState_t) -> bool>GetComponentState: Option<unsafe extern "C" fn(pchRenderModelName: *mut c_char, pchComponentName: *mut c_char, pControllerState: *mut VRControllerState_t, pState: *mut RenderModel_ControllerMode_State_t, pComponentState: *mut RenderModel_ComponentState_t) -> bool>RenderModelHasComponent: Option<unsafe extern "C" fn(pchRenderModelName: *mut c_char, pchComponentName: *mut c_char) -> bool>GetRenderModelThumbnailURL: Option<unsafe extern "C" fn(pchRenderModelName: *mut c_char, pchThumbnailURL: *mut c_char, unThumbnailURLLen: u32, peError: *mut EVRRenderModelError) -> u32>GetRenderModelOriginalPath: Option<unsafe extern "C" fn(pchRenderModelName: *mut c_char, pchOriginalPath: *mut c_char, unOriginalPathLen: u32, peError: *mut EVRRenderModelError) -> u32>GetRenderModelErrorNameFromEnum: Option<unsafe extern "C" fn(error: EVRRenderModelError) -> *mut c_char>

Trait Implementations

impl Clone for VR_IVRRenderModels_FnTable[src]

impl Copy for VR_IVRRenderModels_FnTable[src]

impl Debug for VR_IVRRenderModels_FnTable[src]

Auto Trait Implementations

impl RefUnwindSafe for VR_IVRRenderModels_FnTable

impl Send for VR_IVRRenderModels_FnTable

impl Sync for VR_IVRRenderModels_FnTable

impl Unpin for VR_IVRRenderModels_FnTable

impl UnwindSafe for VR_IVRRenderModels_FnTable

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.