Struct openvr_sys::VR_IVRRenderModels_FnTable [−][src]
#[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 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>
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 Debug for VR_IVRRenderModels_FnTable
[src]
impl Debug for VR_IVRRenderModels_FnTable
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for VR_IVRRenderModels_FnTable
[src]
impl Copy for VR_IVRRenderModels_FnTable
impl Clone for VR_IVRRenderModels_FnTable
[src]
impl Clone for VR_IVRRenderModels_FnTable
Auto Trait Implementations
impl Send for VR_IVRRenderModels_FnTable
impl Send for VR_IVRRenderModels_FnTable
impl Sync for VR_IVRRenderModels_FnTable
impl Sync for VR_IVRRenderModels_FnTable