Struct openvr_sys::Struct_VR_IVRRenderModels_FnTable
[−]
[src]
pub struct Struct_VR_IVRRenderModels_FnTable { pub LoadRenderModel_Async: Option<unsafe extern fn(pchRenderModelName: *mut c_char, ppRenderModel: *mut *mut Struct_RenderModel_t) -> EVRRenderModelError>, pub FreeRenderModel: Option<unsafe extern fn(pRenderModel: *mut Struct_RenderModel_t)>, pub LoadTexture_Async: Option<unsafe extern fn(textureId: TextureID_t, ppTexture: *mut *mut Struct_RenderModel_TextureMap_t) -> EVRRenderModelError>, pub FreeTexture: Option<unsafe extern fn(pTexture: *mut Struct_RenderModel_TextureMap_t)>, pub LoadTextureD3D11_Async: Option<unsafe extern fn(textureId: TextureID_t, pD3D11Device: *mut c_void, ppD3D11Texture2D: *mut *mut c_void) -> EVRRenderModelError>, pub LoadIntoTextureD3D11_Async: Option<unsafe extern fn(textureId: TextureID_t, pDstTexture: *mut c_void) -> EVRRenderModelError>, pub FreeTextureD3D11: Option<unsafe extern fn(pD3D11Texture2D: *mut c_void)>, pub GetRenderModelName: Option<unsafe extern fn(unRenderModelIndex: uint32_t, pchRenderModelName: *mut c_char, unRenderModelNameLen: uint32_t) -> uint32_t>, pub GetRenderModelCount: Option<extern fn() -> uint32_t>, pub GetComponentCount: Option<unsafe extern fn(pchRenderModelName: *mut c_char) -> uint32_t>, pub GetComponentName: Option<unsafe extern fn(pchRenderModelName: *mut c_char, unComponentIndex: uint32_t, pchComponentName: *mut c_char, unComponentNameLen: uint32_t) -> uint32_t>, pub GetComponentButtonMask: Option<unsafe extern fn(pchRenderModelName: *mut c_char, pchComponentName: *mut c_char) -> uint64_t>, pub GetComponentRenderModelName: Option<unsafe extern fn(pchRenderModelName: *mut c_char, pchComponentName: *mut c_char, pchComponentRenderModelName: *mut c_char, unComponentRenderModelNameLen: uint32_t) -> uint32_t>, pub GetComponentState: Option<unsafe extern fn(pchRenderModelName: *mut c_char, pchComponentName: *mut c_char, pControllerState: *mut VRControllerState_t, pState: *mut Struct_RenderModel_ControllerMode_State_t, pComponentState: *mut Struct_RenderModel_ComponentState_t) -> u8>, pub RenderModelHasComponent: Option<unsafe extern fn(pchRenderModelName: *mut c_char, pchComponentName: *mut c_char) -> u8>, }
Fields
LoadRenderModel_Async: Option<unsafe extern fn(pchRenderModelName: *mut c_char, ppRenderModel: *mut *mut Struct_RenderModel_t) -> EVRRenderModelError>
FreeRenderModel: Option<unsafe extern fn(pRenderModel: *mut Struct_RenderModel_t)>
LoadTexture_Async: Option<unsafe extern fn(textureId: TextureID_t, ppTexture: *mut *mut Struct_RenderModel_TextureMap_t) -> EVRRenderModelError>
FreeTexture: Option<unsafe extern fn(pTexture: *mut Struct_RenderModel_TextureMap_t)>
LoadTextureD3D11_Async: Option<unsafe extern fn(textureId: TextureID_t, pD3D11Device: *mut c_void, ppD3D11Texture2D: *mut *mut c_void) -> EVRRenderModelError>
LoadIntoTextureD3D11_Async: Option<unsafe extern fn(textureId: TextureID_t, pDstTexture: *mut c_void) -> EVRRenderModelError>
FreeTextureD3D11: Option<unsafe extern fn(pD3D11Texture2D: *mut c_void)>
GetRenderModelName: Option<unsafe extern fn(unRenderModelIndex: uint32_t, pchRenderModelName: *mut c_char, unRenderModelNameLen: uint32_t) -> uint32_t>
GetRenderModelCount: Option<extern fn() -> uint32_t>
GetComponentCount: Option<unsafe extern fn(pchRenderModelName: *mut c_char) -> uint32_t>
GetComponentName: Option<unsafe extern fn(pchRenderModelName: *mut c_char, unComponentIndex: uint32_t, pchComponentName: *mut c_char, unComponentNameLen: uint32_t) -> uint32_t>
GetComponentButtonMask: Option<unsafe extern fn(pchRenderModelName: *mut c_char, pchComponentName: *mut c_char) -> uint64_t>
GetComponentRenderModelName: Option<unsafe extern fn(pchRenderModelName: *mut c_char, pchComponentName: *mut c_char, pchComponentRenderModelName: *mut c_char, unComponentRenderModelNameLen: uint32_t) -> uint32_t>
GetComponentState: Option<unsafe extern fn(pchRenderModelName: *mut c_char, pchComponentName: *mut c_char, pControllerState: *mut VRControllerState_t, pState: *mut Struct_RenderModel_ControllerMode_State_t, pComponentState: *mut Struct_RenderModel_ComponentState_t) -> u8>
RenderModelHasComponent: Option<unsafe extern fn(pchRenderModelName: *mut c_char, pchComponentName: *mut c_char) -> u8>
Trait Implementations
impl Copy for Struct_VR_IVRRenderModels_FnTable
[src]
impl Clone for Struct_VR_IVRRenderModels_FnTable
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more