[][src]Struct openvr_sys::VR_IVRInput_FnTable

#[repr(C)]pub struct VR_IVRInput_FnTable {
    pub SetActionManifestPath: Option<unsafe extern "C" fn(pchActionManifestPath: *mut c_char) -> EVRInputError>,
    pub GetActionSetHandle: Option<unsafe extern "C" fn(pchActionSetName: *mut c_char, pHandle: *mut VRActionSetHandle_t) -> EVRInputError>,
    pub GetActionHandle: Option<unsafe extern "C" fn(pchActionName: *mut c_char, pHandle: *mut VRActionHandle_t) -> EVRInputError>,
    pub GetInputSourceHandle: Option<unsafe extern "C" fn(pchInputSourcePath: *mut c_char, pHandle: *mut VRInputValueHandle_t) -> EVRInputError>,
    pub UpdateActionState: Option<unsafe extern "C" fn(pSets: *mut VRActiveActionSet_t, unSizeOfVRSelectedActionSet_t: u32, unSetCount: u32) -> EVRInputError>,
    pub GetDigitalActionData: Option<unsafe extern "C" fn(action: VRActionHandle_t, pActionData: *mut InputDigitalActionData_t, unActionDataSize: u32, ulRestrictToDevice: VRInputValueHandle_t) -> EVRInputError>,
    pub GetAnalogActionData: Option<unsafe extern "C" fn(action: VRActionHandle_t, pActionData: *mut InputAnalogActionData_t, unActionDataSize: u32, ulRestrictToDevice: VRInputValueHandle_t) -> EVRInputError>,
    pub GetPoseActionDataRelativeToNow: Option<unsafe extern "C" fn(action: VRActionHandle_t, eOrigin: ETrackingUniverseOrigin, fPredictedSecondsFromNow: f32, pActionData: *mut InputPoseActionData_t, unActionDataSize: u32, ulRestrictToDevice: VRInputValueHandle_t) -> EVRInputError>,
    pub GetPoseActionDataForNextFrame: Option<unsafe extern "C" fn(action: VRActionHandle_t, eOrigin: ETrackingUniverseOrigin, pActionData: *mut InputPoseActionData_t, unActionDataSize: u32, ulRestrictToDevice: VRInputValueHandle_t) -> EVRInputError>,
    pub GetSkeletalActionData: Option<unsafe extern "C" fn(action: VRActionHandle_t, pActionData: *mut InputSkeletalActionData_t, unActionDataSize: u32) -> EVRInputError>,
    pub GetBoneCount: Option<unsafe extern "C" fn(action: VRActionHandle_t, pBoneCount: *mut u32) -> EVRInputError>,
    pub GetBoneHierarchy: Option<unsafe extern "C" fn(action: VRActionHandle_t, pParentIndices: *mut BoneIndex_t, unIndexArayCount: u32) -> EVRInputError>,
    pub GetBoneName: Option<unsafe extern "C" fn(action: VRActionHandle_t, nBoneIndex: BoneIndex_t, pchBoneName: *mut c_char, unNameBufferSize: u32) -> EVRInputError>,
    pub GetSkeletalReferenceTransforms: Option<unsafe extern "C" fn(action: VRActionHandle_t, eTransformSpace: EVRSkeletalTransformSpace, eReferencePose: EVRSkeletalReferencePose, pTransformArray: *mut VRBoneTransform_t, unTransformArrayCount: u32) -> EVRInputError>,
    pub GetSkeletalTrackingLevel: Option<unsafe extern "C" fn(action: VRActionHandle_t, pSkeletalTrackingLevel: *mut EVRSkeletalTrackingLevel) -> EVRInputError>,
    pub GetSkeletalBoneData: Option<unsafe extern "C" fn(action: VRActionHandle_t, eTransformSpace: EVRSkeletalTransformSpace, eMotionRange: EVRSkeletalMotionRange, pTransformArray: *mut VRBoneTransform_t, unTransformArrayCount: u32) -> EVRInputError>,
    pub GetSkeletalSummaryData: Option<unsafe extern "C" fn(action: VRActionHandle_t, eSummaryType: EVRSummaryType, pSkeletalSummaryData: *mut VRSkeletalSummaryData_t) -> EVRInputError>,
    pub GetSkeletalBoneDataCompressed: Option<unsafe extern "C" fn(action: VRActionHandle_t, eMotionRange: EVRSkeletalMotionRange, pvCompressedData: *mut c_void, unCompressedSize: u32, punRequiredCompressedSize: *mut u32) -> EVRInputError>,
    pub DecompressSkeletalBoneData: Option<unsafe extern "C" fn(pvCompressedBuffer: *mut c_void, unCompressedBufferSize: u32, eTransformSpace: EVRSkeletalTransformSpace, pTransformArray: *mut VRBoneTransform_t, unTransformArrayCount: u32) -> EVRInputError>,
    pub TriggerHapticVibrationAction: Option<unsafe extern "C" fn(action: VRActionHandle_t, fStartSecondsFromNow: f32, fDurationSeconds: f32, fFrequency: f32, fAmplitude: f32, ulRestrictToDevice: VRInputValueHandle_t) -> EVRInputError>,
    pub GetActionOrigins: Option<unsafe extern "C" fn(actionSetHandle: VRActionSetHandle_t, digitalActionHandle: VRActionHandle_t, originsOut: *mut VRInputValueHandle_t, originOutCount: u32) -> EVRInputError>,
    pub GetOriginLocalizedName: Option<unsafe extern "C" fn(origin: VRInputValueHandle_t, pchNameArray: *mut c_char, unNameArraySize: u32, unStringSectionsToInclude: i32) -> EVRInputError>,
    pub GetOriginTrackedDeviceInfo: Option<unsafe extern "C" fn(origin: VRInputValueHandle_t, pOriginInfo: *mut InputOriginInfo_t, unOriginInfoSize: u32) -> EVRInputError>,
    pub ShowActionOrigins: Option<unsafe extern "C" fn(actionSetHandle: VRActionSetHandle_t, ulActionHandle: VRActionHandle_t) -> EVRInputError>,
    pub ShowBindingsForActionSet: Option<unsafe extern "C" fn(pSets: *mut VRActiveActionSet_t, unSizeOfVRSelectedActionSet_t: u32, unSetCount: u32, originToHighlight: VRInputValueHandle_t) -> EVRInputError>,
    pub IsUsingLegacyInput: Option<unsafe extern "C" fn() -> bool>,
}

Fields

SetActionManifestPath: Option<unsafe extern "C" fn(pchActionManifestPath: *mut c_char) -> EVRInputError>GetActionSetHandle: Option<unsafe extern "C" fn(pchActionSetName: *mut c_char, pHandle: *mut VRActionSetHandle_t) -> EVRInputError>GetActionHandle: Option<unsafe extern "C" fn(pchActionName: *mut c_char, pHandle: *mut VRActionHandle_t) -> EVRInputError>GetInputSourceHandle: Option<unsafe extern "C" fn(pchInputSourcePath: *mut c_char, pHandle: *mut VRInputValueHandle_t) -> EVRInputError>UpdateActionState: Option<unsafe extern "C" fn(pSets: *mut VRActiveActionSet_t, unSizeOfVRSelectedActionSet_t: u32, unSetCount: u32) -> EVRInputError>GetDigitalActionData: Option<unsafe extern "C" fn(action: VRActionHandle_t, pActionData: *mut InputDigitalActionData_t, unActionDataSize: u32, ulRestrictToDevice: VRInputValueHandle_t) -> EVRInputError>GetAnalogActionData: Option<unsafe extern "C" fn(action: VRActionHandle_t, pActionData: *mut InputAnalogActionData_t, unActionDataSize: u32, ulRestrictToDevice: VRInputValueHandle_t) -> EVRInputError>GetPoseActionDataRelativeToNow: Option<unsafe extern "C" fn(action: VRActionHandle_t, eOrigin: ETrackingUniverseOrigin, fPredictedSecondsFromNow: f32, pActionData: *mut InputPoseActionData_t, unActionDataSize: u32, ulRestrictToDevice: VRInputValueHandle_t) -> EVRInputError>GetPoseActionDataForNextFrame: Option<unsafe extern "C" fn(action: VRActionHandle_t, eOrigin: ETrackingUniverseOrigin, pActionData: *mut InputPoseActionData_t, unActionDataSize: u32, ulRestrictToDevice: VRInputValueHandle_t) -> EVRInputError>GetSkeletalActionData: Option<unsafe extern "C" fn(action: VRActionHandle_t, pActionData: *mut InputSkeletalActionData_t, unActionDataSize: u32) -> EVRInputError>GetBoneCount: Option<unsafe extern "C" fn(action: VRActionHandle_t, pBoneCount: *mut u32) -> EVRInputError>GetBoneHierarchy: Option<unsafe extern "C" fn(action: VRActionHandle_t, pParentIndices: *mut BoneIndex_t, unIndexArayCount: u32) -> EVRInputError>GetBoneName: Option<unsafe extern "C" fn(action: VRActionHandle_t, nBoneIndex: BoneIndex_t, pchBoneName: *mut c_char, unNameBufferSize: u32) -> EVRInputError>GetSkeletalReferenceTransforms: Option<unsafe extern "C" fn(action: VRActionHandle_t, eTransformSpace: EVRSkeletalTransformSpace, eReferencePose: EVRSkeletalReferencePose, pTransformArray: *mut VRBoneTransform_t, unTransformArrayCount: u32) -> EVRInputError>GetSkeletalTrackingLevel: Option<unsafe extern "C" fn(action: VRActionHandle_t, pSkeletalTrackingLevel: *mut EVRSkeletalTrackingLevel) -> EVRInputError>GetSkeletalBoneData: Option<unsafe extern "C" fn(action: VRActionHandle_t, eTransformSpace: EVRSkeletalTransformSpace, eMotionRange: EVRSkeletalMotionRange, pTransformArray: *mut VRBoneTransform_t, unTransformArrayCount: u32) -> EVRInputError>GetSkeletalSummaryData: Option<unsafe extern "C" fn(action: VRActionHandle_t, eSummaryType: EVRSummaryType, pSkeletalSummaryData: *mut VRSkeletalSummaryData_t) -> EVRInputError>GetSkeletalBoneDataCompressed: Option<unsafe extern "C" fn(action: VRActionHandle_t, eMotionRange: EVRSkeletalMotionRange, pvCompressedData: *mut c_void, unCompressedSize: u32, punRequiredCompressedSize: *mut u32) -> EVRInputError>DecompressSkeletalBoneData: Option<unsafe extern "C" fn(pvCompressedBuffer: *mut c_void, unCompressedBufferSize: u32, eTransformSpace: EVRSkeletalTransformSpace, pTransformArray: *mut VRBoneTransform_t, unTransformArrayCount: u32) -> EVRInputError>TriggerHapticVibrationAction: Option<unsafe extern "C" fn(action: VRActionHandle_t, fStartSecondsFromNow: f32, fDurationSeconds: f32, fFrequency: f32, fAmplitude: f32, ulRestrictToDevice: VRInputValueHandle_t) -> EVRInputError>GetActionOrigins: Option<unsafe extern "C" fn(actionSetHandle: VRActionSetHandle_t, digitalActionHandle: VRActionHandle_t, originsOut: *mut VRInputValueHandle_t, originOutCount: u32) -> EVRInputError>GetOriginLocalizedName: Option<unsafe extern "C" fn(origin: VRInputValueHandle_t, pchNameArray: *mut c_char, unNameArraySize: u32, unStringSectionsToInclude: i32) -> EVRInputError>GetOriginTrackedDeviceInfo: Option<unsafe extern "C" fn(origin: VRInputValueHandle_t, pOriginInfo: *mut InputOriginInfo_t, unOriginInfoSize: u32) -> EVRInputError>ShowActionOrigins: Option<unsafe extern "C" fn(actionSetHandle: VRActionSetHandle_t, ulActionHandle: VRActionHandle_t) -> EVRInputError>ShowBindingsForActionSet: Option<unsafe extern "C" fn(pSets: *mut VRActiveActionSet_t, unSizeOfVRSelectedActionSet_t: u32, unSetCount: u32, originToHighlight: VRInputValueHandle_t) -> EVRInputError>IsUsingLegacyInput: Option<unsafe extern "C" fn() -> bool>

Trait Implementations

impl Clone for VR_IVRInput_FnTable[src]

impl Copy for VR_IVRInput_FnTable[src]

impl Debug for VR_IVRInput_FnTable[src]

Auto Trait Implementations

impl RefUnwindSafe for VR_IVRInput_FnTable

impl Send for VR_IVRInput_FnTable

impl Sync for VR_IVRInput_FnTable

impl Unpin for VR_IVRInput_FnTable

impl UnwindSafe for VR_IVRInput_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.