[−][src]Struct openvr_sys::VR_IVROverlay_FnTable
Fields
FindOverlay: Option<unsafe extern "C" fn(pchOverlayKey: *mut c_char, pOverlayHandle: *mut VROverlayHandle_t) -> EVROverlayError>
CreateOverlay: Option<unsafe extern "C" fn(pchOverlayKey: *mut c_char, pchOverlayName: *mut c_char, pOverlayHandle: *mut VROverlayHandle_t) -> EVROverlayError>
DestroyOverlay: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t) -> EVROverlayError>
SetHighQualityOverlay: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t) -> EVROverlayError>
GetHighQualityOverlay: Option<unsafe extern "C" fn() -> VROverlayHandle_t>
GetOverlayKey: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pchValue: *mut c_char, unBufferSize: u32, pError: *mut EVROverlayError) -> u32>
GetOverlayName: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pchValue: *mut c_char, unBufferSize: u32, pError: *mut EVROverlayError) -> u32>
SetOverlayName: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pchName: *mut c_char) -> EVROverlayError>
GetOverlayImageData: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pvBuffer: *mut c_void, unBufferSize: u32, punWidth: *mut u32, punHeight: *mut u32) -> EVROverlayError>
GetOverlayErrorNameFromEnum: Option<unsafe extern "C" fn(error: EVROverlayError) -> *mut c_char>
SetOverlayRenderingPid: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, unPID: u32) -> EVROverlayError>
GetOverlayRenderingPid: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t) -> u32>
SetOverlayFlag: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, eOverlayFlag: VROverlayFlags, bEnabled: bool) -> EVROverlayError>
GetOverlayFlag: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, eOverlayFlag: VROverlayFlags, pbEnabled: *mut bool) -> EVROverlayError>
SetOverlayColor: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, fRed: f32, fGreen: f32, fBlue: f32) -> EVROverlayError>
GetOverlayColor: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pfRed: *mut f32, pfGreen: *mut f32, pfBlue: *mut f32) -> EVROverlayError>
SetOverlayAlpha: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, fAlpha: f32) -> EVROverlayError>
GetOverlayAlpha: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pfAlpha: *mut f32) -> EVROverlayError>
SetOverlayTexelAspect: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, fTexelAspect: f32) -> EVROverlayError>
GetOverlayTexelAspect: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pfTexelAspect: *mut f32) -> EVROverlayError>
SetOverlaySortOrder: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, unSortOrder: u32) -> EVROverlayError>
GetOverlaySortOrder: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, punSortOrder: *mut u32) -> EVROverlayError>
SetOverlayWidthInMeters: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, fWidthInMeters: f32) -> EVROverlayError>
GetOverlayWidthInMeters: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pfWidthInMeters: *mut f32) -> EVROverlayError>
SetOverlayAutoCurveDistanceRangeInMeters: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, fMinDistanceInMeters: f32, fMaxDistanceInMeters: f32) -> EVROverlayError>
GetOverlayAutoCurveDistanceRangeInMeters: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pfMinDistanceInMeters: *mut f32, pfMaxDistanceInMeters: *mut f32) -> EVROverlayError>
SetOverlayTextureColorSpace: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, eTextureColorSpace: EColorSpace) -> EVROverlayError>
GetOverlayTextureColorSpace: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, peTextureColorSpace: *mut EColorSpace) -> EVROverlayError>
SetOverlayTextureBounds: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pOverlayTextureBounds: *mut VRTextureBounds_t) -> EVROverlayError>
GetOverlayTextureBounds: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pOverlayTextureBounds: *mut VRTextureBounds_t) -> EVROverlayError>
GetOverlayRenderModel: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pchValue: *mut c_char, unBufferSize: u32, pColor: *mut HmdColor_t, pError: *mut EVROverlayError) -> u32>
SetOverlayRenderModel: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pchRenderModel: *mut c_char, pColor: *mut HmdColor_t) -> EVROverlayError>
GetOverlayTransformType: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, peTransformType: *mut VROverlayTransformType) -> EVROverlayError>
SetOverlayTransformAbsolute: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, eTrackingOrigin: ETrackingUniverseOrigin, pmatTrackingOriginToOverlayTransform: *mut HmdMatrix34_t) -> EVROverlayError>
GetOverlayTransformAbsolute: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, peTrackingOrigin: *mut ETrackingUniverseOrigin, pmatTrackingOriginToOverlayTransform: *mut HmdMatrix34_t) -> EVROverlayError>
SetOverlayTransformTrackedDeviceRelative: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, unTrackedDevice: TrackedDeviceIndex_t, pmatTrackedDeviceToOverlayTransform: *mut HmdMatrix34_t) -> EVROverlayError>
GetOverlayTransformTrackedDeviceRelative: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, punTrackedDevice: *mut TrackedDeviceIndex_t, pmatTrackedDeviceToOverlayTransform: *mut HmdMatrix34_t) -> EVROverlayError>
SetOverlayTransformTrackedDeviceComponent: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, unDeviceIndex: TrackedDeviceIndex_t, pchComponentName: *mut c_char) -> EVROverlayError>
GetOverlayTransformTrackedDeviceComponent: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, punDeviceIndex: *mut TrackedDeviceIndex_t, pchComponentName: *mut c_char, unComponentNameSize: u32) -> EVROverlayError>
GetOverlayTransformOverlayRelative: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, ulOverlayHandleParent: *mut VROverlayHandle_t, pmatParentOverlayToOverlayTransform: *mut HmdMatrix34_t) -> EVROverlayError>
SetOverlayTransformOverlayRelative: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, ulOverlayHandleParent: VROverlayHandle_t, pmatParentOverlayToOverlayTransform: *mut HmdMatrix34_t) -> EVROverlayError>
ShowOverlay: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t) -> EVROverlayError>
HideOverlay: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t) -> EVROverlayError>
IsOverlayVisible: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t) -> bool>
GetTransformForOverlayCoordinates: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, eTrackingOrigin: ETrackingUniverseOrigin, coordinatesInOverlay: HmdVector2_t, pmatTransform: *mut HmdMatrix34_t) -> EVROverlayError>
PollNextOverlayEvent: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pEvent: *mut VREvent_t, uncbVREvent: u32) -> bool>
GetOverlayInputMethod: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, peInputMethod: *mut VROverlayInputMethod) -> EVROverlayError>
SetOverlayInputMethod: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, eInputMethod: VROverlayInputMethod) -> EVROverlayError>
GetOverlayMouseScale: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pvecMouseScale: *mut HmdVector2_t) -> EVROverlayError>
SetOverlayMouseScale: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pvecMouseScale: *mut HmdVector2_t) -> EVROverlayError>
ComputeOverlayIntersection: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pParams: *mut VROverlayIntersectionParams_t, pResults: *mut VROverlayIntersectionResults_t) -> bool>
IsHoverTargetOverlay: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t) -> bool>
GetGamepadFocusOverlay: Option<unsafe extern "C" fn() -> VROverlayHandle_t>
SetGamepadFocusOverlay: Option<unsafe extern "C" fn(ulNewFocusOverlay: VROverlayHandle_t) -> EVROverlayError>
SetOverlayNeighbor: Option<unsafe extern "C" fn(eDirection: EOverlayDirection, ulFrom: VROverlayHandle_t, ulTo: VROverlayHandle_t) -> EVROverlayError>
MoveGamepadFocusToNeighbor: Option<unsafe extern "C" fn(eDirection: EOverlayDirection, ulFrom: VROverlayHandle_t) -> EVROverlayError>
SetOverlayDualAnalogTransform: Option<unsafe extern "C" fn(ulOverlay: VROverlayHandle_t, eWhich: EDualAnalogWhich, pvCenter: *mut HmdVector2_t, fRadius: f32) -> EVROverlayError>
GetOverlayDualAnalogTransform: Option<unsafe extern "C" fn(ulOverlay: VROverlayHandle_t, eWhich: EDualAnalogWhich, pvCenter: *mut HmdVector2_t, pfRadius: *mut f32) -> EVROverlayError>
SetOverlayTexture: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pTexture: *mut Texture_t) -> EVROverlayError>
ClearOverlayTexture: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t) -> EVROverlayError>
SetOverlayRaw: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pvBuffer: *mut c_void, unWidth: u32, unHeight: u32, unDepth: u32) -> EVROverlayError>
SetOverlayFromFile: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pchFilePath: *mut c_char) -> EVROverlayError>
GetOverlayTexture: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pNativeTextureHandle: *mut *mut c_void, pNativeTextureRef: *mut c_void, pWidth: *mut u32, pHeight: *mut u32, pNativeFormat: *mut u32, pAPIType: *mut ETextureType, pColorSpace: *mut EColorSpace, pTextureBounds: *mut VRTextureBounds_t) -> EVROverlayError>
ReleaseNativeOverlayHandle: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pNativeTextureHandle: *mut c_void) -> EVROverlayError>
GetOverlayTextureSize: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pWidth: *mut u32, pHeight: *mut u32) -> EVROverlayError>
CreateDashboardOverlay: Option<unsafe extern "C" fn(pchOverlayKey: *mut c_char, pchOverlayFriendlyName: *mut c_char, pMainHandle: *mut VROverlayHandle_t, pThumbnailHandle: *mut VROverlayHandle_t) -> EVROverlayError>
IsDashboardVisible: Option<unsafe extern "C" fn() -> bool>
IsActiveDashboardOverlay: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t) -> bool>
SetDashboardOverlaySceneProcess: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, unProcessId: u32) -> EVROverlayError>
GetDashboardOverlaySceneProcess: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, punProcessId: *mut u32) -> EVROverlayError>
ShowDashboard: Option<unsafe extern "C" fn(pchOverlayToShow: *mut c_char)>
GetPrimaryDashboardDevice: Option<unsafe extern "C" fn() -> TrackedDeviceIndex_t>
ShowKeyboard: Option<unsafe extern "C" fn(eInputMode: EGamepadTextInputMode, eLineInputMode: EGamepadTextInputLineMode, pchDescription: *mut c_char, unCharMax: u32, pchExistingText: *mut c_char, bUseMinimalMode: bool, uUserValue: u64) -> EVROverlayError>
ShowKeyboardForOverlay: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, eInputMode: EGamepadTextInputMode, eLineInputMode: EGamepadTextInputLineMode, pchDescription: *mut c_char, unCharMax: u32, pchExistingText: *mut c_char, bUseMinimalMode: bool, uUserValue: u64) -> EVROverlayError>
GetKeyboardText: Option<unsafe extern "C" fn(pchText: *mut c_char, cchText: u32) -> u32>
HideKeyboard: Option<unsafe extern "C" fn()>
SetKeyboardTransformAbsolute: Option<unsafe extern "C" fn(eTrackingOrigin: ETrackingUniverseOrigin, pmatTrackingOriginToKeyboardTransform: *mut HmdMatrix34_t)>
SetKeyboardPositionForOverlay: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, avoidRect: HmdRect2_t)>
SetOverlayIntersectionMask: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pMaskPrimitives: *mut VROverlayIntersectionMaskPrimitive_t, unNumMaskPrimitives: u32, unPrimitiveSize: u32) -> EVROverlayError>
GetOverlayFlags: Option<unsafe extern "C" fn(ulOverlayHandle: VROverlayHandle_t, pFlags: *mut u32) -> EVROverlayError>
ShowMessageOverlay: Option<unsafe extern "C" fn(pchText: *mut c_char, pchCaption: *mut c_char, pchButton0Text: *mut c_char, pchButton1Text: *mut c_char, pchButton2Text: *mut c_char, pchButton3Text: *mut c_char) -> VRMessageOverlayResponse>
CloseMessageOverlay: Option<unsafe extern "C" fn()>
Trait Implementations
impl Clone for VR_IVROverlay_FnTable
[src]
fn clone(&self) -> VR_IVROverlay_FnTable
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for VR_IVROverlay_FnTable
[src]
impl Debug for VR_IVROverlay_FnTable
[src]
Auto Trait Implementations
impl RefUnwindSafe for VR_IVROverlay_FnTable
impl Send for VR_IVROverlay_FnTable
impl Sync for VR_IVROverlay_FnTable
impl Unpin for VR_IVROverlay_FnTable
impl UnwindSafe for VR_IVROverlay_FnTable
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,