[INFO] fetching crate ovr_overlay_sys 0.0.0...
[INFO] documenting ovr_overlay_sys-0.0.0 against 1.69.0 for beta-1.70-rustdoc-1
[INFO] extracting crate ovr_overlay_sys 0.0.0 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate ovr_overlay_sys 0.0.0 on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ovr_overlay_sys 0.0.0
[INFO] finished tweaking crates.io crate ovr_overlay_sys 0.0.0
[INFO] tweaked toml for crates.io crate ovr_overlay_sys 0.0.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+1.69.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cxx-gen v0.7.94
[INFO] [stderr]   Downloaded moveit v0.5.1
[INFO] [stderr]   Downloaded normpath v0.3.2
[INFO] [stderr]   Downloaded autocxx-parser v0.21.2
[INFO] [stderr]   Downloaded autocxx-bindgen v0.59.16
[INFO] [stderr]   Downloaded autocxx-macro v0.21.2
[INFO] [stderr]   Downloaded autocxx-build v0.21.2
[INFO] [stderr]   Downloaded autocxx v0.21.2
[INFO] [stderr]   Downloaded autocxx-engine v0.21.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f4d28d30194413b941726e6bec75d4d4ff4adfa173837ad3c30acf4729bb2c03
[INFO] running `Command { std: "docker" "start" "-a" "f4d28d30194413b941726e6bec75d4d4ff4adfa173837ad3c30acf4729bb2c03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f4d28d30194413b941726e6bec75d4d4ff4adfa173837ad3c30acf4729bb2c03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4d28d30194413b941726e6bec75d4d4ff4adfa173837ad3c30acf4729bb2c03", kill_on_drop: false }`
[INFO] [stdout] f4d28d30194413b941726e6bec75d4d4ff4adfa173837ad3c30acf4729bb2c03
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2f7481e84591deb3d1b681cd82df3a5b6f3cc8b81a3379cf607d85e02b8d4516
[INFO] running `Command { std: "docker" "start" "-a" "2f7481e84591deb3d1b681cd82df3a5b6f3cc8b81a3379cf607d85e02b8d4516", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.56
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling unicode-ident v1.0.8
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling serde v1.0.160
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling serde_derive v1.0.160
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling clang-sys v1.6.1
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling termcolor v1.2.0
[INFO] [stderr]    Compiling once_cell v1.17.1
[INFO] [stderr]    Compiling io-lifetimes v1.0.10
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling link-cplusplus v1.0.8
[INFO] [stderr]    Compiling aho-corasick v1.0.1
[INFO] [stderr]    Compiling rustversion v1.0.12
[INFO] [stderr]    Compiling regex-syntax v0.7.1
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling rustix v0.37.18
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling regex v1.8.1
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling linux-raw-sys v0.3.6
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]    Compiling cxxbridge-flags v1.0.94
[INFO] [stderr]    Compiling autocxx-bindgen v0.59.16
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling cxx v1.0.94
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling env_logger v0.9.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling miette-derive v4.7.1
[INFO] [stderr]    Compiling aquamarine v0.1.12
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling which v4.4.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling ryu v1.0.13
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling itoa v1.0.6
[INFO] [stderr]    Compiling shlex v1.1.0
[INFO] [stderr]    Compiling tempfile v3.5.0
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]    Compiling miette v4.7.1
[INFO] [stderr]    Compiling cxx-gen v0.7.94
[INFO] [stderr]    Compiling indoc v1.0.9
[INFO] [stderr]    Compiling cxxbridge-macro v1.0.94
[INFO] [stderr]    Compiling autocxx-parser v0.21.2
[INFO] [stderr]    Compiling normpath v0.3.2
[INFO] [stderr]    Compiling autocxx-macro v0.21.2
[INFO] [stderr]    Compiling autocxx-engine v0.21.2
[INFO] [stderr]     Checking moveit v0.5.1
[INFO] [stderr]     Checking autocxx v0.21.2
[INFO] [stderr]    Compiling autocxx-build v0.21.2
[INFO] [stderr]    Compiling ovr_overlay_sys v0.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting ovr_overlay_sys v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unclosed HTML tag `MTLDevice`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/ovr_overlay_sys-f4029b5d2f33ac9f/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs:1:51129
[INFO] [stdout]   |
[INFO] [stdout] 1 | ... } # [doc = " Returns platform- and texture-type specific adapter identification so that applications and the"] # [doc = " compositor are creating textures and swap chains on the same GPU. If an error occurs the device"] # [doc = " will be set to 0."] # [doc = " pInstance is an optional parameter that is required only when textureType is TextureType_Vulkan."] # [doc = " [D3D10/11/12 Only (D3D9 Not Supported)]"] # [doc = "  Returns the adapter LUID that identifies the GPU attached to the HMD. The user should"] # [doc = "  enumerate all adapters using IDXGIFactory::EnumAdapters and IDXGIAdapter::GetDesc to find"] # [doc = "  the adapter with the matching LUID, or use IDXGIFactory4::EnumAdapterByLuid."] # [doc = "  The discovered IDXGIAdapter should be used to create the device and swap chain."] # [doc = " [Vulkan Only]"] # [doc = "  Returns the VkPhysicalDevice that should be used by the application."] # [doc = "  pInstance must be the instance the application will use to query for the VkPhysicalDevice.  The application"] # [doc = "  must create the VkInstance with extensions returned by IVRCompositor::GetVulkanInstanceExtensionsRequired enabled."] # [doc = " [macOS Only]"] # [doc = "  For TextureType_IOSurface returns the id<MTLDevice> that should be used by the application."] # [doc = "  On 10.13+ for TextureType_OpenGL returns the 'registryId' of the renderer which should be used"] # [doc = "   by the application. See Apple Technical Q&A QA1168 for information on enumerating GL Renderers, and the"] # [doc = "   new kCGLRPRegistryIDLow and kCGLRPRegistryIDHigh CGLRendererProperty values in the 10.13 SDK."] # [doc = "  Pre 10.13 for TextureType_OpenGL returns 0, as there is no dependable way to correlate the HMDs MTLDevice"] # [doc = "   with a GL Renderer."] pu...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
[INFO] [stdout] help: try marking as source code
[INFO] [stdout]   |
[INFO] [stdout] 1 | # [allow (non_snake_case)] # [allow (dead_code)] # [allow (non_upper_case_globals)] # [allow (non_camel_case_types)] mod ffi { pub trait ToCppString { fn into_cpp (self) -> cxx :: UniquePtr < cxx :: CxxString > ; } impl ToCppString for & str { fn into_cpp (self) -> cxx :: UniquePtr < cxx :: CxxString > { make_string (self) } } impl ToCppString for String { fn into_cpp (self) -> cxx :: UniquePtr < cxx :: CxxString > { make_string (& self) } } impl ToCppString for & String { fn into_cpp (self) -> cxx :: UniquePtr < cxx :: CxxString > { make_string (self) } } impl ToCppString for cxx :: UniquePtr < cxx :: CxxString > { fn into_cpp (self) -> cxx :: UniquePtr < cxx :: CxxString > { self } } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: HmdMatrix34_t { type Id = cxx :: type_id ! ("vr::HmdMatrix34_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: ETrackingUniverseOrigin { type Id = cxx :: type_id ! ("vr::ETrackingUniverseOrigin") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EVROverlayError { type Id = cxx :: type_id ! ("vr::EVROverlayError") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EVRApplicationType { type Id = cxx :: type_id ! ("vr::EVRApplicationType") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EVRInitError { type Id = cxx :: type_id ! ("vr::EVRInitError") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EVREye { type Id = cxx :: type_id ! ("vr::EVREye") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: HmdMatrix44_t { type Id = cxx :: type_id ! ("vr::HmdMatrix44_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: DistortionCoordinates_t { type Id = cxx :: type_id ! ("vr::DistortionCoordinates_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: ETextureType { type Id = cxx :: type_id ! ("vr::ETextureType") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: TrackedDevicePose_t { type Id = cxx :: type_id ! ("vr::TrackedDevicePose_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: ETrackedDeviceClass { type Id = cxx :: type_id ! ("vr::ETrackedDeviceClass") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EDeviceActivityLevel { type Id = cxx :: type_id ! ("vr::EDeviceActivityLevel") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: ETrackedControllerRole { type Id = cxx :: type_id ! ("vr::ETrackedControllerRole") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: ETrackedDeviceProperty { type Id = cxx :: type_id ! ("vr::ETrackedDeviceProperty") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: ETrackedPropertyError { type Id = cxx :: type_id ! ("vr::ETrackedPropertyError") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: VREvent_t { type Id = cxx :: type_id ! ("vr::VREvent_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EVREventType { type Id = cxx :: type_id ! ("vr::EVREventType") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: HiddenAreaMesh_t { type Id = cxx :: type_id ! ("vr::HiddenAreaMesh_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EHiddenAreaMeshType { type Id = cxx :: type_id ! ("vr::EHiddenAreaMeshType") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: VRControllerState001_t { type Id = cxx :: type_id ! ("vr::VRControllerState001_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EVRButtonId { type Id = cxx :: type_id ! ("vr::EVRButtonId") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EVRControllerAxisType { type Id = cxx :: type_id ! ("vr::EVRControllerAxisType") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EVRFirmwareError { type Id = cxx :: type_id ! ("vr::EVRFirmwareError") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: VROverlayFlags { type Id = cxx :: type_id ! ("vr::VROverlayFlags") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EColorSpace { type Id = cxx :: type_id ! ("vr::EColorSpace") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: VRTextureBounds_t { type Id = cxx :: type_id ! ("vr::VRTextureBounds_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: VROverlayTransformType { type Id = cxx :: type_id ! ("vr::VROverlayTransformType") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: HmdVector2_t { type Id = cxx :: type_id ! ("vr::HmdVector2_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: VROverlayProjection_t { type Id = cxx :: type_id ! ("vr::VROverlayProjection_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: VROverlayInputMethod { type Id = cxx :: type_id ! ("vr::VROverlayInputMethod") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: VROverlayIntersectionParams_t { type Id = cxx :: type_id ! ("vr::VROverlayIntersectionParams_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: VROverlayIntersectionResults_t { type Id = cxx :: type_id ! ("vr::VROverlayIntersectionResults_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: VROverlayIntersectionMaskPrimitive_t { type Id = cxx :: type_id ! ("vr::VROverlayIntersectionMaskPrimitive_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: Texture_t { type Id = cxx :: type_id ! ("vr::Texture_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EGamepadTextInputMode { type Id = cxx :: type_id ! ("vr::EGamepadTextInputMode") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EGamepadTextInputLineMode { type Id = cxx :: type_id ! ("vr::EGamepadTextInputLineMode") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: HmdRect2_t { type Id = cxx :: type_id ! ("vr::HmdRect2_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: VRMessageOverlayResponse { type Id = cxx :: type_id ! ("vr::VRMessageOverlayResponse") ; type Kind = cxx :: kind :: Trivial ; } mod bindgen { pub (super) mod root { pub use cxxbridge :: VkInstance_T ; pub mod vr { # [repr (C , align (4))] pub struct HmdMatrix34_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 48] } # [repr (u32)] # [doc = " Identifies which style of tracking origin the application wants to use"] # [doc = " for the poses it is requesting"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum ETrackingUniverseOrigin { TrackingUniverseSeated = 0 , TrackingUniverseStanding = 1 , TrackingUniverseRawAndUncalibrated = 2 , } # [doc = " used to refer to a single VR overlay"] pub type VROverlayHandle_t = u64 ; # [repr (u32)] # [doc = " Errors that can occur around VR overlays"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EVROverlayError { VROverlayError_None = 0 , VROverlayError_UnknownOverlay = 10 , VROverlayError_InvalidHandle = 11 , VROverlayError_PermissionDenied = 12 , VROverlayError_OverlayLimitExceeded = 13 , VROverlayError_WrongVisibilityType = 14 , VROverlayError_KeyTooLong = 15 , VROverlayError_NameTooLong = 16 , VROverlayError_KeyInUse = 17 , VROverlayError_WrongTransformType = 18 , VROverlayError_InvalidTrackedDevice = 19 , VROverlayError_InvalidParameter = 20 , VROverlayError_ThumbnailCantBeDestroyed = 21 , VROverlayError_ArrayTooSmall = 22 , VROverlayError_RequestFailed = 23 , VROverlayError_InvalidTexture = 24 , VROverlayError_UnableToLoadFile = 25 , VROverlayError_KeyboardAlreadyInUse = 26 , VROverlayError_NoNeighbor = 27 , VROverlayError_TooManyMaskPrimitives = 29 , VROverlayError_BadMaskPrimitive = 30 , VROverlayError_TextureAlreadyLocked = 31 , VROverlayError_TextureLockCapacityReached = 32 , VROverlayError_TextureNotLocked = 33 , } # [repr (u32)] # [doc = " enum values to pass in to VR_Init to identify whether the application will"] # [doc = " draw a 3D scene."] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EVRApplicationType { VRApplication_Other = 0 , VRApplication_Scene = 1 , VRApplication_Overlay = 2 , VRApplication_Background = 3 , VRApplication_Utility = 4 , VRApplication_VRMonitor = 5 , VRApplication_SteamWatchdog = 6 , VRApplication_Bootstrapper = 7 , VRApplication_WebHelper = 8 , VRApplication_OpenXRInstance = 9 , VRApplication_OpenXRScene = 10 , VRApplication_OpenXROverlay = 11 , VRApplication_Prism = 12 , VRApplication_Max = 13 , } # [repr (u32)] # [doc = " error codes returned by Vr_Init"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EVRInitError { VRInitError_None = 0 , VRInitError_Unknown = 1 , VRInitError_Init_InstallationNotFound = 100 , VRInitError_Init_InstallationCorrupt = 101 , VRInitError_Init_VRClientDLLNotFound = 102 , VRInitError_Init_FileNotFound = 103 , VRInitError_Init_FactoryNotFound = 104 , VRInitError_Init_InterfaceNotFound = 105 , VRInitError_Init_InvalidInterface = 106 , VRInitError_Init_UserConfigDirectoryInvalid = 107 , VRInitError_Init_HmdNotFound = 108 , VRInitError_Init_NotInitialized = 109 , VRInitError_Init_PathRegistryNotFound = 110 , VRInitError_Init_NoConfigPath = 111 , VRInitError_Init_NoLogPath = 112 , VRInitError_Init_PathRegistryNotWritable = 113 , VRInitError_Init_AppInfoInitFailed = 114 , VRInitError_Init_Retry = 115 , VRInitError_Init_InitCanceledByUser = 116 , VRInitError_Init_AnotherAppLaunching = 117 , VRInitError_Init_SettingsInitFailed = 118 , VRInitError_Init_ShuttingDown = 119 , VRInitError_Init_TooManyObjects = 120 , VRInitError_Init_NoServerForBackgroundApp = 121 , VRInitError_Init_NotSupportedWithCompositor = 122 , VRInitError_Init_NotAvailableToUtilityApps = 123 , VRInitError_Init_Internal = 124 , VRInitError_Init_HmdDriverIdIsNone = 125 , VRInitError_Init_HmdNotFoundPresenceFailed = 126 , VRInitError_Init_VRMonitorNotFound = 127 , VRInitError_Init_VRMonitorStartupFailed = 128 , VRInitError_Init_LowPowerWatchdogNotSupported = 129 , VRInitError_Init_InvalidApplicationType = 130 , VRInitError_Init_NotAvailableToWatchdogApps = 131 , VRInitError_Init_WatchdogDisabledInSettings = 132 , VRInitError_Init_VRDashboardNotFound = 133 , VRInitError_Init_VRDashboardStartupFailed = 134 , VRInitError_Init_VRHomeNotFound = 135 , VRInitError_Init_VRHomeStartupFailed = 136 , VRInitError_Init_RebootingBusy = 137 , VRInitError_Init_FirmwareUpdateBusy = 138 , VRInitError_Init_FirmwareRecoveryBusy = 139 , VRInitError_Init_USBServiceBusy = 140 , VRInitError_Init_VRWebHelperStartupFailed = 141 , VRInitError_Init_TrackerManagerInitFailed = 142 , VRInitError_Init_AlreadyRunning = 143 , VRInitError_Init_FailedForVrMonitor = 144 , VRInitError_Init_PropertyManagerInitFailed = 145 , VRInitError_Init_WebServerFailed = 146 , VRInitError_Init_IllegalTypeTransition = 147 , VRInitError_Init_MismatchedRuntimes = 148 , VRInitError_Init_InvalidProcessId = 149 , VRInitError_Init_VRServiceStartupFailed = 150 , VRInitError_Init_PrismNeedsNewDrivers = 151 , VRInitError_Init_PrismStartupTimedOut = 152 , VRInitError_Init_CouldNotStartPrism = 153 , VRInitError_Init_CreateDriverDirectDeviceFailed = 154 , VRInitError_Init_PrismExitedUnexpectedly = 155 , VRInitError_Driver_Failed = 200 , VRInitError_Driver_Unknown = 201 , VRInitError_Driver_HmdUnknown = 202 , VRInitError_Driver_NotLoaded = 203 , VRInitError_Driver_RuntimeOutOfDate = 204 , VRInitError_Driver_HmdInUse = 205 , VRInitError_Driver_NotCalibrated = 206 , VRInitError_Driver_CalibrationInvalid = 207 , VRInitError_Driver_HmdDisplayNotFound = 208 , VRInitError_Driver_TrackedDeviceInterfaceUnknown = 209 , VRInitError_Driver_HmdDriverIdOutOfBounds = 211 , VRInitError_Driver_HmdDisplayMirrored = 212 , VRInitError_Driver_HmdDisplayNotFoundLaptop = 213 , VRInitError_IPC_ServerInitFailed = 300 , VRInitError_IPC_ConnectFailed = 301 , VRInitError_IPC_SharedStateInitFailed = 302 , VRInitError_IPC_CompositorInitFailed = 303 , VRInitError_IPC_MutexInitFailed = 304 , VRInitError_IPC_Failed = 305 , VRInitError_IPC_CompositorConnectFailed = 306 , VRInitError_IPC_CompositorInvalidConnectResponse = 307 , VRInitError_IPC_ConnectFailedAfterMultipleAttempts = 308 , VRInitError_IPC_ConnectFailedAfterTargetExited = 309 , VRInitError_IPC_NamespaceUnavailable = 310 , VRInitError_Compositor_Failed = 400 , VRInitError_Compositor_D3D11HardwareRequired = 401 , VRInitError_Compositor_FirmwareRequiresUpdate = 402 , VRInitError_Compositor_OverlayInitFailed = 403 , VRInitError_Compositor_ScreenshotsInitFailed = 404 , VRInitError_Compositor_UnableToCreateDevice = 405 , VRInitError_Compositor_SharedStateIsNull = 406 , VRInitError_Compositor_NotificationManagerIsNull = 407 , VRInitError_Compositor_ResourceManagerClientIsNull = 408 , VRInitError_Compositor_MessageOverlaySharedStateInitFailure = 409 , VRInitError_Compositor_PropertiesInterfaceIsNull = 410 , VRInitError_Compositor_CreateFullscreenWindowFailed = 411 , VRInitError_Compositor_SettingsInterfaceIsNull = 412 , VRInitError_Compositor_FailedToShowWindow = 413 , VRInitError_Compositor_DistortInterfaceIsNull = 414 , VRInitError_Compositor_DisplayFrequencyFailure = 415 , VRInitError_Compositor_RendererInitializationFailed = 416 , VRInitError_Compositor_DXGIFactoryInterfaceIsNull = 417 , VRInitError_Compositor_DXGIFactoryCreateFailed = 418 , VRInitError_Compositor_DXGIFactoryQueryFailed = 419 , VRInitError_Compositor_InvalidAdapterDesktop = 420 , VRInitError_Compositor_InvalidHmdAttachment = 421 , VRInitError_Compositor_InvalidOutputDesktop = 422 , VRInitError_Compositor_InvalidDeviceProvided = 423 , VRInitError_Compositor_D3D11RendererInitializationFailed = 424 , VRInitError_Compositor_FailedToFindDisplayMode = 425 , VRInitError_Compositor_FailedToCreateSwapChain = 426 , VRInitError_Compositor_FailedToGetBackBuffer = 427 , VRInitError_Compositor_FailedToCreateRenderTarget = 428 , VRInitError_Compositor_FailedToCreateDXGI2SwapChain = 429 , VRInitError_Compositor_FailedtoGetDXGI2BackBuffer = 430 , VRInitError_Compositor_FailedToCreateDXGI2RenderTarget = 431 , VRInitError_Compositor_FailedToGetDXGIDeviceInterface = 432 , VRInitError_Compositor_SelectDisplayMode = 433 , VRInitError_Compositor_FailedToCreateNvAPIRenderTargets = 434 , VRInitError_Compositor_NvAPISetDisplayMode = 435 , VRInitError_Compositor_FailedToCreateDirectModeDisplay = 436 , VRInitError_Compositor_InvalidHmdPropertyContainer = 437 , VRInitError_Compositor_UpdateDisplayFrequency = 438 , VRInitError_Compositor_CreateRasterizerState = 439 , VRInitError_Compositor_CreateWireframeRasterizerState = 440 , VRInitError_Compositor_CreateSamplerState = 441 , VRInitError_Compositor_CreateClampToBorderSamplerState = 442 , VRInitError_Compositor_CreateAnisoSamplerState = 443 , VRInitError_Compositor_CreateOverlaySamplerState = 444 , VRInitError_Compositor_CreatePanoramaSamplerState = 445 , VRInitError_Compositor_CreateFontSamplerState = 446 , VRInitError_Compositor_CreateNoBlendState = 447 , VRInitError_Compositor_CreateBlendState = 448 , VRInitError_Compositor_CreateAlphaBlendState = 449 , VRInitError_Compositor_CreateBlendStateMaskR = 450 , VRInitError_Compositor_CreateBlendStateMaskG = 451 , VRInitError_Compositor_CreateBlendStateMaskB = 452 , VRInitError_Compositor_CreateDepthStencilState = 453 , VRInitError_Compositor_CreateDepthStencilStateNoWrite = 454 , VRInitError_Compositor_CreateDepthStencilStateNoDepth = 455 , VRInitError_Compositor_CreateFlushTexture = 456 , VRInitError_Compositor_CreateDistortionSurfaces = 457 , VRInitError_Compositor_CreateConstantBuffer = 458 , VRInitError_Compositor_CreateHmdPoseConstantBuffer = 459 , VRInitError_Compositor_CreateHmdPoseStagingConstantBuffer = 460 , VRInitError_Compositor_CreateSharedFrameInfoConstantBuffer = 461 , VRInitError_Compositor_CreateOverlayConstantBuffer = 462 , VRInitError_Compositor_CreateSceneTextureIndexConstantBuffer = 463 , VRInitError_Compositor_CreateReadableSceneTextureIndexConstantBuffer = 464 , VRInitError_Compositor_CreateLayerGraphicsTextureIndexConstantBuffer = 465 , VRInitError_Compositor_CreateLayerComputeTextureIndexConstantBuffer = 466 , VRInitError_Compositor_CreateLayerComputeSceneTextureIndexConstantBuffer = 467 , VRInitError_Compositor_CreateComputeHmdPoseConstantBuffer = 468 , VRInitError_Compositor_CreateGeomConstantBuffer = 469 , VRInitError_Compositor_CreatePanelMaskConstantBuffer = 470 , VRInitError_Compositor_CreatePixelSimUBO = 471 , VRInitError_Compositor_CreateMSAARenderTextures = 472 , VRInitError_Compositor_CreateResolveRenderTextures = 473 , VRInitError_Compositor_CreateComputeResolveRenderTextures = 474 , VRInitError_Compositor_CreateDriverDirectModeResolveTextures = 475 , VRInitError_Compositor_OpenDriverDirectModeResolveTextures = 476 , VRInitError_Compositor_CreateFallbackSyncTexture = 477 , VRInitError_Compositor_ShareFallbackSyncTexture = 478 , VRInitError_Compositor_CreateOverlayIndexBuffer = 479 , VRInitError_Compositor_CreateOverlayVertexBuffer = 480 , VRInitError_Compositor_CreateTextVertexBuffer = 481 , VRInitError_Compositor_CreateTextIndexBuffer = 482 , VRInitError_Compositor_CreateMirrorTextures = 483 , VRInitError_Compositor_CreateLastFrameRenderTexture = 484 , VRInitError_Compositor_CreateMirrorOverlay = 485 , VRInitError_Compositor_FailedToCreateVirtualDisplayBackbuffer = 486 , VRInitError_Compositor_DisplayModeNotSupported = 487 , VRInitError_Compositor_CreateOverlayInvalidCall = 488 , VRInitError_Compositor_CreateOverlayAlreadyInitialized = 489 , VRInitError_Compositor_FailedToCreateMailbox = 490 , VRInitError_Compositor_WindowInterfaceIsNull = 491 , VRInitError_Compositor_SystemLayerCreateInstance = 492 , VRInitError_Compositor_SystemLayerCreateSession = 493 , VRInitError_VendorSpecific_UnableToConnectToOculusRuntime = 1000 , VRInitError_VendorSpecific_WindowsNotInDevMode = 1001 , VRInitError_VendorSpecific_HmdFound_CantOpenDevice = 1101 , VRInitError_VendorSpecific_HmdFound_UnableToRequestConfigStart = 1102 , VRInitError_VendorSpecific_HmdFound_NoStoredConfig = 1103 , VRInitError_VendorSpecific_HmdFound_ConfigTooBig = 1104 , VRInitError_VendorSpecific_HmdFound_ConfigTooSmall = 1105 , VRInitError_VendorSpecific_HmdFound_UnableToInitZLib = 1106 , VRInitError_VendorSpecific_HmdFound_CantReadFirmwareVersion = 1107 , VRInitError_VendorSpecific_HmdFound_UnableToSendUserDataStart = 1108 , VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataStart = 1109 , VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataNext = 1110 , VRInitError_VendorSpecific_HmdFound_UserDataAddressRange = 1111 , VRInitError_VendorSpecific_HmdFound_UserDataError = 1112 , VRInitError_VendorSpecific_HmdFound_ConfigFailedSanityCheck = 1113 , VRInitError_VendorSpecific_OculusRuntimeBadInstall = 1114 , VRInitError_Steam_SteamInstallationNotFound = 2000 , VRInitError_LastError = 2001 , } pub use cxxbridge :: IVRSystem ; pub use cxxbridge :: IVROverlay ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EVREye { Eye_Left = 0 , Eye_Right = 1 , } # [repr (C , align (4))] pub struct HmdMatrix44_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 64] } # [doc = " Used to return the post-distortion UVs for each color channel."] # [doc = " UVs range from 0 to 1 with 0,0 in the upper left corner of the"] # [doc = " source render target. The 0,0 to 1,1 range covers a single eye."] # [repr (C , align (4))] pub struct DistortionCoordinates_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 24] } # [repr (i32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum ETextureType { TextureType_Invalid = - 1 , TextureType_DirectX = 0 , TextureType_OpenGL = 1 , TextureType_Vulkan = 2 , TextureType_IOSurface = 3 , TextureType_DirectX12 = 4 , TextureType_DXGISharedHandle = 5 , TextureType_Metal = 6 , } # [doc = " describes a single pose for a tracked object"] # [repr (C , align (4))] pub struct TrackedDevicePose_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 80] } # [doc = " Used to pass device IDs to API calls"] pub type TrackedDeviceIndex_t = u32 ; # [repr (u32)] # [doc = " Describes what kind of object is being tracked at a given ID"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum ETrackedDeviceClass { TrackedDeviceClass_Invalid = 0 , TrackedDeviceClass_HMD = 1 , TrackedDeviceClass_Controller = 2 , TrackedDeviceClass_GenericTracker = 3 , TrackedDeviceClass_TrackingReference = 4 , TrackedDeviceClass_DisplayRedirect = 5 , TrackedDeviceClass_Max = 6 , } # [repr (i32)] # [doc = " Level of Hmd activity"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EDeviceActivityLevel { k_EDeviceActivityLevel_Unknown = - 1 , k_EDeviceActivityLevel_Idle = 0 , k_EDeviceActivityLevel_UserInteraction = 1 , k_EDeviceActivityLevel_UserInteraction_Timeout = 2 , k_EDeviceActivityLevel_Standby = 3 , k_EDeviceActivityLevel_Idle_Timeout = 4 , } # [repr (u32)] # [doc = " Describes what specific role associated with a tracked device"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum ETrackedControllerRole { TrackedControllerRole_Invalid = 0 , TrackedControllerRole_LeftHand = 1 , TrackedControllerRole_RightHand = 2 , TrackedControllerRole_OptOut = 3 , TrackedControllerRole_Treadmill = 4 , TrackedControllerRole_Stylus = 5 , } # [repr (u32)] # [doc = " Each entry in this enum represents a property that can be retrieved about a"] # [doc = " tracked device. Many fields are only valid for one ETrackedDeviceClass."] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum ETrackedDeviceProperty { Prop_Invalid = 0 , Prop_TrackingSystemName_String = 1000 , Prop_ModelNumber_String = 1001 , Prop_SerialNumber_String = 1002 , Prop_RenderModelName_String = 1003 , Prop_WillDriftInYaw_Bool = 1004 , Prop_ManufacturerName_String = 1005 , Prop_TrackingFirmwareVersion_String = 1006 , Prop_HardwareRevision_String = 1007 , Prop_AllWirelessDongleDescriptions_String = 1008 , Prop_ConnectedWirelessDongle_String = 1009 , Prop_DeviceIsWireless_Bool = 1010 , Prop_DeviceIsCharging_Bool = 1011 , Prop_DeviceBatteryPercentage_Float = 1012 , Prop_StatusDisplayTransform_Matrix34 = 1013 , Prop_Firmware_UpdateAvailable_Bool = 1014 , Prop_Firmware_ManualUpdate_Bool = 1015 , Prop_Firmware_ManualUpdateURL_String = 1016 , Prop_HardwareRevision_Uint64 = 1017 , Prop_FirmwareVersion_Uint64 = 1018 , Prop_FPGAVersion_Uint64 = 1019 , Prop_VRCVersion_Uint64 = 1020 , Prop_RadioVersion_Uint64 = 1021 , Prop_DongleVersion_Uint64 = 1022 , Prop_BlockServerShutdown_Bool = 1023 , Prop_CanUnifyCoordinateSystemWithHmd_Bool = 1024 , Prop_ContainsProximitySensor_Bool = 1025 , Prop_DeviceProvidesBatteryStatus_Bool = 1026 , Prop_DeviceCanPowerOff_Bool = 1027 , Prop_Firmware_ProgrammingTarget_String = 1028 , Prop_DeviceClass_Int32 = 1029 , Prop_HasCamera_Bool = 1030 , Prop_DriverVersion_String = 1031 , Prop_Firmware_ForceUpdateRequired_Bool = 1032 , Prop_ViveSystemButtonFixRequired_Bool = 1033 , Prop_ParentDriver_Uint64 = 1034 , Prop_ResourceRoot_String = 1035 , Prop_RegisteredDeviceType_String = 1036 , Prop_InputProfilePath_String = 1037 , Prop_NeverTracked_Bool = 1038 , Prop_NumCameras_Int32 = 1039 , Prop_CameraFrameLayout_Int32 = 1040 , Prop_CameraStreamFormat_Int32 = 1041 , Prop_AdditionalDeviceSettingsPath_String = 1042 , Prop_Identifiable_Bool = 1043 , Prop_BootloaderVersion_Uint64 = 1044 , Prop_AdditionalSystemReportData_String = 1045 , Prop_CompositeFirmwareVersion_String = 1046 , Prop_Firmware_RemindUpdate_Bool = 1047 , Prop_PeripheralApplicationVersion_Uint64 = 1048 , Prop_ManufacturerSerialNumber_String = 1049 , Prop_ComputedSerialNumber_String = 1050 , Prop_EstimatedDeviceFirstUseTime_Int32 = 1051 , Prop_ReportsTimeSinceVSync_Bool = 2000 , Prop_SecondsFromVsyncToPhotons_Float = 2001 , Prop_DisplayFrequency_Float = 2002 , Prop_UserIpdMeters_Float = 2003 , Prop_CurrentUniverseId_Uint64 = 2004 , Prop_PreviousUniverseId_Uint64 = 2005 , Prop_DisplayFirmwareVersion_Uint64 = 2006 , Prop_IsOnDesktop_Bool = 2007 , Prop_DisplayMCType_Int32 = 2008 , Prop_DisplayMCOffset_Float = 2009 , Prop_DisplayMCScale_Float = 2010 , Prop_EdidVendorID_Int32 = 2011 , Prop_DisplayMCImageLeft_String = 2012 , Prop_DisplayMCImageRight_String = 2013 , Prop_DisplayGCBlackClamp_Float = 2014 , Prop_EdidProductID_Int32 = 2015 , Prop_CameraToHeadTransform_Matrix34 = 2016 , Prop_DisplayGCType_Int32 = 2017 , Prop_DisplayGCOffset_Float = 2018 , Prop_DisplayGCScale_Float = 2019 , Prop_DisplayGCPrescale_Float = 2020 , Prop_DisplayGCImage_String = 2021 , Prop_LensCenterLeftU_Float = 2022 , Prop_LensCenterLeftV_Float = 2023 , Prop_LensCenterRightU_Float = 2024 , Prop_LensCenterRightV_Float = 2025 , Prop_UserHeadToEyeDepthMeters_Float = 2026 , Prop_CameraFirmwareVersion_Uint64 = 2027 , Prop_CameraFirmwareDescription_String = 2028 , Prop_DisplayFPGAVersion_Uint64 = 2029 , Prop_DisplayBootloaderVersion_Uint64 = 2030 , Prop_DisplayHardwareVersion_Uint64 = 2031 , Prop_AudioFirmwareVersion_Uint64 = 2032 , Prop_CameraCompatibilityMode_Int32 = 2033 , Prop_ScreenshotHorizontalFieldOfViewDegrees_Float = 2034 , Prop_ScreenshotVerticalFieldOfViewDegrees_Float = 2035 , Prop_DisplaySuppressed_Bool = 2036 , Prop_DisplayAllowNightMode_Bool = 2037 , Prop_DisplayMCImageWidth_Int32 = 2038 , Prop_DisplayMCImageHeight_Int32 = 2039 , Prop_DisplayMCImageNumChannels_Int32 = 2040 , Prop_DisplayMCImageData_Binary = 2041 , Prop_SecondsFromPhotonsToVblank_Float = 2042 , Prop_DriverDirectModeSendsVsyncEvents_Bool = 2043 , Prop_DisplayDebugMode_Bool = 2044 , Prop_GraphicsAdapterLuid_Uint64 = 2045 , Prop_DriverProvidedChaperonePath_String = 2048 , Prop_ExpectedTrackingReferenceCount_Int32 = 2049 , Prop_ExpectedControllerCount_Int32 = 2050 , Prop_NamedIconPathControllerLeftDeviceOff_String = 2051 , Prop_NamedIconPathControllerRightDeviceOff_String = 2052 , Prop_NamedIconPathTrackingReferenceDeviceOff_String = 2053 , Prop_DoNotApplyPrediction_Bool = 2054 , Prop_CameraToHeadTransforms_Matrix34_Array = 2055 , Prop_DistortionMeshResolution_Int32 = 2056 , Prop_DriverIsDrawingControllers_Bool = 2057 , Prop_DriverRequestsApplicationPause_Bool = 2058 , Prop_DriverRequestsReducedRendering_Bool = 2059 , Prop_MinimumIpdStepMeters_Float = 2060 , Prop_AudioBridgeFirmwareVersion_Uint64 = 2061 , Prop_ImageBridgeFirmwareVersion_Uint64 = 2062 , Prop_ImuToHeadTransform_Matrix34 = 2063 , Prop_ImuFactoryGyroBias_Vector3 = 2064 , Prop_ImuFactoryGyroScale_Vector3 = 2065 , Prop_ImuFactoryAccelerometerBias_Vector3 = 2066 , Prop_ImuFactoryAccelerometerScale_Vector3 = 2067 , Prop_ConfigurationIncludesLighthouse20Features_Bool = 2069 , Prop_AdditionalRadioFeatures_Uint64 = 2070 , Prop_CameraWhiteBalance_Vector4_Array = 2071 , Prop_CameraDistortionFunction_Int32_Array = 2072 , Prop_CameraDistortionCoefficients_Float_Array = 2073 , Prop_ExpectedControllerType_String = 2074 , Prop_HmdTrackingStyle_Int32 = 2075 , Prop_DriverProvidedChaperoneVisibility_Bool = 2076 , Prop_HmdColumnCorrectionSettingPrefix_String = 2077 , Prop_CameraSupportsCompatibilityModes_Bool = 2078 , Prop_SupportsRoomViewDepthProjection_Bool = 2079 , Prop_DisplayAvailableFrameRates_Float_Array = 2080 , Prop_DisplaySupportsMultipleFramerates_Bool = 2081 , Prop_DisplayColorMultLeft_Vector3 = 2082 , Prop_DisplayColorMultRight_Vector3 = 2083 , Prop_DisplaySupportsRuntimeFramerateChange_Bool = 2084 , Prop_DisplaySupportsAnalogGain_Bool = 2085 , Prop_DisplayMinAnalogGain_Float = 2086 , Prop_DisplayMaxAnalogGain_Float = 2087 , Prop_CameraExposureTime_Float = 2088 , Prop_CameraGlobalGain_Float = 2089 , Prop_DashboardScale_Float = 2091 , Prop_IpdUIRangeMinMeters_Float = 2100 , Prop_IpdUIRangeMaxMeters_Float = 2101 , Prop_Hmd_SupportsHDCP14LegacyCompat_Bool = 2102 , Prop_Hmd_SupportsMicMonitoring_Bool = 2103 , Prop_DriverRequestedMuraCorrectionMode_Int32 = 2200 , Prop_DriverRequestedMuraFeather_InnerLeft_Int32 = 2201 , Prop_DriverRequestedMuraFeather_InnerRight_Int32 = 2202 , Prop_DriverRequestedMuraFeather_InnerTop_Int32 = 2203 , Prop_DriverRequestedMuraFeather_InnerBottom_Int32 = 2204 , Prop_DriverRequestedMuraFeather_OuterLeft_Int32 = 2205 , Prop_DriverRequestedMuraFeather_OuterRight_Int32 = 2206 , Prop_DriverRequestedMuraFeather_OuterTop_Int32 = 2207 , Prop_DriverRequestedMuraFeather_OuterBottom_Int32 = 2208 , Prop_Audio_DefaultPlaybackDeviceId_String = 2300 , Prop_Audio_DefaultRecordingDeviceId_String = 2301 , Prop_Audio_DefaultPlaybackDeviceVolume_Float = 2302 , Prop_Audio_SupportsDualSpeakerAndJackOutput_Bool = 2303 , Prop_AttachedDeviceId_String = 3000 , Prop_SupportedButtons_Uint64 = 3001 , Prop_Axis0Type_Int32 = 3002 , Prop_Axis1Type_Int32 = 3003 , Prop_Axis2Type_Int32 = 3004 , Prop_Axis3Type_Int32 = 3005 , Prop_Axis4Type_Int32 = 3006 , Prop_ControllerRoleHint_Int32 = 3007 , Prop_FieldOfViewLeftDegrees_Float = 4000 , Prop_FieldOfViewRightDegrees_Float = 4001 , Prop_FieldOfViewTopDegrees_Float = 4002 , Prop_FieldOfViewBottomDegrees_Float = 4003 , Prop_TrackingRangeMinimumMeters_Float = 4004 , Prop_TrackingRangeMaximumMeters_Float = 4005 , Prop_ModeLabel_String = 4006 , Prop_CanWirelessIdentify_Bool = 4007 , Prop_Nonce_Int32 = 4008 , Prop_IconPathName_String = 5000 , Prop_NamedIconPathDeviceOff_String = 5001 , Prop_NamedIconPathDeviceSearching_String = 5002 , Prop_NamedIconPathDeviceSearchingAlert_String = 5003 , Prop_NamedIconPathDeviceReady_String = 5004 , Prop_NamedIconPathDeviceReadyAlert_String = 5005 , Prop_NamedIconPathDeviceNotReady_String = 5006 , Prop_NamedIconPathDeviceStandby_String = 5007 , Prop_NamedIconPathDeviceAlertLow_String = 5008 , Prop_NamedIconPathDeviceStandbyAlert_String = 5009 , Prop_DisplayHiddenArea_Binary_Start = 5100 , Prop_DisplayHiddenArea_Binary_End = 5150 , Prop_ParentContainer = 5151 , Prop_OverrideContainer_Uint64 = 5152 , Prop_UserConfigPath_String = 6000 , Prop_InstallPath_String = 6001 , Prop_HasDisplayComponent_Bool = 6002 , Prop_HasControllerComponent_Bool = 6003 , Prop_HasCameraComponent_Bool = 6004 , Prop_HasDriverDirectModeComponent_Bool = 6005 , Prop_HasVirtualDisplayComponent_Bool = 6006 , Prop_HasSpatialAnchorsSupport_Bool = 6007 , Prop_ControllerType_String = 7000 , Prop_ControllerHandSelectionPriority_Int32 = 7002 , Prop_VendorSpecific_Reserved_Start = 10000 , Prop_VendorSpecific_Reserved_End = 10999 , Prop_TrackedDeviceProperty_Max = 1000000 , } # [repr (u32)] # [doc = " Used to return errors that occur when reading properties."] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum ETrackedPropertyError { TrackedProp_Success = 0 , TrackedProp_WrongDataType = 1 , TrackedProp_WrongDeviceClass = 2 , TrackedProp_BufferTooSmall = 3 , TrackedProp_UnknownProperty = 4 , TrackedProp_InvalidDevice = 5 , TrackedProp_CouldNotContactServer = 6 , TrackedProp_ValueNotProvidedByDevice = 7 , TrackedProp_StringExceedsMaximumLength = 8 , TrackedProp_NotYetAvailable = 9 , TrackedProp_PermissionDenied = 10 , TrackedProp_InvalidOperation = 11 , TrackedProp_CannotWriteToWildcards = 12 , TrackedProp_IPCReadFailure = 13 , TrackedProp_OutOfMemory = 14 , TrackedProp_InvalidContainer = 15 , } pub type PropertyTypeTag_t = u32 ; # [doc = " An event posted by the server to all running applications"] # [repr (C , align (4))] pub struct VREvent_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 60] } # [repr (u32)] # [doc = " The types of events that could be posted (and what the parameters mean for each event type)"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EVREventType { VREvent_None = 0 , VREvent_TrackedDeviceActivated = 100 , VREvent_TrackedDeviceDeactivated = 101 , VREvent_TrackedDeviceUpdated = 102 , VREvent_TrackedDeviceUserInteractionStarted = 103 , VREvent_TrackedDeviceUserInteractionEnded = 104 , VREvent_IpdChanged = 105 , VREvent_EnterStandbyMode = 106 , VREvent_LeaveStandbyMode = 107 , VREvent_TrackedDeviceRoleChanged = 108 , VREvent_WatchdogWakeUpRequested = 109 , VREvent_LensDistortionChanged = 110 , VREvent_PropertyChanged = 111 , VREvent_WirelessDisconnect = 112 , VREvent_WirelessReconnect = 113 , VREvent_ButtonPress = 200 , VREvent_ButtonUnpress = 201 , VREvent_ButtonTouch = 202 , VREvent_ButtonUntouch = 203 , VREvent_Modal_Cancel = 257 , VREvent_MouseMove = 300 , VREvent_MouseButtonDown = 301 , VREvent_MouseButtonUp = 302 , VREvent_FocusEnter = 303 , VREvent_FocusLeave = 304 , VREvent_ScrollDiscrete = 305 , VREvent_TouchPadMove = 306 , VREvent_OverlayFocusChanged = 307 , VREvent_ReloadOverlays = 308 , VREvent_ScrollSmooth = 309 , VREvent_LockMousePosition = 310 , VREvent_UnlockMousePosition = 311 , VREvent_InputFocusCaptured = 400 , VREvent_InputFocusReleased = 401 , VREvent_SceneApplicationChanged = 404 , VREvent_SceneFocusChanged = 405 , VREvent_InputFocusChanged = 406 , VREvent_SceneApplicationUsingWrongGraphicsAdapter = 408 , VREvent_ActionBindingReloaded = 409 , VREvent_HideRenderModels = 410 , VREvent_ShowRenderModels = 411 , VREvent_SceneApplicationStateChanged = 412 , VREvent_ConsoleOpened = 420 , VREvent_ConsoleClosed = 421 , VREvent_OverlayShown = 500 , VREvent_OverlayHidden = 501 , VREvent_DashboardActivated = 502 , VREvent_DashboardDeactivated = 503 , VREvent_DashboardRequested = 505 , VREvent_ResetDashboard = 506 , VREvent_ImageLoaded = 508 , VREvent_ShowKeyboard = 509 , VREvent_HideKeyboard = 510 , VREvent_OverlayGamepadFocusGained = 511 , VREvent_OverlayGamepadFocusLost = 512 , VREvent_OverlaySharedTextureChanged = 513 , VREvent_ScreenshotTriggered = 516 , VREvent_ImageFailed = 517 , VREvent_DashboardOverlayCreated = 518 , VREvent_SwitchGamepadFocus = 519 , VREvent_RequestScreenshot = 520 , VREvent_ScreenshotTaken = 521 , VREvent_ScreenshotFailed = 522 , VREvent_SubmitScreenshotToDashboard = 523 , VREvent_ScreenshotProgressToDashboard = 524 , VREvent_PrimaryDashboardDeviceChanged = 525 , VREvent_RoomViewShown = 526 , VREvent_RoomViewHidden = 527 , VREvent_ShowUI = 528 , VREvent_ShowDevTools = 529 , VREvent_DesktopViewUpdating = 530 , VREvent_DesktopViewReady = 531 , VREvent_Notification_Shown = 600 , VREvent_Notification_Hidden = 601 , VREvent_Notification_BeginInteraction = 602 , VREvent_Notification_Destroyed = 603 , VREvent_Quit = 700 , VREvent_ProcessQuit = 701 , VREvent_QuitAcknowledged = 703 , VREvent_DriverRequestedQuit = 704 , VREvent_RestartRequested = 705 , VREvent_ChaperoneDataHasChanged = 800 , VREvent_ChaperoneUniverseHasChanged = 801 , VREvent_ChaperoneTempDataHasChanged = 802 , VREvent_ChaperoneSettingsHaveChanged = 803 , VREvent_SeatedZeroPoseReset = 804 , VREvent_ChaperoneFlushCache = 805 , VREvent_ChaperoneRoomSetupStarting = 806 , VREvent_ChaperoneRoomSetupFinished = 807 , VREvent_StandingZeroPoseReset = 808 , VREvent_AudioSettingsHaveChanged = 820 , VREvent_BackgroundSettingHasChanged = 850 , VREvent_CameraSettingsHaveChanged = 851 , VREvent_ReprojectionSettingHasChanged = 852 , VREvent_ModelSkinSettingsHaveChanged = 853 , VREvent_EnvironmentSettingsHaveChanged = 854 , VREvent_PowerSettingsHaveChanged = 855 , VREvent_EnableHomeAppSettingsHaveChanged = 856 , VREvent_SteamVRSectionSettingChanged = 857 , VREvent_LighthouseSectionSettingChanged = 858 , VREvent_NullSectionSettingChanged = 859 , VREvent_UserInterfaceSectionSettingChanged = 860 , VREvent_NotificationsSectionSettingChanged = 861 , VREvent_KeyboardSectionSettingChanged = 862 , VREvent_PerfSectionSettingChanged = 863 , VREvent_DashboardSectionSettingChanged = 864 , VREvent_WebInterfaceSectionSettingChanged = 865 , VREvent_TrackersSectionSettingChanged = 866 , VREvent_LastKnownSectionSettingChanged = 867 , VREvent_DismissedWarningsSectionSettingChanged = 868 , VREvent_GpuSpeedSectionSettingChanged = 869 , VREvent_WindowsMRSectionSettingChanged = 870 , VREvent_OtherSectionSettingChanged = 871 , VREvent_StatusUpdate = 900 , VREvent_WebInterface_InstallDriverCompleted = 950 , VREvent_MCImageUpdated = 1000 , VREvent_FirmwareUpdateStarted = 1100 , VREvent_FirmwareUpdateFinished = 1101 , VREvent_KeyboardClosed = 1200 , VREvent_KeyboardCharInput = 1201 , VREvent_KeyboardDone = 1202 , VREvent_ApplicationListUpdated = 1303 , VREvent_ApplicationMimeTypeLoad = 1304 , VREvent_ProcessConnected = 1306 , VREvent_ProcessDisconnected = 1307 , VREvent_Compositor_ChaperoneBoundsShown = 1410 , VREvent_Compositor_ChaperoneBoundsHidden = 1411 , VREvent_Compositor_DisplayDisconnected = 1412 , VREvent_Compositor_DisplayReconnected = 1413 , VREvent_Compositor_HDCPError = 1414 , VREvent_Compositor_ApplicationNotResponding = 1415 , VREvent_Compositor_ApplicationResumed = 1416 , VREvent_Compositor_OutOfVideoMemory = 1417 , VREvent_Compositor_DisplayModeNotSupported = 1418 , VREvent_Compositor_StageOverrideReady = 1419 , VREvent_TrackedCamera_StartVideoStream = 1500 , VREvent_TrackedCamera_StopVideoStream = 1501 , VREvent_TrackedCamera_PauseVideoStream = 1502 , VREvent_TrackedCamera_ResumeVideoStream = 1503 , VREvent_TrackedCamera_EditingSurface = 1550 , VREvent_PerformanceTest_EnableCapture = 1600 , VREvent_PerformanceTest_DisableCapture = 1601 , VREvent_PerformanceTest_FidelityLevel = 1602 , VREvent_MessageOverlay_Closed = 1650 , VREvent_MessageOverlayCloseRequested = 1651 , VREvent_Input_HapticVibration = 1700 , VREvent_Input_BindingLoadFailed = 1701 , VREvent_Input_BindingLoadSuccessful = 1702 , VREvent_Input_ActionManifestReloaded = 1703 , VREvent_Input_ActionManifestLoadFailed = 1704 , VREvent_Input_ProgressUpdate = 1705 , VREvent_Input_TrackerActivated = 1706 , VREvent_Input_BindingsUpdated = 1707 , VREvent_Input_BindingSubscriptionChanged = 1708 , VREvent_SpatialAnchors_PoseUpdated = 1800 , VREvent_SpatialAnchors_DescriptorUpdated = 1801 , VREvent_SpatialAnchors_RequestPoseUpdate = 1802 , VREvent_SpatialAnchors_RequestDescriptorUpdate = 1803 , VREvent_SystemReport_Started = 1900 , VREvent_Monitor_ShowHeadsetView = 2000 , VREvent_Monitor_HideHeadsetView = 2001 , VREvent_VendorSpecific_Reserved_Start = 10000 , VREvent_VendorSpecific_Reserved_End = 19999 , } # [doc = " The mesh to draw into the stencil (or depth) buffer to perform"] # [doc = " early stencil (or depth) kills of pixels that will never appear on the HMD."] # [doc = " This mesh draws on all the pixels that will be hidden after distortion."] # [doc = ""] # [doc = " If the HMD does not provide a visible area mesh pVertexData will be"] # [doc = " NULL and unTriangleCount will be 0."] # [repr (C , align (8))] pub struct HiddenAreaMesh_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 16] } # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EHiddenAreaMeshType { k_eHiddenAreaMesh_Standard = 0 , k_eHiddenAreaMesh_Inverse = 1 , k_eHiddenAreaMesh_LineLoop = 2 , k_eHiddenAreaMesh_Max = 3 , } # [doc = " Holds all the state of a controller at one moment in time."] pub type VRControllerState_t = root :: vr :: VRControllerState001_t ; # [doc = " Holds all the state of a controller at one moment in time."] # [repr (C , align (4))] pub struct VRControllerState001_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 60] } # [repr (u32)] # [doc = " VR controller button and axis IDs"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EVRButtonId { k_EButton_System = 0 , k_EButton_ApplicationMenu = 1 , k_EButton_Grip = 2 , k_EButton_DPad_Left = 3 , k_EButton_DPad_Up = 4 , k_EButton_DPad_Right = 5 , k_EButton_DPad_Down = 6 , k_EButton_A = 7 , k_EButton_ProximitySensor = 31 , k_EButton_Axis0 = 32 , k_EButton_Axis1 = 33 , k_EButton_Axis2 = 34 , k_EButton_Axis3 = 35 , k_EButton_Axis4 = 36 , k_EButton_Max = 64 , } # [repr (u32)] # [doc = " Identifies what kind of axis is on the controller at index n. Read this type"] # [doc = " with pVRSystem->Get( nControllerDeviceIndex, Prop_Axis0Type_Int32 + n );"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EVRControllerAxisType { k_eControllerAxis_None = 0 , k_eControllerAxis_TrackPad = 1 , k_eControllerAxis_Joystick = 2 , k_eControllerAxis_Trigger = 3 , } # [repr (u32)] # [doc = " error codes for firmware"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EVRFirmwareError { VRFirmwareError_None = 0 , VRFirmwareError_Success = 1 , VRFirmwareError_Fail = 2 , } # [repr (u32)] # [doc = " Overlay control settings"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum VROverlayFlags { VROverlayFlags_NoDashboardTab = 8 , VROverlayFlags_SendVRDiscreteScrollEvents = 64 , VROverlayFlags_SendVRTouchpadEvents = 128 , VROverlayFlags_ShowTouchPadScrollWheel = 256 , VROverlayFlags_TransferOwnershipToInternalProcess = 512 , VROverlayFlags_SideBySide_Parallel = 1024 , VROverlayFlags_SideBySide_Crossed = 2048 , VROverlayFlags_Panorama = 4096 , VROverlayFlags_StereoPanorama = 8192 , VROverlayFlags_SortWithNonSceneOverlays = 16384 , VROverlayFlags_VisibleInDashboard = 32768 , VROverlayFlags_MakeOverlaysInteractiveIfVisible = 65536 , VROverlayFlags_SendVRSmoothScrollEvents = 131072 , VROverlayFlags_ProtectedContent = 262144 , VROverlayFlags_HideLaserIntersection = 524288 , VROverlayFlags_WantsModalBehavior = 1048576 , VROverlayFlags_IsPremultiplied = 2097152 , } # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EColorSpace { ColorSpace_Auto = 0 , ColorSpace_Gamma = 1 , ColorSpace_Linear = 2 , } # [doc = " Allows the application to control what part of the provided texture will be used in the"] # [doc = " frame buffer."] # [repr (C , align (4))] pub struct VRTextureBounds_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 16] } # [repr (i32)] # [doc = " Allows the caller to figure out which overlay transform getter to call."] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum VROverlayTransformType { VROverlayTransform_Invalid = - 1 , VROverlayTransform_Absolute = 0 , VROverlayTransform_TrackedDeviceRelative = 1 , VROverlayTransform_SystemOverlay = 2 , VROverlayTransform_TrackedComponent = 3 , VROverlayTransform_Cursor = 4 , VROverlayTransform_DashboardTab = 5 , VROverlayTransform_DashboardThumb = 6 , VROverlayTransform_Mountable = 7 , VROverlayTransform_Projection = 8 , } # [repr (C , align (4))] pub struct HmdVector2_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 8] } # [doc = " Defines the project used in an overlay that is using SetOverlayTransformProjection"] # [repr (C , align (4))] pub struct VROverlayProjection_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 16] } # [repr (u32)] # [doc = " Types of input supported by VR Overlays"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum VROverlayInputMethod { VROverlayInputMethod_None = 0 , VROverlayInputMethod_Mouse = 1 , } # [repr (C , align (4))] pub struct VROverlayIntersectionParams_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 28] } # [repr (C , align (4))] pub struct VROverlayIntersectionResults_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 36] } # [repr (C , align (4))] pub struct VROverlayIntersectionMaskPrimitive_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 20] } # [repr (C , align (8))] pub struct Texture_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 16] } # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EGamepadTextInputMode { k_EGamepadTextInputModeNormal = 0 , k_EGamepadTextInputModePassword = 1 , k_EGamepadTextInputModeSubmit = 2 , } # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EGamepadTextInputLineMode { k_EGamepadTextInputLineModeSingleLine = 0 , k_EGamepadTextInputLineModeMultipleLines = 1 , } # [repr (C , align (4))] pub struct HmdRect2_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 16] } # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum VRMessageOverlayResponse { VRMessageOverlayResponse_ButtonPress_0 = 0 , VRMessageOverlayResponse_ButtonPress_1 = 1 , VRMessageOverlayResponse_ButtonPress_2 = 2 , VRMessageOverlayResponse_ButtonPress_3 = 3 , VRMessageOverlayResponse_CouldntFindSystemOverlay = 4 , VRMessageOverlayResponse_CouldntFindOrCreateClientOverlay = 5 , VRMessageOverlayResponse_ApplicationQuit = 6 , } impl IVRSystem { # [doc = " Suggested size for the intermediate render target that the distortion pulls from."] pub unsafe fn GetRecommendedRenderTargetSize (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , pnWidth : * mut u32 , pnHeight : * mut u32) { cxxbridge :: GetRecommendedRenderTargetSize_autocxx_wrapper (self , pnWidth , pnHeight) } # [doc = " The projection matrix for the specified eye"] pub unsafe fn GetProjectionMatrix < 'a > (self : :: std :: pin :: Pin < & 'a mut root :: vr :: IVRSystem > , eEye : root :: vr :: EVREye , fNearZ : f32 , fFarZ : f32) -> impl autocxx :: moveit :: new :: New < Output = root :: vr :: HmdMatrix44_t > + 'a { autocxx :: moveit :: new :: by_raw (move | placement_return_type | { let placement_return_type = placement_return_type . get_unchecked_mut () . as_mut_ptr () ; cxxbridge :: GetProjectionMatrix_autocxx_wrapper (self , eEye , fNearZ , fFarZ , placement_return_type) }) } # [doc = " The components necessary to build your own projection matrix in case your"] # [doc = " application is doing something fancy like infinite Z"] pub unsafe fn GetProjectionRaw (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , eEye : root :: vr :: EVREye , pfLeft : * mut f32 , pfRight : * mut f32 , pfTop : * mut f32 , pfBottom : * mut f32) { cxxbridge :: GetProjectionRaw_autocxx_wrapper (self , eEye , pfLeft , pfRight , pfTop , pfBottom) } # [doc = " Gets the result of the distortion function for the specified eye and input UVs. UVs go from 0,0 in"] # [doc = " the upper left of that eye's viewport and 1,1 in the lower right of that eye's viewport."] # [doc = " Returns true for success. Otherwise, returns false, and distortion coordinates are not suitable."] pub unsafe fn ComputeDistortion (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , eEye : root :: vr :: EVREye , fU : f32 , fV : f32 , pDistortionCoordinates : * mut root :: vr :: DistortionCoordinates_t) -> bool { cxxbridge :: ComputeDistortion_autocxx_wrapper (self , eEye , fU , fV , pDistortionCoordinates) } # [doc = " Returns the transform from eye space to the head space. Eye space is the per-eye flavor of head"] # [doc = " space that provides stereo disparity. Instead of Model * View * Projection the sequence is Model * View * Eye^-1 * Projection."] # [doc = " Normally View and Eye^-1 will be multiplied together and treated as View in your application."] pub unsafe fn GetEyeToHeadTransform < 'a > (self : :: std :: pin :: Pin < & 'a mut root :: vr :: IVRSystem > , eEye : root :: vr :: EVREye) -> impl autocxx :: moveit :: new :: New < Output = root :: vr :: HmdMatrix34_t > + 'a { autocxx :: moveit :: new :: by_raw (move | placement_return_type | { let placement_return_type = placement_return_type . get_unchecked_mut () . as_mut_ptr () ; cxxbridge :: GetEyeToHeadTransform_autocxx_wrapper (self , eEye , placement_return_type) }) } # [doc = " Returns the number of elapsed seconds since the last recorded vsync event. This"] # [doc = "\twill come from a vsync timer event in the timer if possible or from the application-reported"] # [doc = "   time if that is not available. If no vsync times are available the function will"] # [doc = "   return zero for vsync time and frame counter and return false from the method."] pub unsafe fn GetTimeSinceLastVsync (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , pfSecondsSinceLastVsync : * mut f32 , pulFrameCounter : * mut u64) -> bool { cxxbridge :: GetTimeSinceLastVsync_autocxx_wrapper (self , pfSecondsSinceLastVsync , pulFrameCounter) } # [doc = " [D3D9 Only]"] # [doc = " Returns the adapter index that the user should pass into CreateDevice to set up D3D9 in such"] # [doc = " a way that it can go full screen exclusive on the HMD. Returns -1 if there was an error."] pub unsafe fn GetD3D9AdapterIndex (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem >) -> i32 { cxxbridge :: GetD3D9AdapterIndex_autocxx_wrapper (self) } # [doc = " [D3D10/11 Only]"] # [doc = " Returns the adapter index that the user should pass into EnumAdapters to create the device"] # [doc = " and swap chain in DX10 and DX11. If an error occurs the index will be set to -1."] pub unsafe fn GetDXGIOutputInfo (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , pnAdapterIndex : * mut i32) { cxxbridge :: GetDXGIOutputInfo_autocxx_wrapper (self , pnAdapterIndex) } `# [doc = " Returns platform- and texture-type specific adapter identification so that applications and the"] # [doc = " compositor are creating textures and swap chains on the same GPU. If an error occurs the device"] # [doc = " will be set to 0."] # [doc = " pInstance is an optional parameter that is required only when textureType is TextureType_Vulkan."] # [doc = " [D3D10/11/12 Only (D3D9 Not Supported)]"] # [doc = "  Returns the adapter LUID that identifies the GPU attached to the HMD. The user should"] # [doc = "  enumerate all adapters using IDXGIFactory::EnumAdapters and IDXGIAdapter::GetDesc to find"] # [doc = "  the adapter with the matching LUID, or use IDXGIFactory4::EnumAdapterByLuid."] # [doc = "  The discovered IDXGIAdapter should be used to create the device and swap chain."] # [doc = " [Vulkan Only]"] # [doc = "  Returns the VkPhysicalDevice that should be used by the application."] # [doc = "  pInstance must be the instance the application will use to query for the VkPhysicalDevice.  The application"] # [doc = "  must create the VkInstance with extensions returned by IVRCompositor::GetVulkanInstanceExtensionsRequired enabled."] # [doc = " [macOS Only]"] # [doc = "  For TextureType_IOSurface returns the id<MTLDevice> that should be used by the application."] # [doc = "  On 10.13+ for TextureType_OpenGL returns the 'registryId' of the renderer which should be used"] # [doc = "   by the application. See Apple Technical Q&A QA1168 for information on enumerating GL Renderers, and the"] # [doc = "   new kCGLRPRegistryIDLow and kCGLRPRegistryIDHigh CGLRendererProperty values in the 10.13 SDK."] # [doc = "  Pre 10.13 for TextureType_OpenGL returns 0, as there is no dependable way to correlate the HMDs MTLDevice"] # [doc = "   with a GL Renderer."]` pub unsafe fn GetOutputDevice (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , pnDevice : * mut u64 , textureType : root :: vr :: ETextureType , pInstance : * mut root :: VkInstance_T) { cxxbridge :: GetOutputDevice_autocxx_wrapper (self , pnDevice , textureType , pInstance) } # [doc = " Use to determine if the headset display is part of the desktop (i.e. extended) or hidden (i.e. direct mode)."] pub unsafe fn IsDisplayOnDesktop (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem >) -> bool { cxxbridge :: IsDisplayOnDesktop_autocxx_wrapper (self) } # [doc = " Set the display visibility (true = extended, false = direct mode).  Return value of true indicates that the change was successful."] pub unsafe fn SetDisplayVisibility (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , bIsVisibleOnDesktop : bool) -> bool { cxxbridge :: SetDisplayVisibility_autocxx_wrapper (self , bIsVisibleOnDesktop) } # [doc = " The pose that the tracker thinks that the HMD will be in at the specified number of seconds into the"] # [doc = " future. Pass 0 to get the state at the instant the method is called. Most of the time the application should"] # [doc = " calculate the time until the photons will be emitted from the display and pass that time into the method."] # [doc = ""] # [doc = " This is roughly analogous to the inverse of the view matrix in most applications, though"] # [doc = " many games will need to do some additional rotation or translation on top of the rotation"] # [doc = " and translation provided by the head pose."] # [doc = ""] # [doc = " For devices where bPoseIsValid is true the application can use the pose to position the device"] # [doc = " in question. The provided array can be any size up to k_unMaxTrackedDeviceCount."] # [doc = ""] # [doc = " Seated experiences should call this method with TrackingUniverseSeated and receive poses relative"] # [doc = " to the seated zero pose. Standing experiences should call this method with TrackingUniverseStanding"] # [doc = " and receive poses relative to the Chaperone Play Area. TrackingUniverseRawAndUncalibrated should"] # [doc = " probably not be used unless the application is the Chaperone calibration tool itself, but will provide"] # [doc = " poses relative to the hardware-specific coordinate system in the driver."] pub unsafe fn GetDeviceToAbsoluteTrackingPose (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , eOrigin : root :: vr :: ETrackingUniverseOrigin , fPredictedSecondsToPhotonsFromNow : f32 , pTrackedDevicePoseArray : * mut root :: vr :: TrackedDevicePose_t , unTrackedDevicePoseArrayCount : u32) { cxxbridge :: GetDeviceToAbsoluteTrackingPose_autocxx_wrapper (self , eOrigin , fPredictedSecondsToPhotonsFromNow , pTrackedDevicePoseArray , unTrackedDevicePoseArrayCount) } # [doc = " Returns the transform from the seated zero pose to the standing absolute tracking system. This allows"] # [doc = " applications to represent the seated origin to used or transform object positions from one coordinate"] # [doc = " system to the other."] # [doc = ""] # [doc = " The seated origin may or may not be inside the Play Area or Collision Bounds returned by IVRChaperone. Its position"] # [doc = " depends on what the user has set from the Dashboard settings and previous calls to ResetSeatedZeroPose."] pub unsafe fn GetSeatedZeroPoseToStandingAbsoluteTrackingPose < 'a > (self : :: std :: pin :: Pin < & 'a mut root :: vr :: IVRSystem >) -> impl autocxx :: moveit :: new :: New < Output = root :: vr :: HmdMatrix34_t > + 'a { autocxx :: moveit :: new :: by_raw (move | placement_return_type | { let placement_return_type = placement_return_type . get_unchecked_mut () . as_mut_ptr () ; cxxbridge :: GetSeatedZeroPoseToStandingAbsoluteTrackingPose_autocxx_wrapper (self , placement_return_type) }) } # [doc = " Returns the transform from the tracking origin to the standing absolute tracking system. This allows"] # [doc = " applications to convert from raw tracking space to the calibrated standing coordinate system."] pub unsafe fn GetRawZeroPoseToStandingAbsoluteTrackingPose < 'a > (self : :: std :: pin :: Pin < & 'a mut root :: vr :: IVRSystem >) -> impl autocxx :: moveit :: new :: New < Output = root :: vr :: HmdMatrix34_t > + 'a { autocxx :: moveit :: new :: by_raw (move | placement_return_type | { let placement_return_type = placement_return_type . get_unchecked_mut () . as_mut_ptr () ; cxxbridge :: GetRawZeroPoseToStandingAbsoluteTrackingPose_autocxx_wrapper (self , placement_return_type) }) } # [doc = " Get a sorted array of device indices of a given class of tracked devices (e.g. controllers).  Devices are sorted right to left"] # [doc = " relative to the specified tracked device (default: hmd -- pass in -1 for absolute tracking space).  Returns the number of devices"] # [doc = " in the list, or the size of the array needed if not large enough."] pub unsafe fn GetSortedTrackedDeviceIndicesOfClass (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , eTrackedDeviceClass : root :: vr :: ETrackedDeviceClass , punTrackedDeviceIndexArray : * mut u32 , unTrackedDeviceIndexArrayCount : u32 , unRelativeToTrackedDeviceIndex : u32) -> u32 { cxxbridge :: GetSortedTrackedDeviceIndicesOfClass_autocxx_wrapper (self , eTrackedDeviceClass , punTrackedDeviceIndexArray , unTrackedDeviceIndexArrayCount , unRelativeToTrackedDeviceIndex) } # [doc = " Returns the level of activity on the device."] pub unsafe fn GetTrackedDeviceActivityLevel (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceId : u32) -> root :: vr :: EDeviceActivityLevel { cxxbridge :: GetTrackedDeviceActivityLevel_autocxx_wrapper (self , unDeviceId) } # [doc = " Convenience utility to apply the specified transform to the specified pose."] # [doc = "   This properly transforms all pose components, including velocity and angular velocity"] pub unsafe fn ApplyTransform (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , pOutputPose : * mut root :: vr :: TrackedDevicePose_t , pTrackedDevicePose : * const root :: vr :: TrackedDevicePose_t , pTransform : * const root :: vr :: HmdMatrix34_t) { cxxbridge :: ApplyTransform_autocxx_wrapper (self , pOutputPose , pTrackedDevicePose , pTransform) } # [doc = " Returns the device index associated with a specific role, for example the left hand or the right hand. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetTrackedDeviceIndexForControllerRole (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceType : root :: vr :: ETrackedControllerRole) -> u32 { cxxbridge :: GetTrackedDeviceIndexForControllerRole_autocxx_wrapper (self , unDeviceType) } # [doc = " Returns the controller type associated with a device index. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetControllerRoleForTrackedDeviceIndex (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceIndex : u32) -> root :: vr :: ETrackedControllerRole { cxxbridge :: GetControllerRoleForTrackedDeviceIndex_autocxx_wrapper (self , unDeviceIndex) } # [doc = " Returns the device class of a tracked device. If there has not been a device connected in this slot"] # [doc = " since the application started this function will return TrackedDevice_Invalid. For previous detected"] # [doc = " devices the function will return the previously observed device class."] # [doc = ""] # [doc = " To determine which devices exist on the system, just loop from 0 to k_unMaxTrackedDeviceCount and check"] # [doc = " the device class. Every device with something other than TrackedDevice_Invalid is associated with an"] # [doc = " actual tracked device."] pub unsafe fn GetTrackedDeviceClass (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceIndex : u32) -> root :: vr :: ETrackedDeviceClass { cxxbridge :: GetTrackedDeviceClass_autocxx_wrapper (self , unDeviceIndex) } # [doc = " Returns true if there is a device connected in this slot."] pub unsafe fn IsTrackedDeviceConnected (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceIndex : u32) -> bool { cxxbridge :: IsTrackedDeviceConnected_autocxx_wrapper (self , unDeviceIndex) } # [doc = " Returns a bool property. If the device index is not valid or the property is not a bool type this function will return false."] pub unsafe fn GetBoolTrackedDeviceProperty (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceIndex : u32 , prop : root :: vr :: ETrackedDeviceProperty , pError : * mut root :: vr :: ETrackedPropertyError) -> bool { cxxbridge :: GetBoolTrackedDeviceProperty_autocxx_wrapper (self , unDeviceIndex , prop , pError) } # [doc = " Returns a float property. If the device index is not valid or the property is not a float type this function will return 0."] pub unsafe fn GetFloatTrackedDeviceProperty (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceIndex : u32 , prop : root :: vr :: ETrackedDeviceProperty , pError : * mut root :: vr :: ETrackedPropertyError) -> f32 { cxxbridge :: GetFloatTrackedDeviceProperty_autocxx_wrapper (self , unDeviceIndex , prop , pError) } # [doc = " Returns an int property. If the device index is not valid or the property is not a int type this function will return 0."] pub unsafe fn GetInt32TrackedDeviceProperty (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceIndex : u32 , prop : root :: vr :: ETrackedDeviceProperty , pError : * mut root :: vr :: ETrackedPropertyError) -> i32 { cxxbridge :: GetInt32TrackedDeviceProperty_autocxx_wrapper (self , unDeviceIndex , prop , pError) } # [doc = " Returns a uint64 property. If the device index is not valid or the property is not a uint64 type this function will return 0."] pub unsafe fn GetUint64TrackedDeviceProperty (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceIndex : u32 , prop : root :: vr :: ETrackedDeviceProperty , pError : * mut root :: vr :: ETrackedPropertyError) -> u64 { cxxbridge :: GetUint64TrackedDeviceProperty_autocxx_wrapper (self , unDeviceIndex , prop , pError) } # [doc = " Returns a matrix property. If the device index is not valid or the property is not a matrix type, this function will return identity."] pub unsafe fn GetMatrix34TrackedDeviceProperty < 'a > (self : :: std :: pin :: Pin < & 'a mut root :: vr :: IVRSystem > , unDeviceIndex : u32 , prop : root :: vr :: ETrackedDeviceProperty , pError : * mut root :: vr :: ETrackedPropertyError) -> impl autocxx :: moveit :: new :: New < Output = root :: vr :: HmdMatrix34_t > + 'a { autocxx :: moveit :: new :: by_raw (move | placement_return_type | { let placement_return_type = placement_return_type . get_unchecked_mut () . as_mut_ptr () ; cxxbridge :: GetMatrix34TrackedDeviceProperty_autocxx_wrapper (self , unDeviceIndex , prop , pError , placement_return_type) }) } # [doc = " Returns an array of one type of property. If the device index is not valid or the property is not a single value or an array of the specified type,"] # [doc = " this function will return 0. Otherwise it returns the number of bytes necessary to hold the array of properties. If unBufferSize is"] # [doc = " greater than the returned size and pBuffer is non-NULL, pBuffer is filled with the contents of array of properties."] pub unsafe fn GetArrayTrackedDeviceProperty (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceIndex : u32 , prop : root :: vr :: ETrackedDeviceProperty , propType : u32 , pBuffer : * mut autocxx :: c_void , unBufferSize : u32 , pError : * mut root :: vr :: ETrackedPropertyError) -> u32 { cxxbridge :: GetArrayTrackedDeviceProperty_autocxx_wrapper (self , unDeviceIndex , prop , propType , pBuffer , unBufferSize , pError) } # [doc = " Returns a string property. If the device index is not valid or the property is not a string type this function will"] # [doc = " return 0. Otherwise it returns the length of the number of bytes necessary to hold this string including the trailing"] # [doc = " null. Strings will always fit in buffers of k_unMaxPropertyStringSize characters."] pub unsafe fn GetStringTrackedDeviceProperty (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceIndex : u32 , prop : root :: vr :: ETrackedDeviceProperty , pchValue : * mut :: std :: os :: raw :: c_char , unBufferSize : u32 , pError : * mut root :: vr :: ETrackedPropertyError) -> u32 { cxxbridge :: GetStringTrackedDeviceProperty_autocxx_wrapper (self , unDeviceIndex , prop , pchValue , unBufferSize , pError) } # [doc = " returns a string that corresponds with the specified property error. The string will be the name"] # [doc = " of the error enum value for all valid error codes"] pub unsafe fn GetPropErrorNameFromEnum (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , error : root :: vr :: ETrackedPropertyError) -> * const :: std :: os :: raw :: c_char { cxxbridge :: GetPropErrorNameFromEnum_autocxx_wrapper (self , error) } # [doc = " Returns true and fills the event with the next event on the queue if there is one. If there are no events"] # [doc = " this method returns false. uncbVREvent should be the size in bytes of the VREvent_t struct"] pub unsafe fn PollNextEvent (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , pEvent : * mut root :: vr :: VREvent_t , uncbVREvent : u32) -> bool { cxxbridge :: PollNextEvent_autocxx_wrapper (self , pEvent , uncbVREvent) } # [doc = " Returns true and fills the event with the next event on the queue if there is one. If there are no events"] # [doc = " this method returns false. Fills in the pose of the associated tracked device in the provided pose struct."] # [doc = " This pose will always be older than the call to this function and should not be used to render the device."] # [doc = "uncbVREvent should be the size in bytes of the VREvent_t struct"] pub unsafe fn PollNextEventWithPose (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , eOrigin : root :: vr :: ETrackingUniverseOrigin , pEvent : * mut root :: vr :: VREvent_t , uncbVREvent : u32 , pTrackedDevicePose : * mut root :: vr :: TrackedDevicePose_t) -> bool { cxxbridge :: PollNextEventWithPose_autocxx_wrapper (self , eOrigin , pEvent , uncbVREvent , pTrackedDevicePose) } # [doc = " returns the name of an EVREvent enum value"] pub unsafe fn GetEventTypeNameFromEnum (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , eType : root :: vr :: EVREventType) -> * const :: std :: os :: raw :: c_char { cxxbridge :: GetEventTypeNameFromEnum_autocxx_wrapper (self , eType) } # [doc = " Returns the hidden area mesh for the current HMD. The pixels covered by this mesh will never be seen by the user after the lens distortion is"] # [doc = " applied based on visibility to the panels. If this HMD does not have a hidden area mesh, the vertex data and count will be NULL and 0 respectively."] # [doc = " This mesh is meant to be rendered into the stencil buffer (or into the depth buffer setting nearz) before rendering each eye's view."] # [doc = " This will improve performance by letting the GPU early-reject pixels the user will never see before running the pixel shader."] # [doc = " NOTE: Render this mesh with backface culling disabled since the winding order of the vertices can be different per-HMD or per-eye."] # [doc = " Setting the bInverse argument to true will produce the visible area mesh that is commonly used in place of full-screen quads. The visible area mesh covers all of the pixels the hidden area mesh does not cover."] # [doc = " Setting the bLineLoop argument will return a line loop of vertices in HiddenAreaMesh_t->pVertexData with HiddenAreaMesh_t->unTriangleCount set to the number of vertices."] pub unsafe fn GetHiddenAreaMesh < 'a > (self : :: std :: pin :: Pin < & 'a mut root :: vr :: IVRSystem > , eEye : root :: vr :: EVREye , type_ : root :: vr :: EHiddenAreaMeshType) -> impl autocxx :: moveit :: new :: New < Output = root :: vr :: HiddenAreaMesh_t > + 'a { autocxx :: moveit :: new :: by_raw (move | placement_return_type | { let placement_return_type = placement_return_type . get_unchecked_mut () . as_mut_ptr () ; cxxbridge :: GetHiddenAreaMesh_autocxx_wrapper (self , eEye , type_ , placement_return_type) }) } # [doc = " Fills the supplied struct with the current state of the controller. Returns false if the controller index"] # [doc = " is invalid. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetControllerState (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unControllerDeviceIndex : u32 , pControllerState : * mut root :: vr :: VRControllerState001_t , unControllerStateSize : u32) -> bool { cxxbridge :: GetControllerState_autocxx_wrapper (self , unControllerDeviceIndex , pControllerState , unControllerStateSize) } # [doc = " fills the supplied struct with the current state of the controller and the provided pose with the pose of"] # [doc = " the controller when the controller state was updated most recently. Use this form if you need a precise controller"] # [doc = " pose as input to your application when the user presses or releases a button. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetControllerStateWithPose (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , eOrigin : root :: vr :: ETrackingUniverseOrigin , unControllerDeviceIndex : u32 , pControllerState : * mut root :: vr :: VRControllerState001_t , unControllerStateSize : u32 , pTrackedDevicePose : * mut root :: vr :: TrackedDevicePose_t) -> bool { cxxbridge :: GetControllerStateWithPose_autocxx_wrapper (self , eOrigin , unControllerDeviceIndex , pControllerState , unControllerStateSize , pTrackedDevicePose) } # [doc = " Trigger a single haptic pulse on a controller. After this call the application may not trigger another haptic pulse on this controller"] # [doc = " and axis combination for 5ms. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn TriggerHapticPulse (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unControllerDeviceIndex : u32 , unAxisId : u32 , usDurationMicroSec : autocxx :: c_ushort) { cxxbridge :: TriggerHapticPulse_autocxx_wrapper (self , unControllerDeviceIndex , unAxisId , usDurationMicroSec) } # [doc = " returns the name of an EVRButtonId enum value. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetButtonIdNameFromEnum (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , eButtonId : root :: vr :: EVRButtonId) -> * const :: std :: os :: raw :: c_char { cxxbridge :: GetButtonIdNameFromEnum_autocxx_wrapper (self , eButtonId) } # [doc = " returns the name of an EVRControllerAxisType enum value. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetControllerAxisTypeNameFromEnum (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , eAxisType : root :: vr :: EVRControllerAxisType) -> * const :: std :: os :: raw :: c_char { cxxbridge :: GetControllerAxisTypeNameFromEnum_autocxx_wrapper (self , eAxisType) } # [doc = " Returns true if this application is receiving input from the system. This would return false if"] # [doc = " system-related functionality is consuming the input stream."] pub unsafe fn IsInputAvailable (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem >) -> bool { cxxbridge :: IsInputAvailable_autocxx_wrapper (self) } # [doc = " Returns true SteamVR is drawing controllers on top of the application. Applications should consider"] # [doc = " not drawing anything attached to the user's hands in this case."] pub unsafe fn IsSteamVRDrawingControllers (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem >) -> bool { cxxbridge :: IsSteamVRDrawingControllers_autocxx_wrapper (self) } # [doc = " Returns true if the user has put SteamVR into a mode that is distracting them from the application."] # [doc = " For applications where this is appropriate, the application should pause ongoing activity."] pub unsafe fn ShouldApplicationPause (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem >) -> bool { cxxbridge :: ShouldApplicationPause_autocxx_wrapper (self) } # [doc = " Returns true if SteamVR is doing significant rendering work and the game should do what it can to reduce"] # [doc = " its own workload. One common way to do this is to reduce the size of the render target provided for each eye."] pub unsafe fn ShouldApplicationReduceRenderingWork (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem >) -> bool { cxxbridge :: ShouldApplicationReduceRenderingWork_autocxx_wrapper (self) } # [doc = " Performs the actual firmware update if applicable."] # [doc = " The following events will be sent, if VRFirmwareError_None was returned: VREvent_FirmwareUpdateStarted, VREvent_FirmwareUpdateFinished"] # [doc = " Use the properties Prop_Firmware_UpdateAvailable_Bool, Prop_Firmware_ManualUpdate_Bool, and Prop_Firmware_ManualUpdateURL_String"] # [doc = " to figure our whether a firmware update is available, and to figure out whether its a manual update"] # [doc = " Prop_Firmware_ManualUpdateURL_String should point to an URL describing the manual update process"] pub unsafe fn PerformFirmwareUpdate (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceIndex : u32) -> root :: vr :: EVRFirmwareError { cxxbridge :: PerformFirmwareUpdate_autocxx_wrapper (self , unDeviceIndex) } # [doc = " Call this to acknowledge to the system that VREvent_Quit has been received and that the process is exiting."] # [doc = " This extends the timeout until the process is killed."] pub unsafe fn AcknowledgeQuit_Exiting (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem >) { cxxbridge :: AcknowledgeQuit_Exiting_autocxx_wrapper (self) } # [doc = " Retrieves a null-terminated, semicolon-delimited list of UTF8 file paths that an application"] # [doc = " must have read access to when running inside of an app container. Returns the number of bytes"] # [doc = " needed to hold the list."] pub unsafe fn GetAppContainerFilePaths (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , pchBuffer : * mut :: std :: os :: raw :: c_char , unBufferSize : u32) -> u32 { cxxbridge :: GetAppContainerFilePaths_autocxx_wrapper (self , pchBuffer , unBufferSize) } # [doc = " Returns the current version of the SteamVR runtime. The returned string will remain valid until VR_Shutdown is called."] # [doc = ""] # [doc = " NOTE: Is it not appropriate to use this version to test for the presence of any SteamVR feature. Only use this version"] # [doc = " number for logging or showing to a user, and not to try to detect anything at runtime. When appropriate, feature-specific"] # [doc = " presence information is provided by other APIs."] pub unsafe fn GetRuntimeVersion (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem >) -> * const :: std :: os :: raw :: c_char { cxxbridge :: GetRuntimeVersion_autocxx_wrapper (self) } } impl IVROverlay { # [doc = " Finds an existing overlay with the specified key."] pub unsafe fn FindOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , pchOverlayKey : * const :: std :: os :: raw :: c_char , pOverlayHandle : * mut u64) -> root :: vr :: EVROverlayError { cxxbridge :: FindOverlay_autocxx_wrapper (self , pchOverlayKey , pOverlayHandle) } # [doc = " Creates a new named overlay. All overlays start hidden and with default settings."] pub unsafe fn CreateOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , pchOverlayKey : * const :: std :: os :: raw :: c_char , pchOverlayName : * const :: std :: os :: raw :: c_char , pOverlayHandle : * mut u64) -> root :: vr :: EVROverlayError { cxxbridge :: CreateOverlay_autocxx_wrapper (self , pchOverlayKey , pchOverlayName , pOverlayHandle) } # [doc = " Destroys the specified overlay. When an application calls VR_Shutdown all overlays created by that app are"] # [doc = " automatically destroyed."] pub unsafe fn DestroyOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64) -> root :: vr :: EVROverlayError { cxxbridge :: DestroyOverlay_autocxx_wrapper (self , ulOverlayHandle) } # [doc = " Fills the provided buffer with the string key of the overlay. Returns the size of buffer required to store the key, including"] # [doc = " the terminating null character. k_unVROverlayMaxKeyLength will be enough bytes to fit the string."] pub unsafe fn GetOverlayKey (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pchValue : * mut :: std :: os :: raw :: c_char , unBufferSize : u32 , pError : * mut root :: vr :: EVROverlayError) -> u32 { cxxbridge :: GetOverlayKey_autocxx_wrapper (self , ulOverlayHandle , pchValue , unBufferSize , pError) } # [doc = " Fills the provided buffer with the friendly name of the overlay. Returns the size of buffer required to store the key, including"] # [doc = " the terminating null character. k_unVROverlayMaxNameLength will be enough bytes to fit the string."] pub unsafe fn GetOverlayName (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pchValue : * mut :: std :: os :: raw :: c_char , unBufferSize : u32 , pError : * mut root :: vr :: EVROverlayError) -> u32 { cxxbridge :: GetOverlayName_autocxx_wrapper (self , ulOverlayHandle , pchValue , unBufferSize , pError) } # [doc = " set the name to use for this overlay"] pub unsafe fn SetOverlayName (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pchName : * const :: std :: os :: raw :: c_char) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayName_autocxx_wrapper (self , ulOverlayHandle , pchName) } # [doc = " Gets the raw image data from an overlay. Overlay image data is always returned as RGBA data, 4 bytes per pixel. If the buffer is not large enough, width and height"] # [doc = " will be set and VROverlayError_ArrayTooSmall is returned."] pub unsafe fn GetOverlayImageData (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pvBuffer : * mut autocxx :: c_void , unBufferSize : u32 , punWidth : * mut u32 , punHeight : * mut u32) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayImageData_autocxx_wrapper (self , ulOverlayHandle , pvBuffer , unBufferSize , punWidth , punHeight) } # [doc = " returns a string that corresponds with the specified overlay error. The string will be the name"] # [doc = " of the error enum value for all valid error codes"] pub unsafe fn GetOverlayErrorNameFromEnum (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , error : root :: vr :: EVROverlayError) -> * const :: std :: os :: raw :: c_char { cxxbridge :: GetOverlayErrorNameFromEnum_autocxx_wrapper (self , error) } # [doc = " Sets the pid that is allowed to render to this overlay (the creator pid is always allow to render),"] # [doc = "\tby default this is the pid of the process that made the overlay"] pub unsafe fn SetOverlayRenderingPid (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , unPID : u32) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayRenderingPid_autocxx_wrapper (self , ulOverlayHandle , unPID) } # [doc = " Gets the pid that is allowed to render to this overlay"] pub unsafe fn GetOverlayRenderingPid (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64) -> u32 { cxxbridge :: GetOverlayRenderingPid_autocxx_wrapper (self , ulOverlayHandle) } # [doc = " Specify flag setting for a given overlay"] pub unsafe fn SetOverlayFlag (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , eOverlayFlag : root :: vr :: VROverlayFlags , bEnabled : bool) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayFlag_autocxx_wrapper (self , ulOverlayHandle , eOverlayFlag , bEnabled) } # [doc = " Sets flag setting for a given overlay"] pub unsafe fn GetOverlayFlag (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , eOverlayFlag : root :: vr :: VROverlayFlags , pbEnabled : * mut bool) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayFlag_autocxx_wrapper (self , ulOverlayHandle , eOverlayFlag , pbEnabled) } # [doc = " Gets all the flags for a given overlay"] pub unsafe fn GetOverlayFlags (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pFlags : * mut u32) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayFlags_autocxx_wrapper (self , ulOverlayHandle , pFlags) } # [doc = " Sets the color tint of the overlay quad. Use 0.0 to 1.0 per channel."] pub unsafe fn SetOverlayColor (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , fRed : f32 , fGreen : f32 , fBlue : f32) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayColor_autocxx_wrapper (self , ulOverlayHandle , fRed , fGreen , fBlue) } # [doc = " Gets the color tint of the overlay quad."] pub unsafe fn GetOverlayColor (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pfRed : * mut f32 , pfGreen : * mut f32 , pfBlue : * mut f32) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayColor_autocxx_wrapper (self , ulOverlayHandle , pfRed , pfGreen , pfBlue) } # [doc = " Sets the alpha of the overlay quad. Use 1.0 for 100 percent opacity to 0.0 for 0 percent opacity."] pub unsafe fn SetOverlayAlpha (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , fAlpha : f32) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayAlpha_autocxx_wrapper (self , ulOverlayHandle , fAlpha) } # [doc = " Gets the alpha of the overlay quad. By default overlays are rendering at 100 percent alpha (1.0)."] pub unsafe fn GetOverlayAlpha (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pfAlpha : * mut f32) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayAlpha_autocxx_wrapper (self , ulOverlayHandle , pfAlpha) } # [doc = " Sets the aspect ratio of the texels in the overlay. 1.0 means the texels are square. 2.0 means the texels"] # [doc = " are twice as wide as they are tall. Defaults to 1.0."] pub unsafe fn SetOverlayTexelAspect (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , fTexelAspect : f32) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayTexelAspect_autocxx_wrapper (self , ulOverlayHandle , fTexelAspect) } # [doc = " Gets the aspect ratio of the texels in the overlay. Defaults to 1.0"] pub unsafe fn GetOverlayTexelAspect (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pfTexelAspect : * mut f32) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayTexelAspect_autocxx_wrapper (self , ulOverlayHandle , pfTexelAspect) } # [doc = " Sets the rendering sort order for the overlay. Overlays are rendered this order:"] # [doc = "      Overlays owned by the scene application"] # [doc = "      Overlays owned by some other application"] # [doc = ""] # [doc = "\tWithin a category overlays are rendered lowest sort order to highest sort order. Overlays with the same"] # [doc = "\tsort order are rendered back to front base on distance from the HMD."] # [doc = ""] # [doc = "\tSort order defaults to 0."] pub unsafe fn SetOverlaySortOrder (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , unSortOrder : u32) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlaySortOrder_autocxx_wrapper (self , ulOverlayHandle , unSortOrder) } # [doc = " Gets the sort order of the overlay. See SetOverlaySortOrder for how this works."] pub unsafe fn GetOverlaySortOrder (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , punSortOrder : * mut u32) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlaySortOrder_autocxx_wrapper (self , ulOverlayHandle , punSortOrder) } # [doc = " Sets the width of the overlay quad in meters. By default overlays are rendered on a quad that is 1 meter across"] pub unsafe fn SetOverlayWidthInMeters (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , fWidthInMeters : f32) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayWidthInMeters_autocxx_wrapper (self , ulOverlayHandle , fWidthInMeters) } # [doc = " Returns the width of the overlay quad in meters. By default overlays are rendered on a quad that is 1 meter across"] pub unsafe fn GetOverlayWidthInMeters (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pfWidthInMeters : * mut f32) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayWidthInMeters_autocxx_wrapper (self , ulOverlayHandle , pfWidthInMeters) } # [doc = " Use to draw overlay as a curved surface. Curvature is a percentage from (0..1] where 1 is a fully closed cylinder."] # [doc = " For a specific radius, curvature can be computed as: overlay.width / (2 PI r)."] pub unsafe fn SetOverlayCurvature (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , fCurvature : f32) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayCurvature_autocxx_wrapper (self , ulOverlayHandle , fCurvature) } # [doc = " Returns the curvature of the overlay as a percentage from (0..1] where 1 is a fully closed cylinder."] pub unsafe fn GetOverlayCurvature (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pfCurvature : * mut f32) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayCurvature_autocxx_wrapper (self , ulOverlayHandle , pfCurvature) } # [doc = " Sets the colorspace the overlay texture's data is in.  Defaults to 'auto'."] # [doc = " If the texture needs to be resolved, you should call SetOverlayTexture with the appropriate colorspace instead."] pub unsafe fn SetOverlayTextureColorSpace (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , eTextureColorSpace : root :: vr :: EColorSpace) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayTextureColorSpace_autocxx_wrapper (self , ulOverlayHandle , eTextureColorSpace) } # [doc = " Gets the overlay's current colorspace setting."] pub unsafe fn GetOverlayTextureColorSpace (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , peTextureColorSpace : * mut root :: vr :: EColorSpace) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayTextureColorSpace_autocxx_wrapper (self , ulOverlayHandle , peTextureColorSpace) } # [doc = " Sets the part of the texture to use for the overlay. UV Min is the upper left corner and UV Max is the lower right corner."] pub unsafe fn SetOverlayTextureBounds (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pOverlayTextureBounds : * const root :: vr :: VRTextureBounds_t) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayTextureBounds_autocxx_wrapper (self , ulOverlayHandle , pOverlayTextureBounds) } # [doc = " Gets the part of the texture to use for the overlay. UV Min is the upper left corner and UV Max is the lower right corner."] pub unsafe fn GetOverlayTextureBounds (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pOverlayTextureBounds : * mut root :: vr :: VRTextureBounds_t) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayTextureBounds_autocxx_wrapper (self , ulOverlayHandle , pOverlayTextureBounds) } # [doc = " Returns the transform type of this overlay."] pub unsafe fn GetOverlayTransformType (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , peTransformType : * mut root :: vr :: VROverlayTransformType) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayTransformType_autocxx_wrapper (self , ulOverlayHandle , peTransformType) } # [doc = " Sets the transform to absolute tracking origin."] pub unsafe fn SetOverlayTransformAbsolute (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , eTrackingOrigin : root :: vr :: ETrackingUniverseOrigin , pmatTrackingOriginToOverlayTransform : * const root :: vr :: HmdMatrix34_t) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayTransformAbsolute_autocxx_wrapper (self , ulOverlayHandle , eTrackingOrigin , pmatTrackingOriginToOverlayTransform) } # [doc = " Gets the transform if it is absolute. Returns an error if the transform is some other type."] pub unsafe fn GetOverlayTransformAbsolute (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , peTrackingOrigin : * mut root :: vr :: ETrackingUniverseOrigin , pmatTrackingOriginToOverlayTransform : * mut root :: vr :: HmdMatrix34_t) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayTransformAbsolute_autocxx_wrapper (self , ulOverlayHandle , peTrackingOrigin , pmatTrackingOriginToOverlayTransform) } # [doc = " Sets the transform to relative to the transform of the specified tracked device."] pub unsafe fn SetOverlayTransformTrackedDeviceRelative (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , unTrackedDevice : u32 , pmatTrackedDeviceToOverlayTransform : * const root :: vr :: HmdMatrix34_t) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayTransformTrackedDeviceRelative_autocxx_wrapper (self , ulOverlayHandle , unTrackedDevice , pmatTrackedDeviceToOverlayTransform) } # [doc = " Gets the transform if it is relative to a tracked device. Returns an error if the transform is some other type."] pub unsafe fn GetOverlayTransformTrackedDeviceRelative (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , punTrackedDevice : * mut u32 , pmatTrackedDeviceToOverlayTransform : * mut root :: vr :: HmdMatrix34_t) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayTransformTrackedDeviceRelative_autocxx_wrapper (self , ulOverlayHandle , punTrackedDevice , pmatTrackedDeviceToOverlayTransform) } # [doc = " Sets the transform to draw the overlay on a rendermodel component mesh instead of a quad. This will only draw when the system is"] # [doc = " drawing the device. Overlays with this transform type cannot receive mouse events."] pub unsafe fn SetOverlayTransformTrackedDeviceComponent (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , unDeviceIndex : u32 , pchComponentName : * const :: std :: os :: raw :: c_char) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayTransformTrackedDeviceComponent_autocxx_wrapper (self , ulOverlayHandle , unDeviceIndex , pchComponentName) } # [doc = " Gets the transform information when the overlay is rendering on a component."] pub unsafe fn GetOverlayTransformTrackedDeviceComponent (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , punDeviceIndex : * mut u32 , pchComponentName : * mut :: std :: os :: raw :: c_char , unComponentNameSize : u32) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayTransformTrackedDeviceComponent_autocxx_wrapper (self , ulOverlayHandle , punDeviceIndex , pchComponentName , unComponentNameSize) } # [doc = " Gets the transform if it is relative to another overlay. Returns an error if the transform is some other type."] pub unsafe fn GetOverlayTransformOverlayRelative (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , ulOverlayHandleParent : * mut u64 , pmatParentOverlayToOverlayTransform : * mut root :: vr :: HmdMatrix34_t) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayTransformOverlayRelative_autocxx_wrapper (self , ulOverlayHandle , ulOverlayHandleParent , pmatParentOverlayToOverlayTransform) } # [doc = " Sets the transform to relative to the transform of the specified overlay. This overlays visibility will also track the parents visibility"] pub unsafe fn SetOverlayTransformOverlayRelative (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , ulOverlayHandleParent : u64 , pmatParentOverlayToOverlayTransform : * const root :: vr :: HmdMatrix34_t) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayTransformOverlayRelative_autocxx_wrapper (self , ulOverlayHandle , ulOverlayHandleParent , pmatParentOverlayToOverlayTransform) } # [doc = " Sets the hotspot for the specified overlay when that overlay is used as a cursor. These are in texture space with 0,0 in the upper left corner of"] # [doc = " the texture and 1,1 in the lower right corner of the texture."] pub unsafe fn SetOverlayTransformCursor (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulCursorOverlayHandle : u64 , pvHotspot : * const root :: vr :: HmdVector2_t) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayTransformCursor_autocxx_wrapper (self , ulCursorOverlayHandle , pvHotspot) } # [doc = " Gets cursor hotspot/transform for the specified overlay"] pub unsafe fn GetOverlayTransformCursor (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pvHotspot : * mut root :: vr :: HmdVector2_t) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayTransformCursor_autocxx_wrapper (self , ulOverlayHandle , pvHotspot) } # [doc = " Sets the overlay as a projection overlay"] pub unsafe fn SetOverlayTransformProjection (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , eTrackingOrigin : root :: vr :: ETrackingUniverseOrigin , pmatTrackingOriginToOverlayTransform : * const root :: vr :: HmdMatrix34_t , pProjection : * const root :: vr :: VROverlayProjection_t , eEye : root :: vr :: EVREye) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayTransformProjection_autocxx_wrapper (self , ulOverlayHandle , eTrackingOrigin , pmatTrackingOriginToOverlayTransform , pProjection , eEye) } # [doc = " Shows the VR overlay.  For dashboard overlays, only the Dashboard Manager is allowed to call this."] pub unsafe fn ShowOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64) -> root :: vr :: EVROverlayError { cxxbridge :: ShowOverlay_autocxx_wrapper (self , ulOverlayHandle) } # [doc = " Hides the VR overlay.  For dashboard overlays, only the Dashboard Manager is allowed to call this."] pub unsafe fn HideOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64) -> root :: vr :: EVROverlayError { cxxbridge :: HideOverlay_autocxx_wrapper (self , ulOverlayHandle) } # [doc = " Returns true if the overlay is visible."] pub unsafe fn IsOverlayVisible (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64) -> bool { cxxbridge :: IsOverlayVisible_autocxx_wrapper (self , ulOverlayHandle) } # [doc = " Get the transform in 3d space associated with a specific 2d point in the overlay's coordinate space (where 0,0 is the lower left). -Z points out of the overlay"] pub unsafe fn GetTransformForOverlayCoordinates (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , eTrackingOrigin : root :: vr :: ETrackingUniverseOrigin , coordinatesInOverlay : impl autocxx :: ValueParam < root :: vr :: HmdVector2_t > , pmatTransform : * mut root :: vr :: HmdMatrix34_t) -> root :: vr :: EVROverlayError { let mut coordinatesInOverlay_space = autocxx :: ValueParamHandler :: default () ; let mut coordinatesInOverlay_space = :: std :: pin :: Pin :: new_unchecked (& mut coordinatesInOverlay_space) ; coordinatesInOverlay_space . as_mut () . populate (coordinatesInOverlay) ; cxxbridge :: GetTransformForOverlayCoordinates_autocxx_wrapper (self , ulOverlayHandle , eTrackingOrigin , coordinatesInOverlay_space . get_ptr () , pmatTransform) } # [doc = " Returns true and fills the event with the next event on the overlay's event queue, if there is one."] # [doc = " If there are no events this method returns false. uncbVREvent should be the size in bytes of the VREvent_t struct"] pub unsafe fn PollNextOverlayEvent (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pEvent : * mut root :: vr :: VREvent_t , uncbVREvent : u32) -> bool { cxxbridge :: PollNextOverlayEvent_autocxx_wrapper (self , ulOverlayHandle , pEvent , uncbVREvent) } # [doc = " Returns the current input settings for the specified overlay."] pub unsafe fn GetOverlayInputMethod (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , peInputMethod : * mut root :: vr :: VROverlayInputMethod) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayInputMethod_autocxx_wrapper (self , ulOverlayHandle , peInputMethod) } # [doc = " Sets the input settings for the specified overlay."] pub unsafe fn SetOverlayInputMethod (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , eInputMethod : root :: vr :: VROverlayInputMethod) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayInputMethod_autocxx_wrapper (self , ulOverlayHandle , eInputMethod) } # [doc = " Gets the mouse scaling factor that is used for mouse events. The actual texture may be a different size, but this is"] # [doc = " typically the size of the underlying UI in pixels."] pub unsafe fn GetOverlayMouseScale (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pvecMouseScale : * mut root :: vr :: HmdVector2_t) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayMouseScale_autocxx_wrapper (self , ulOverlayHandle , pvecMouseScale) } # [doc = " Sets the mouse scaling factor that is used for mouse events. The actual texture may be a different size, but this is"] # [doc = " typically the size of the underlying UI in pixels (not in world space)."] pub unsafe fn SetOverlayMouseScale (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pvecMouseScale : * const root :: vr :: HmdVector2_t) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayMouseScale_autocxx_wrapper (self , ulOverlayHandle , pvecMouseScale) } # [doc = " Computes the overlay-space pixel coordinates of where the ray intersects the overlay with the"] # [doc = " specified settings. Returns false if there is no intersection."] pub unsafe fn ComputeOverlayIntersection (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pParams : * const root :: vr :: VROverlayIntersectionParams_t , pResults : * mut root :: vr :: VROverlayIntersectionResults_t) -> bool { cxxbridge :: ComputeOverlayIntersection_autocxx_wrapper (self , ulOverlayHandle , pParams , pResults) } # [doc = " Returns true if the specified overlay is the hover target. An overlay is the hover target when it is the last overlay \"moused over\""] # [doc = " by the virtual mouse pointer"] pub unsafe fn IsHoverTargetOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64) -> bool { cxxbridge :: IsHoverTargetOverlay_autocxx_wrapper (self , ulOverlayHandle) } # [doc = " Sets a list of primitives to be used for controller ray intersection"] # [doc = " typically the size of the underlying UI in pixels (not in world space)."] pub unsafe fn SetOverlayIntersectionMask (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pMaskPrimitives : * mut root :: vr :: VROverlayIntersectionMaskPrimitive_t , unNumMaskPrimitives : u32 , unPrimitiveSize : u32) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayIntersectionMask_autocxx_wrapper (self , ulOverlayHandle , pMaskPrimitives , unNumMaskPrimitives , unPrimitiveSize) } # [doc = " Triggers a haptic event on the laser mouse controller for the specified overlay"] pub unsafe fn TriggerLaserMouseHapticVibration (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , fDurationSeconds : f32 , fFrequency : f32 , fAmplitude : f32) -> root :: vr :: EVROverlayError { cxxbridge :: TriggerLaserMouseHapticVibration_autocxx_wrapper (self , ulOverlayHandle , fDurationSeconds , fFrequency , fAmplitude) } # [doc = " Sets the cursor to use for the specified overlay. This will be drawn instead of the generic blob when the laser mouse is pointed at the specified overlay"] pub unsafe fn SetOverlayCursor (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , ulCursorHandle : u64) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayCursor_autocxx_wrapper (self , ulOverlayHandle , ulCursorHandle) } # [doc = " Sets the override cursor position to use for this overlay in overlay mouse coordinates. This position will be used to draw the cursor"] # [doc = " instead of whatever the laser mouse cursor position is."] pub unsafe fn SetOverlayCursorPositionOverride (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pvCursor : * const root :: vr :: HmdVector2_t) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayCursorPositionOverride_autocxx_wrapper (self , ulOverlayHandle , pvCursor) } # [doc = " Clears the override cursor position for this overlay"] pub unsafe fn ClearOverlayCursorPositionOverride (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64) -> root :: vr :: EVROverlayError { cxxbridge :: ClearOverlayCursorPositionOverride_autocxx_wrapper (self , ulOverlayHandle) } # [doc = " Texture to draw for the overlay. This function can only be called by the overlay's creator or renderer process (see SetOverlayRenderingPid) ."] # [doc = ""] # [doc = " OpenGL dirty state:"] # [doc = "\tglBindTexture"] pub unsafe fn SetOverlayTexture (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pTexture : * const root :: vr :: Texture_t) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayTexture_autocxx_wrapper (self , ulOverlayHandle , pTexture) } # [doc = " Use this to tell the overlay system to release the texture set for this overlay."] pub unsafe fn ClearOverlayTexture (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64) -> root :: vr :: EVROverlayError { cxxbridge :: ClearOverlayTexture_autocxx_wrapper (self , ulOverlayHandle) } # [doc = " Separate interface for providing the data as a stream of bytes, but there is an upper bound on data"] # [doc = " that can be sent. This function can only be called by the overlay's renderer process."] pub unsafe fn SetOverlayRaw (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pvBuffer : * mut autocxx :: c_void , unWidth : u32 , unHeight : u32 , unBytesPerPixel : u32) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayRaw_autocxx_wrapper (self , ulOverlayHandle , pvBuffer , unWidth , unHeight , unBytesPerPixel) } # [doc = " Separate interface for providing the image through a filename: can be png or jpg, and should not be bigger than 1920x1080."] # [doc = " This function can only be called by the overlay's renderer process"] pub unsafe fn SetOverlayFromFile (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pchFilePath : * const :: std :: os :: raw :: c_char) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayFromFile_autocxx_wrapper (self , ulOverlayHandle , pchFilePath) } # [doc = "autocxx bindings couldn't be generated: Pointer pointed to something unsupported"] fn GetOverlayTexture (_uhoh : autocxx :: BindingGenerationFailure) { } # [doc = " Release the pNativeTextureHandle provided from the GetOverlayTexture call, this allows the system to free the underlying GPU resources for this object,"] # [doc = " so only do it once you stop rendering this texture."] pub unsafe fn ReleaseNativeOverlayHandle (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pNativeTextureHandle : * mut autocxx :: c_void) -> root :: vr :: EVROverlayError { cxxbridge :: ReleaseNativeOverlayHandle_autocxx_wrapper (self , ulOverlayHandle , pNativeTextureHandle) } # [doc = " Get the size of the overlay texture"] pub unsafe fn GetOverlayTextureSize (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pWidth : * mut u32 , pHeight : * mut u32) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayTextureSize_autocxx_wrapper (self , ulOverlayHandle , pWidth , pHeight) } # [doc = " Creates a dashboard overlay and returns its handle"] pub unsafe fn CreateDashboardOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , pchOverlayKey : * const :: std :: os :: raw :: c_char , pchOverlayFriendlyName : * const :: std :: os :: raw :: c_char , pMainHandle : * mut u64 , pThumbnailHandle : * mut u64) -> root :: vr :: EVROverlayError { cxxbridge :: CreateDashboardOverlay_autocxx_wrapper (self , pchOverlayKey , pchOverlayFriendlyName , pMainHandle , pThumbnailHandle) } # [doc = " Returns true if the dashboard is visible"] pub unsafe fn IsDashboardVisible (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay >) -> bool { cxxbridge :: IsDashboardVisible_autocxx_wrapper (self) } # [doc = " returns true if the dashboard is visible and the specified overlay is the active system Overlay"] pub unsafe fn IsActiveDashboardOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64) -> bool { cxxbridge :: IsActiveDashboardOverlay_autocxx_wrapper (self , ulOverlayHandle) } # [doc = " Sets the dashboard overlay to only appear when the specified process ID has scene focus"] pub unsafe fn SetDashboardOverlaySceneProcess (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , unProcessId : u32) -> root :: vr :: EVROverlayError { cxxbridge :: SetDashboardOverlaySceneProcess_autocxx_wrapper (self , ulOverlayHandle , unProcessId) } # [doc = " Gets the process ID that this dashboard overlay requires to have scene focus"] pub unsafe fn GetDashboardOverlaySceneProcess (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , punProcessId : * mut u32) -> root :: vr :: EVROverlayError { cxxbridge :: GetDashboardOverlaySceneProcess_autocxx_wrapper (self , ulOverlayHandle , punProcessId) } # [doc = " Shows the dashboard."] pub unsafe fn ShowDashboard (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , pchOverlayToShow : * const :: std :: os :: raw :: c_char) { cxxbridge :: ShowDashboard_autocxx_wrapper (self , pchOverlayToShow) } # [doc = " Returns the tracked device that has the laser pointer in the dashboard"] pub unsafe fn GetPrimaryDashboardDevice (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay >) -> u32 { cxxbridge :: GetPrimaryDashboardDevice_autocxx_wrapper (self) } # [doc = " Show the virtual keyboard to accept input. In most cases, you should pass KeyboardFlag_Modal to enable modal overlay"] # [doc = " behavior on the keyboard itself. See EKeyboardFlags for more."] pub unsafe fn ShowKeyboard (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , eInputMode : root :: vr :: EGamepadTextInputMode , eLineInputMode : root :: vr :: EGamepadTextInputLineMode , unFlags : u32 , pchDescription : * const :: std :: os :: raw :: c_char , unCharMax : u32 , pchExistingText : * const :: std :: os :: raw :: c_char , uUserValue : u64) -> root :: vr :: EVROverlayError { cxxbridge :: ShowKeyboard_autocxx_wrapper (self , eInputMode , eLineInputMode , unFlags , pchDescription , unCharMax , pchExistingText , uUserValue) } # [doc = " Show the virtual keyboard to accept input for an overlay. In most cases, you should pass KeyboardFlag_Modal to enable modal"] # [doc = " overlay behavior on the keyboard itself. See EKeyboardFlags for more."] pub unsafe fn ShowKeyboardForOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , eInputMode : root :: vr :: EGamepadTextInputMode , eLineInputMode : root :: vr :: EGamepadTextInputLineMode , unFlags : u32 , pchDescription : * const :: std :: os :: raw :: c_char , unCharMax : u32 , pchExistingText : * const :: std :: os :: raw :: c_char , uUserValue : u64) -> root :: vr :: EVROverlayError { cxxbridge :: ShowKeyboardForOverlay_autocxx_wrapper (self , ulOverlayHandle , eInputMode , eLineInputMode , unFlags , pchDescription , unCharMax , pchExistingText , uUserValue) } # [doc = " Get the text that was entered into the text input"] pub unsafe fn GetKeyboardText (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , pchText : * mut :: std :: os :: raw :: c_char , cchText : u32) -> u32 { cxxbridge :: GetKeyboardText_autocxx_wrapper (self , pchText , cchText) } # [doc = " Hide the virtual keyboard"] pub unsafe fn HideKeyboard (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay >) { cxxbridge :: HideKeyboard_autocxx_wrapper (self) } # [doc = " Set the position of the keyboard in world space"] pub unsafe fn SetKeyboardTransformAbsolute (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , eTrackingOrigin : root :: vr :: ETrackingUniverseOrigin , pmatTrackingOriginToKeyboardTransform : * const root :: vr :: HmdMatrix34_t) { cxxbridge :: SetKeyboardTransformAbsolute_autocxx_wrapper (self , eTrackingOrigin , pmatTrackingOriginToKeyboardTransform) } # [doc = " Set the position of the keyboard in overlay space by telling it to avoid a rectangle in the overlay. Rectangle coords have (0,0) in the bottom left"] pub unsafe fn SetKeyboardPositionForOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , avoidRect : impl autocxx :: ValueParam < root :: vr :: HmdRect2_t >) { let mut avoidRect_space = autocxx :: ValueParamHandler :: default () ; let mut avoidRect_space = :: std :: pin :: Pin :: new_unchecked (& mut avoidRect_space) ; avoidRect_space . as_mut () . populate (avoidRect) ; cxxbridge :: SetKeyboardPositionForOverlay_autocxx_wrapper (self , ulOverlayHandle , avoidRect_space . get_ptr ()) } # [doc = " Show the message overlay. This will block and return you a result."] pub unsafe fn ShowMessageOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , pchText : * const :: std :: os :: raw :: c_char , pchCaption : * const :: std :: os :: raw :: c_char , pchButton0Text : * const :: std :: os :: raw :: c_char , pchButton1Text : * const :: std :: os :: raw :: c_char , pchButton2Text : * const :: std :: os :: raw :: c_char , pchButton3Text : * const :: std :: os :: raw :: c_char) -> root :: vr :: VRMessageOverlayResponse { cxxbridge :: ShowMessageOverlay_autocxx_wrapper (self , pchText , pchCaption , pchButton0Text , pchButton1Text , pchButton2Text , pchButton3Text) } # [doc = " If the calling process owns the overlay and it's open, this will close it."] pub unsafe fn CloseMessageOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay >) { cxxbridge :: CloseMessageOverlay_autocxx_wrapper (self) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: TrackedDevicePose_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: TrackedDevicePose_t { cxxbridge :: TrackedDevicePose_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: TrackedDevicePose_t) { cxxbridge :: TrackedDevicePose_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: new :: CopyNew for root :: vr :: DistortionCoordinates_t { # [doc = "Synthesized copy constructor."] unsafe fn copy_new (other : & root :: vr :: DistortionCoordinates_t , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: DistortionCoordinates_t > >) { cxxbridge :: vr_DistortionCoordinates_t_new_synthetic_const_copy_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , other) } } impl Drop for root :: vr :: IVROverlay { # [doc = "Synthesized destructor."] fn drop (self : & mut root :: vr :: IVROverlay) { unsafe { cxxbridge :: IVROverlay_autocxx_wrapper (self) } } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: HmdRect2_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: HmdRect2_t { cxxbridge :: HmdRect2_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: HmdRect2_t) { cxxbridge :: HmdRect2_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: VRTextureBounds_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: VRTextureBounds_t { cxxbridge :: VRTextureBounds_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: VRTextureBounds_t) { cxxbridge :: VRTextureBounds_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: new :: MoveNew for root :: vr :: HiddenAreaMesh_t { # [doc = "Synthesized move constructor."] unsafe fn move_new (mut other : :: std :: pin :: Pin < autocxx :: moveit :: MoveRef < '_ , root :: vr :: HiddenAreaMesh_t > > , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: HiddenAreaMesh_t > >) { cxxbridge :: vr_HiddenAreaMesh_t_new_synthetic_move_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , { let r : & mut _ = :: std :: pin :: Pin :: into_inner_unchecked (other . as_mut ()) ; r }) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: VROverlayIntersectionParams_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: VROverlayIntersectionParams_t { cxxbridge :: VROverlayIntersectionParams_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: VROverlayIntersectionParams_t) { cxxbridge :: VROverlayIntersectionParams_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: new :: MoveNew for root :: vr :: VROverlayProjection_t { # [doc = "Synthesized move constructor."] unsafe fn move_new (mut other : :: std :: pin :: Pin < autocxx :: moveit :: MoveRef < '_ , root :: vr :: VROverlayProjection_t > > , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: VROverlayProjection_t > >) { cxxbridge :: vr_VROverlayProjection_t_new_synthetic_move_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , { let r : & mut _ = :: std :: pin :: Pin :: into_inner_unchecked (other . as_mut ()) ; r }) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: IVROverlay { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: IVROverlay { cxxbridge :: IVROverlay_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: IVROverlay) { cxxbridge :: IVROverlay_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: Texture_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: Texture_t { cxxbridge :: Texture_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: Texture_t) { cxxbridge :: Texture_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: HmdMatrix44_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: HmdMatrix44_t { cxxbridge :: HmdMatrix44_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: HmdMatrix44_t) { cxxbridge :: HmdMatrix44_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: HmdMatrix34_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: HmdMatrix34_t { cxxbridge :: HmdMatrix34_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: HmdMatrix34_t) { cxxbridge :: HmdMatrix34_t_free_autocxx_wrapper (arg0) } } impl Drop for root :: vr :: IVRSystem { # [doc = "Synthesized destructor."] fn drop (self : & mut root :: vr :: IVRSystem) { unsafe { cxxbridge :: IVRSystem_autocxx_wrapper (self) } } } unsafe impl autocxx :: moveit :: new :: CopyNew for root :: vr :: VROverlayProjection_t { # [doc = "Synthesized copy constructor."] unsafe fn copy_new (other : & root :: vr :: VROverlayProjection_t , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: VROverlayProjection_t > >) { cxxbridge :: vr_VROverlayProjection_t_new_synthetic_const_copy_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , other) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: VROverlayIntersectionMaskPrimitive_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: VROverlayIntersectionMaskPrimitive_t { cxxbridge :: VROverlayIntersectionMaskPrimitive_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: VROverlayIntersectionMaskPrimitive_t) { cxxbridge :: VROverlayIntersectionMaskPrimitive_t_free_autocxx_wrapper (arg0) } } impl Drop for root :: vr :: HmdMatrix34_t { # [doc = "Synthesized destructor."] fn drop (self : & mut root :: vr :: HmdMatrix34_t) { unsafe { cxxbridge :: HmdMatrix34_t_autocxx_wrapper (self) } } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: VRControllerState001_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: VRControllerState001_t { cxxbridge :: VRControllerState001_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: VRControllerState001_t) { cxxbridge :: VRControllerState001_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: new :: MoveNew for root :: vr :: VRTextureBounds_t { # [doc = "Synthesized move constructor."] unsafe fn move_new (mut other : :: std :: pin :: Pin < autocxx :: moveit :: MoveRef < '_ , root :: vr :: VRTextureBounds_t > > , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: VRTextureBounds_t > >) { cxxbridge :: vr_VRTextureBounds_t_new_synthetic_move_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , { let r : & mut _ = :: std :: pin :: Pin :: into_inner_unchecked (other . as_mut ()) ; r }) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: VREvent_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: VREvent_t { cxxbridge :: VREvent_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: VREvent_t) { cxxbridge :: VREvent_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: new :: MoveNew for root :: vr :: VREvent_t { # [doc = "Synthesized move constructor."] unsafe fn move_new (mut other : :: std :: pin :: Pin < autocxx :: moveit :: MoveRef < '_ , root :: vr :: VREvent_t > > , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: VREvent_t > >) { cxxbridge :: vr_VREvent_t_new_synthetic_move_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , { let r : & mut _ = :: std :: pin :: Pin :: into_inner_unchecked (other . as_mut ()) ; r }) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: VROverlayIntersectionResults_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: VROverlayIntersectionResults_t { cxxbridge :: VROverlayIntersectionResults_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: VROverlayIntersectionResults_t) { cxxbridge :: VROverlayIntersectionResults_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: VROverlayProjection_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: VROverlayProjection_t { cxxbridge :: VROverlayProjection_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: VROverlayProjection_t) { cxxbridge :: VROverlayProjection_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: HiddenAreaMesh_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: HiddenAreaMesh_t { cxxbridge :: HiddenAreaMesh_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: HiddenAreaMesh_t) { cxxbridge :: HiddenAreaMesh_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: new :: CopyNew for root :: vr :: VRControllerState001_t { # [doc = "Synthesized copy constructor."] unsafe fn copy_new (other : & root :: vr :: VRControllerState001_t , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: VRControllerState001_t > >) { cxxbridge :: vr_VRControllerState001_t_new_synthetic_const_copy_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , other) } } unsafe impl autocxx :: moveit :: new :: CopyNew for root :: vr :: HiddenAreaMesh_t { # [doc = "Synthesized copy constructor."] unsafe fn copy_new (other : & root :: vr :: HiddenAreaMesh_t , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: HiddenAreaMesh_t > >) { cxxbridge :: vr_HiddenAreaMesh_t_new_synthetic_const_copy_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , other) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: IVRSystem { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: IVRSystem { cxxbridge :: IVRSystem_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: IVRSystem) { cxxbridge :: IVRSystem_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: new :: CopyNew for root :: vr :: VREvent_t { # [doc = "Synthesized copy constructor."] unsafe fn copy_new (other : & root :: vr :: VREvent_t , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: VREvent_t > >) { cxxbridge :: vr_VREvent_t_new_synthetic_const_copy_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , other) } } unsafe impl autocxx :: moveit :: new :: CopyNew for root :: vr :: VRTextureBounds_t { # [doc = "Synthesized copy constructor."] unsafe fn copy_new (other : & root :: vr :: VRTextureBounds_t , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: VRTextureBounds_t > >) { cxxbridge :: vr_VRTextureBounds_t_new_synthetic_const_copy_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , other) } } unsafe impl autocxx :: moveit :: new :: MoveNew for root :: vr :: HmdVector2_t { # [doc = "Synthesized move constructor."] unsafe fn move_new (mut other : :: std :: pin :: Pin < autocxx :: moveit :: MoveRef < '_ , root :: vr :: HmdVector2_t > > , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: HmdVector2_t > >) { cxxbridge :: vr_HmdVector2_t_new_synthetic_move_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , { let r : & mut _ = :: std :: pin :: Pin :: into_inner_unchecked (other . as_mut ()) ; r }) } } unsafe impl autocxx :: moveit :: new :: CopyNew for root :: vr :: HmdRect2_t { # [doc = "Synthesized copy constructor."] unsafe fn copy_new (other : & root :: vr :: HmdRect2_t , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: HmdRect2_t > >) { cxxbridge :: vr_HmdRect2_t_new_synthetic_const_copy_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , other) } } unsafe impl autocxx :: moveit :: new :: MoveNew for root :: vr :: DistortionCoordinates_t { # [doc = "Synthesized move constructor."] unsafe fn move_new (mut other : :: std :: pin :: Pin < autocxx :: moveit :: MoveRef < '_ , root :: vr :: DistortionCoordinates_t > > , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: DistortionCoordinates_t > >) { cxxbridge :: vr_DistortionCoordinates_t_new_synthetic_move_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , { let r : & mut _ = :: std :: pin :: Pin :: into_inner_unchecked (other . as_mut ()) ; r }) } } unsafe impl autocxx :: moveit :: new :: CopyNew for root :: vr :: HmdVector2_t { # [doc = "Synthesized copy constructor."] unsafe fn copy_new (other : & root :: vr :: HmdVector2_t , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: HmdVector2_t > >) { cxxbridge :: vr_HmdVector2_t_new_synthetic_const_copy_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , other) } } unsafe impl autocxx :: moveit :: new :: MoveNew for root :: vr :: HmdRect2_t { # [doc = "Synthesized move constructor."] unsafe fn move_new (mut other : :: std :: pin :: Pin < autocxx :: moveit :: MoveRef < '_ , root :: vr :: HmdRect2_t > > , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: HmdRect2_t > >) { cxxbridge :: vr_HmdRect2_t_new_synthetic_move_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , { let r : & mut _ = :: std :: pin :: Pin :: into_inner_unchecked (other . as_mut ()) ; r }) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: DistortionCoordinates_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: DistortionCoordinates_t { cxxbridge :: DistortionCoordinates_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: DistortionCoordinates_t) { cxxbridge :: DistortionCoordinates_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: new :: MoveNew for root :: vr :: VROverlayIntersectionResults_t { # [doc = "Synthesized move constructor."] unsafe fn move_new (mut other : :: std :: pin :: Pin < autocxx :: moveit :: MoveRef < '_ , root :: vr :: VROverlayIntersectionResults_t > > , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: VROverlayIntersectionResults_t > >) { cxxbridge :: vr_VROverlayIntersectionResults_t_new_synthetic_move_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , { let r : & mut _ = :: std :: pin :: Pin :: into_inner_unchecked (other . as_mut ()) ; r }) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: HmdVector2_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: HmdVector2_t { cxxbridge :: HmdVector2_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: HmdVector2_t) { cxxbridge :: HmdVector2_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: new :: CopyNew for root :: vr :: VROverlayIntersectionResults_t { # [doc = "Synthesized copy constructor."] unsafe fn copy_new (other : & root :: vr :: VROverlayIntersectionResults_t , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: VROverlayIntersectionResults_t > >) { cxxbridge :: vr_VROverlayIntersectionResults_t_new_synthetic_const_copy_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , other) } } unsafe impl autocxx :: moveit :: new :: MoveNew for root :: vr :: VRControllerState001_t { # [doc = "Synthesized move constructor."] unsafe fn move_new (mut other : :: std :: pin :: Pin < autocxx :: moveit :: MoveRef < '_ , root :: vr :: VRControllerState001_t > > , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: VRControllerState001_t > >) { cxxbridge :: vr_VRControllerState001_t_new_synthetic_move_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , { let r : & mut _ = :: std :: pin :: Pin :: into_inner_unchecked (other . as_mut ()) ; r }) } } # [allow (unused_imports)] use self :: super :: super :: super :: cxxbridge ; # [allow (unused_imports)] use self :: super :: super :: super :: ToCppString ; # [allow (unused_imports)] use self :: super :: super :: root ; } # [allow (unused_imports)] use self :: super :: super :: cxxbridge ; # [allow (unused_imports)] use self :: super :: super :: ToCppString ; # [allow (unused_imports)] use self :: super :: root ; } } # [cxx :: bridge] mod cxxbridge { impl UniquePtr < HmdMatrix34_t > { } impl SharedPtr < HmdMatrix34_t > { } impl WeakPtr < HmdMatrix34_t > { } impl UniquePtr < ETrackingUniverseOrigin > { } impl SharedPtr < ETrackingUniverseOrigin > { } impl WeakPtr < ETrackingUniverseOrigin > { } impl CxxVector < ETrackingUniverseOrigin > { } impl UniquePtr < EVROverlayError > { } impl SharedPtr < EVROverlayError > { } impl WeakPtr < EVROverlayError > { } impl CxxVector < EVROverlayError > { } impl UniquePtr < EVRApplicationType > { } impl SharedPtr < EVRApplicationType > { } impl WeakPtr < EVRApplicationType > { } impl CxxVector < EVRApplicationType > { } impl UniquePtr < EVRInitError > { } impl SharedPtr < EVRInitError > { } impl WeakPtr < EVRInitError > { } impl CxxVector < EVRInitError > { } impl UniquePtr < EVREye > { } impl SharedPtr < EVREye > { } impl WeakPtr < EVREye > { } impl CxxVector < EVREye > { } impl UniquePtr < HmdMatrix44_t > { } impl SharedPtr < HmdMatrix44_t > { } impl WeakPtr < HmdMatrix44_t > { } impl UniquePtr < DistortionCoordinates_t > { } impl SharedPtr < DistortionCoordinates_t > { } impl WeakPtr < DistortionCoordinates_t > { } impl CxxVector < DistortionCoordinates_t > { } impl UniquePtr < ETextureType > { } impl SharedPtr < ETextureType > { } impl WeakPtr < ETextureType > { } impl CxxVector < ETextureType > { } impl UniquePtr < TrackedDevicePose_t > { } impl SharedPtr < TrackedDevicePose_t > { } impl WeakPtr < TrackedDevicePose_t > { } impl UniquePtr < ETrackedDeviceClass > { } impl SharedPtr < ETrackedDeviceClass > { } impl WeakPtr < ETrackedDeviceClass > { } impl CxxVector < ETrackedDeviceClass > { } impl UniquePtr < EDeviceActivityLevel > { } impl SharedPtr < EDeviceActivityLevel > { } impl WeakPtr < EDeviceActivityLevel > { } impl CxxVector < EDeviceActivityLevel > { } impl UniquePtr < ETrackedControllerRole > { } impl SharedPtr < ETrackedControllerRole > { } impl WeakPtr < ETrackedControllerRole > { } impl CxxVector < ETrackedControllerRole > { } impl UniquePtr < ETrackedDeviceProperty > { } impl SharedPtr < ETrackedDeviceProperty > { } impl WeakPtr < ETrackedDeviceProperty > { } impl CxxVector < ETrackedDeviceProperty > { } impl UniquePtr < ETrackedPropertyError > { } impl SharedPtr < ETrackedPropertyError > { } impl WeakPtr < ETrackedPropertyError > { } impl CxxVector < ETrackedPropertyError > { } impl UniquePtr < VREvent_t > { } impl SharedPtr < VREvent_t > { } impl WeakPtr < VREvent_t > { } impl CxxVector < VREvent_t > { } impl UniquePtr < EVREventType > { } impl SharedPtr < EVREventType > { } impl WeakPtr < EVREventType > { } impl CxxVector < EVREventType > { } impl UniquePtr < HiddenAreaMesh_t > { } impl SharedPtr < HiddenAreaMesh_t > { } impl WeakPtr < HiddenAreaMesh_t > { } impl CxxVector < HiddenAreaMesh_t > { } impl UniquePtr < EHiddenAreaMeshType > { } impl SharedPtr < EHiddenAreaMeshType > { } impl WeakPtr < EHiddenAreaMeshType > { } impl CxxVector < EHiddenAreaMeshType > { } impl UniquePtr < VRControllerState001_t > { } impl SharedPtr < VRControllerState001_t > { } impl WeakPtr < VRControllerState001_t > { } impl CxxVector < VRControllerState001_t > { } impl UniquePtr < EVRButtonId > { } impl SharedPtr < EVRButtonId > { } impl WeakPtr < EVRButtonId > { } impl CxxVector < EVRButtonId > { } impl UniquePtr < EVRControllerAxisType > { } impl SharedPtr < EVRControllerAxisType > { } impl WeakPtr < EVRControllerAxisType > { } impl CxxVector < EVRControllerAxisType > { } impl UniquePtr < EVRFirmwareError > { } impl SharedPtr < EVRFirmwareError > { } impl WeakPtr < EVRFirmwareError > { } impl CxxVector < EVRFirmwareError > { } impl UniquePtr < VROverlayFlags > { } impl SharedPtr < VROverlayFlags > { } impl WeakPtr < VROverlayFlags > { } impl CxxVector < VROverlayFlags > { } impl UniquePtr < EColorSpace > { } impl SharedPtr < EColorSpace > { } impl WeakPtr < EColorSpace > { } impl CxxVector < EColorSpace > { } impl UniquePtr < VRTextureBounds_t > { } impl SharedPtr < VRTextureBounds_t > { } impl WeakPtr < VRTextureBounds_t > { } impl CxxVector < VRTextureBounds_t > { } impl UniquePtr < VROverlayTransformType > { } impl SharedPtr < VROverlayTransformType > { } impl WeakPtr < VROverlayTransformType > { } impl CxxVector < VROverlayTransformType > { } impl UniquePtr < HmdVector2_t > { } impl SharedPtr < HmdVector2_t > { } impl WeakPtr < HmdVector2_t > { } impl CxxVector < HmdVector2_t > { } impl UniquePtr < VROverlayProjection_t > { } impl SharedPtr < VROverlayProjection_t > { } impl WeakPtr < VROverlayProjection_t > { } impl CxxVector < VROverlayProjection_t > { } impl UniquePtr < VROverlayInputMethod > { } impl SharedPtr < VROverlayInputMethod > { } impl WeakPtr < VROverlayInputMethod > { } impl CxxVector < VROverlayInputMethod > { } impl UniquePtr < VROverlayIntersectionParams_t > { } impl SharedPtr < VROverlayIntersectionParams_t > { } impl WeakPtr < VROverlayIntersectionParams_t > { } impl UniquePtr < VROverlayIntersectionResults_t > { } impl SharedPtr < VROverlayIntersectionResults_t > { } impl WeakPtr < VROverlayIntersectionResults_t > { } impl CxxVector < VROverlayIntersectionResults_t > { } impl UniquePtr < VROverlayIntersectionMaskPrimitive_t > { } impl SharedPtr < VROverlayIntersectionMaskPrimitive_t > { } impl WeakPtr < VROverlayIntersectionMaskPrimitive_t > { } impl UniquePtr < Texture_t > { } impl SharedPtr < Texture_t > { } impl WeakPtr < Texture_t > { } impl UniquePtr < EGamepadTextInputMode > { } impl SharedPtr < EGamepadTextInputMode > { } impl WeakPtr < EGamepadTextInputMode > { } impl CxxVector < EGamepadTextInputMode > { } impl UniquePtr < EGamepadTextInputLineMode > { } impl SharedPtr < EGamepadTextInputLineMode > { } impl WeakPtr < EGamepadTextInputLineMode > { } impl CxxVector < EGamepadTextInputLineMode > { } impl UniquePtr < HmdRect2_t > { } impl SharedPtr < HmdRect2_t > { } impl WeakPtr < HmdRect2_t > { } impl CxxVector < HmdRect2_t > { } impl UniquePtr < VRMessageOverlayResponse > { } impl SharedPtr < VRMessageOverlayResponse > { } impl WeakPtr < VRMessageOverlayResponse > { } impl CxxVector < VRMessageOverlayResponse > { } unsafe extern "C++" { fn autocxx_make_string (str_ : & str) -> UniquePtr < CxxString > ; pub unsafe fn HmdMatrix34_t_alloc_autocxx_wrapper () -> * mut HmdMatrix34_t ; pub unsafe fn HmdMatrix34_t_free_autocxx_wrapper (arg0 : * mut HmdMatrix34_t) ; # [namespace = "vr"] type HmdMatrix34_t = super :: bindgen :: root :: vr :: HmdMatrix34_t ; # [namespace = "vr"] # [doc = " Identifies which style of tracking origin the application wants to use"] # [doc = " for the poses it is requesting"] type ETrackingUniverseOrigin = super :: bindgen :: root :: vr :: ETrackingUniverseOrigin ; # [namespace = "vr"] # [doc = " Errors that can occur around VR overlays"] type EVROverlayError = super :: bindgen :: root :: vr :: EVROverlayError ; # [namespace = "vr"] # [doc = " enum values to pass in to VR_Init to identify whether the application will"] # [doc = " draw a 3D scene."] type EVRApplicationType = super :: bindgen :: root :: vr :: EVRApplicationType ; # [namespace = "vr"] # [doc = " error codes returned by Vr_Init"] type EVRInitError = super :: bindgen :: root :: vr :: EVRInitError ; pub unsafe fn IVRSystem_alloc_autocxx_wrapper () -> * mut IVRSystem ; pub unsafe fn IVRSystem_free_autocxx_wrapper (arg0 : * mut IVRSystem) ; # [namespace = "vr"] type IVRSystem ; pub unsafe fn IVROverlay_alloc_autocxx_wrapper () -> * mut IVROverlay ; pub unsafe fn IVROverlay_free_autocxx_wrapper (arg0 : * mut IVROverlay) ; # [namespace = "vr"] type IVROverlay ; # [doc = " Suggested size for the intermediate render target that the distortion pulls from."] pub unsafe fn GetRecommendedRenderTargetSize_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , pnWidth : * mut u32 , pnHeight : * mut u32) ; # [doc = " The projection matrix for the specified eye"] pub unsafe fn GetProjectionMatrix_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eEye : EVREye , fNearZ : f32 , fFarZ : f32 , placement_return_type : * mut HmdMatrix44_t) ; # [doc = " The components necessary to build your own projection matrix in case your"] # [doc = " application is doing something fancy like infinite Z"] pub unsafe fn GetProjectionRaw_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eEye : EVREye , pfLeft : * mut f32 , pfRight : * mut f32 , pfTop : * mut f32 , pfBottom : * mut f32) ; # [doc = " Gets the result of the distortion function for the specified eye and input UVs. UVs go from 0,0 in"] # [doc = " the upper left of that eye's viewport and 1,1 in the lower right of that eye's viewport."] # [doc = " Returns true for success. Otherwise, returns false, and distortion coordinates are not suitable."] pub unsafe fn ComputeDistortion_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eEye : EVREye , fU : f32 , fV : f32 , pDistortionCoordinates : * mut DistortionCoordinates_t) -> bool ; # [doc = " Returns the transform from eye space to the head space. Eye space is the per-eye flavor of head"] # [doc = " space that provides stereo disparity. Instead of Model * View * Projection the sequence is Model * View * Eye^-1 * Projection."] # [doc = " Normally View and Eye^-1 will be multiplied together and treated as View in your application."] pub unsafe fn GetEyeToHeadTransform_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eEye : EVREye , placement_return_type : * mut HmdMatrix34_t) ; # [doc = " Returns the number of elapsed seconds since the last recorded vsync event. This"] # [doc = "\twill come from a vsync timer event in the timer if possible or from the application-reported"] # [doc = "   time if that is not available. If no vsync times are available the function will"] # [doc = "   return zero for vsync time and frame counter and return false from the method."] pub unsafe fn GetTimeSinceLastVsync_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , pfSecondsSinceLastVsync : * mut f32 , pulFrameCounter : * mut u64) -> bool ; # [doc = " [D3D9 Only]"] # [doc = " Returns the adapter index that the user should pass into CreateDevice to set up D3D9 in such"] # [doc = " a way that it can go full screen exclusive on the HMD. Returns -1 if there was an error."] pub unsafe fn GetD3D9AdapterIndex_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem >) -> i32 ; # [doc = " [D3D10/11 Only]"] # [doc = " Returns the adapter index that the user should pass into EnumAdapters to create the device"] # [doc = " and swap chain in DX10 and DX11. If an error occurs the index will be set to -1."] pub unsafe fn GetDXGIOutputInfo_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , pnAdapterIndex : * mut i32) ; # [doc = " Returns platform- and texture-type specific adapter identification so that applications and the"] # [doc = " compositor are creating textures and swap chains on the same GPU. If an error occurs the device"] # [doc = " will be set to 0."] # [doc = " pInstance is an optional parameter that is required only when textureType is TextureType_Vulkan."] # [doc = " [D3D10/11/12 Only (D3D9 Not Supported)]"] # [doc = "  Returns the adapter LUID that identifies the GPU attached to the HMD. The user should"] # [doc = "  enumerate all adapters using IDXGIFactory::EnumAdapters and IDXGIAdapter::GetDesc to find"] # [doc = "  the adapter with the matching LUID, or use IDXGIFactory4::EnumAdapterByLuid."] # [doc = "  The discovered IDXGIAdapter should be used to create the device and swap chain."] # [doc = " [Vulkan Only]"] # [doc = "  Returns the VkPhysicalDevice that should be used by the application."] # [doc = "  pInstance must be the instance the application will use to query for the VkPhysicalDevice.  The application"] # [doc = "  must create the VkInstance with extensions returned by IVRCompositor::GetVulkanInstanceExtensionsRequired enabled."] # [doc = " [macOS Only]"] # [doc = "  For TextureType_IOSurface returns the id<MTLDevice> that should be used by the application."] # [doc = "  On 10.13+ for TextureType_OpenGL returns the 'registryId' of the renderer which should be used"] # [doc = "   by the application. See Apple Technical Q&A QA1168 for information on enumerating GL Renderers, and the"] # [doc = "   new kCGLRPRegistryIDLow and kCGLRPRegistryIDHigh CGLRendererProperty values in the 10.13 SDK."] # [doc = "  Pre 10.13 for TextureType_OpenGL returns 0, as there is no dependable way to correlate the HMDs MTLDevice"] # [doc = "   with a GL Renderer."] pub unsafe fn GetOutputDevice_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , pnDevice : * mut u64 , textureType : ETextureType , pInstance : * mut VkInstance_T) ; # [doc = " Use to determine if the headset display is part of the desktop (i.e. extended) or hidden (i.e. direct mode)."] pub unsafe fn IsDisplayOnDesktop_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem >) -> bool ; # [doc = " Set the display visibility (true = extended, false = direct mode).  Return value of true indicates that the change was successful."] pub unsafe fn SetDisplayVisibility_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , bIsVisibleOnDesktop : bool) -> bool ; # [doc = " The pose that the tracker thinks that the HMD will be in at the specified number of seconds into the"] # [doc = " future. Pass 0 to get the state at the instant the method is called. Most of the time the application should"] # [doc = " calculate the time until the photons will be emitted from the display and pass that time into the method."] # [doc = ""] # [doc = " This is roughly analogous to the inverse of the view matrix in most applications, though"] # [doc = " many games will need to do some additional rotation or translation on top of the rotation"] # [doc = " and translation provided by the head pose."] # [doc = ""] # [doc = " For devices where bPoseIsValid is true the application can use the pose to position the device"] # [doc = " in question. The provided array can be any size up to k_unMaxTrackedDeviceCount."] # [doc = ""] # [doc = " Seated experiences should call this method with TrackingUniverseSeated and receive poses relative"] # [doc = " to the seated zero pose. Standing experiences should call this method with TrackingUniverseStanding"] # [doc = " and receive poses relative to the Chaperone Play Area. TrackingUniverseRawAndUncalibrated should"] # [doc = " probably not be used unless the application is the Chaperone calibration tool itself, but will provide"] # [doc = " poses relative to the hardware-specific coordinate system in the driver."] pub unsafe fn GetDeviceToAbsoluteTrackingPose_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eOrigin : ETrackingUniverseOrigin , fPredictedSecondsToPhotonsFromNow : f32 , pTrackedDevicePoseArray : * mut TrackedDevicePose_t , unTrackedDevicePoseArrayCount : u32) ; # [doc = " Returns the transform from the seated zero pose to the standing absolute tracking system. This allows"] # [doc = " applications to represent the seated origin to used or transform object positions from one coordinate"] # [doc = " system to the other."] # [doc = ""] # [doc = " The seated origin may or may not be inside the Play Area or Collision Bounds returned by IVRChaperone. Its position"] # [doc = " depends on what the user has set from the Dashboard settings and previous calls to ResetSeatedZeroPose."] pub unsafe fn GetSeatedZeroPoseToStandingAbsoluteTrackingPose_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , placement_return_type : * mut HmdMatrix34_t) ; # [doc = " Returns the transform from the tracking origin to the standing absolute tracking system. This allows"] # [doc = " applications to convert from raw tracking space to the calibrated standing coordinate system."] pub unsafe fn GetRawZeroPoseToStandingAbsoluteTrackingPose_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , placement_return_type : * mut HmdMatrix34_t) ; # [doc = " Get a sorted array of device indices of a given class of tracked devices (e.g. controllers).  Devices are sorted right to left"] # [doc = " relative to the specified tracked device (default: hmd -- pass in -1 for absolute tracking space).  Returns the number of devices"] # [doc = " in the list, or the size of the array needed if not large enough."] pub unsafe fn GetSortedTrackedDeviceIndicesOfClass_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eTrackedDeviceClass : ETrackedDeviceClass , punTrackedDeviceIndexArray : * mut u32 , unTrackedDeviceIndexArrayCount : u32 , unRelativeToTrackedDeviceIndex : u32) -> u32 ; # [doc = " Returns the level of activity on the device."] pub unsafe fn GetTrackedDeviceActivityLevel_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceId : u32) -> EDeviceActivityLevel ; # [doc = " Convenience utility to apply the specified transform to the specified pose."] # [doc = "   This properly transforms all pose components, including velocity and angular velocity"] pub unsafe fn ApplyTransform_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , pOutputPose : * mut TrackedDevicePose_t , pTrackedDevicePose : * const TrackedDevicePose_t , pTransform : * const HmdMatrix34_t) ; # [doc = " Returns the device index associated with a specific role, for example the left hand or the right hand. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetTrackedDeviceIndexForControllerRole_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceType : ETrackedControllerRole) -> u32 ; # [doc = " Returns the controller type associated with a device index. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetControllerRoleForTrackedDeviceIndex_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceIndex : u32) -> ETrackedControllerRole ; # [doc = " Returns the device class of a tracked device. If there has not been a device connected in this slot"] # [doc = " since the application started this function will return TrackedDevice_Invalid. For previous detected"] # [doc = " devices the function will return the previously observed device class."] # [doc = ""] # [doc = " To determine which devices exist on the system, just loop from 0 to k_unMaxTrackedDeviceCount and check"] # [doc = " the device class. Every device with something other than TrackedDevice_Invalid is associated with an"] # [doc = " actual tracked device."] pub unsafe fn GetTrackedDeviceClass_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceIndex : u32) -> ETrackedDeviceClass ; # [doc = " Returns true if there is a device connected in this slot."] pub unsafe fn IsTrackedDeviceConnected_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceIndex : u32) -> bool ; # [doc = " Returns a bool property. If the device index is not valid or the property is not a bool type this function will return false."] pub unsafe fn GetBoolTrackedDeviceProperty_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceIndex : u32 , prop : ETrackedDeviceProperty , pError : * mut ETrackedPropertyError) -> bool ; # [doc = " Returns a float property. If the device index is not valid or the property is not a float type this function will return 0."] pub unsafe fn GetFloatTrackedDeviceProperty_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceIndex : u32 , prop : ETrackedDeviceProperty , pError : * mut ETrackedPropertyError) -> f32 ; # [doc = " Returns an int property. If the device index is not valid or the property is not a int type this function will return 0."] pub unsafe fn GetInt32TrackedDeviceProperty_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceIndex : u32 , prop : ETrackedDeviceProperty , pError : * mut ETrackedPropertyError) -> i32 ; # [doc = " Returns a uint64 property. If the device index is not valid or the property is not a uint64 type this function will return 0."] pub unsafe fn GetUint64TrackedDeviceProperty_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceIndex : u32 , prop : ETrackedDeviceProperty , pError : * mut ETrackedPropertyError) -> u64 ; # [doc = " Returns a matrix property. If the device index is not valid or the property is not a matrix type, this function will return identity."] pub unsafe fn GetMatrix34TrackedDeviceProperty_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceIndex : u32 , prop : ETrackedDeviceProperty , pError : * mut ETrackedPropertyError , placement_return_type : * mut HmdMatrix34_t) ; # [doc = " Returns an array of one type of property. If the device index is not valid or the property is not a single value or an array of the specified type,"] # [doc = " this function will return 0. Otherwise it returns the number of bytes necessary to hold the array of properties. If unBufferSize is"] # [doc = " greater than the returned size and pBuffer is non-NULL, pBuffer is filled with the contents of array of properties."] pub unsafe fn GetArrayTrackedDeviceProperty_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceIndex : u32 , prop : ETrackedDeviceProperty , propType : u32 , pBuffer : * mut c_void , unBufferSize : u32 , pError : * mut ETrackedPropertyError) -> u32 ; # [doc = " Returns a string property. If the device index is not valid or the property is not a string type this function will"] # [doc = " return 0. Otherwise it returns the length of the number of bytes necessary to hold this string including the trailing"] # [doc = " null. Strings will always fit in buffers of k_unMaxPropertyStringSize characters."] pub unsafe fn GetStringTrackedDeviceProperty_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceIndex : u32 , prop : ETrackedDeviceProperty , pchValue : * mut c_char , unBufferSize : u32 , pError : * mut ETrackedPropertyError) -> u32 ; # [doc = " returns a string that corresponds with the specified property error. The string will be the name"] # [doc = " of the error enum value for all valid error codes"] pub unsafe fn GetPropErrorNameFromEnum_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , error : ETrackedPropertyError) -> * const c_char ; # [doc = " Returns true and fills the event with the next event on the queue if there is one. If there are no events"] # [doc = " this method returns false. uncbVREvent should be the size in bytes of the VREvent_t struct"] pub unsafe fn PollNextEvent_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , pEvent : * mut VREvent_t , uncbVREvent : u32) -> bool ; # [doc = " Returns true and fills the event with the next event on the queue if there is one. If there are no events"] # [doc = " this method returns false. Fills in the pose of the associated tracked device in the provided pose struct."] # [doc = " This pose will always be older than the call to this function and should not be used to render the device."] # [doc = "uncbVREvent should be the size in bytes of the VREvent_t struct"] pub unsafe fn PollNextEventWithPose_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eOrigin : ETrackingUniverseOrigin , pEvent : * mut VREvent_t , uncbVREvent : u32 , pTrackedDevicePose : * mut TrackedDevicePose_t) -> bool ; # [doc = " returns the name of an EVREvent enum value"] pub unsafe fn GetEventTypeNameFromEnum_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eType : EVREventType) -> * const c_char ; # [doc = " Returns the hidden area mesh for the current HMD. The pixels covered by this mesh will never be seen by the user after the lens distortion is"] # [doc = " applied based on visibility to the panels. If this HMD does not have a hidden area mesh, the vertex data and count will be NULL and 0 respectively."] # [doc = " This mesh is meant to be rendered into the stencil buffer (or into the depth buffer setting nearz) before rendering each eye's view."] # [doc = " This will improve performance by letting the GPU early-reject pixels the user will never see before running the pixel shader."] # [doc = " NOTE: Render this mesh with backface culling disabled since the winding order of the vertices can be different per-HMD or per-eye."] # [doc = " Setting the bInverse argument to true will produce the visible area mesh that is commonly used in place of full-screen quads. The visible area mesh covers all of the pixels the hidden area mesh does not cover."] # [doc = " Setting the bLineLoop argument will return a line loop of vertices in HiddenAreaMesh_t->pVertexData with HiddenAreaMesh_t->unTriangleCount set to the number of vertices."] pub unsafe fn GetHiddenAreaMesh_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eEye : EVREye , type_ : EHiddenAreaMeshType , placement_return_type : * mut HiddenAreaMesh_t) ; # [doc = " Fills the supplied struct with the current state of the controller. Returns false if the controller index"] # [doc = " is invalid. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetControllerState_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unControllerDeviceIndex : u32 , pControllerState : * mut VRControllerState001_t , unControllerStateSize : u32) -> bool ; # [doc = " fills the supplied struct with the current state of the controller and the provided pose with the pose of"] # [doc = " the controller when the controller state was updated most recently. Use this form if you need a precise controller"] # [doc = " pose as input to your application when the user presses or releases a button. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetControllerStateWithPose_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eOrigin : ETrackingUniverseOrigin , unControllerDeviceIndex : u32 , pControllerState : * mut VRControllerState001_t , unControllerStateSize : u32 , pTrackedDevicePose : * mut TrackedDevicePose_t) -> bool ; # [doc = " Trigger a single haptic pulse on a controller. After this call the application may not trigger another haptic pulse on this controller"] # [doc = " and axis combination for 5ms. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn TriggerHapticPulse_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unControllerDeviceIndex : u32 , unAxisId : u32 , usDurationMicroSec : c_ushort) ; # [doc = " returns the name of an EVRButtonId enum value. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetButtonIdNameFromEnum_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eButtonId : EVRButtonId) -> * const c_char ; # [doc = " returns the name of an EVRControllerAxisType enum value. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetControllerAxisTypeNameFromEnum_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eAxisType : EVRControllerAxisType) -> * const c_char ; # [doc = " Returns true if this application is receiving input from the system. This would return false if"] # [doc = " system-related functionality is consuming the input stream."] pub unsafe fn IsInputAvailable_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem >) -> bool ; # [doc = " Returns true SteamVR is drawing controllers on top of the application. Applications should consider"] # [doc = " not drawing anything attached to the user's hands in this case."] pub unsafe fn IsSteamVRDrawingControllers_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem >) -> bool ; # [doc = " Returns true if the user has put SteamVR into a mode that is distracting them from the application."] # [doc = " For applications where this is appropriate, the application should pause ongoing activity."] pub unsafe fn ShouldApplicationPause_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem >) -> bool ; # [doc = " Returns true if SteamVR is doing significant rendering work and the game should do what it can to reduce"] # [doc = " its own workload. One common way to do this is to reduce the size of the render target provided for each eye."] pub unsafe fn ShouldApplicationReduceRenderingWork_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem >) -> bool ; # [doc = " Performs the actual firmware update if applicable."] # [doc = " The following events will be sent, if VRFirmwareError_None was returned: VREvent_FirmwareUpdateStarted, VREvent_FirmwareUpdateFinished"] # [doc = " Use the properties Prop_Firmware_UpdateAvailable_Bool, Prop_Firmware_ManualUpdate_Bool, and Prop_Firmware_ManualUpdateURL_String"] # [doc = " to figure our whether a firmware update is available, and to figure out whether its a manual update"] # [doc = " Prop_Firmware_ManualUpdateURL_String should point to an URL describing the manual update process"] pub unsafe fn PerformFirmwareUpdate_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceIndex : u32) -> EVRFirmwareError ; # [doc = " Call this to acknowledge to the system that VREvent_Quit has been received and that the process is exiting."] # [doc = " This extends the timeout until the process is killed."] pub unsafe fn AcknowledgeQuit_Exiting_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem >) ; # [doc = " Retrieves a null-terminated, semicolon-delimited list of UTF8 file paths that an application"] # [doc = " must have read access to when running inside of an app container. Returns the number of bytes"] # [doc = " needed to hold the list."] pub unsafe fn GetAppContainerFilePaths_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , pchBuffer : * mut c_char , unBufferSize : u32) -> u32 ; # [doc = " Returns the current version of the SteamVR runtime. The returned string will remain valid until VR_Shutdown is called."] # [doc = ""] # [doc = " NOTE: Is it not appropriate to use this version to test for the presence of any SteamVR feature. Only use this version"] # [doc = " number for logging or showing to a user, and not to try to detect anything at runtime. When appropriate, feature-specific"] # [doc = " presence information is provided by other APIs."] pub unsafe fn GetRuntimeVersion_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem >) -> * const c_char ; # [doc = " Finds an existing overlay with the specified key."] pub unsafe fn FindOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , pchOverlayKey : * const c_char , pOverlayHandle : * mut u64) -> EVROverlayError ; # [doc = " Creates a new named overlay. All overlays start hidden and with default settings."] pub unsafe fn CreateOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , pchOverlayKey : * const c_char , pchOverlayName : * const c_char , pOverlayHandle : * mut u64) -> EVROverlayError ; # [doc = " Destroys the specified overlay. When an application calls VR_Shutdown all overlays created by that app are"] # [doc = " automatically destroyed."] pub unsafe fn DestroyOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64) -> EVROverlayError ; # [doc = " Fills the provided buffer with the string key of the overlay. Returns the size of buffer required to store the key, including"] # [doc = " the terminating null character. k_unVROverlayMaxKeyLength will be enough bytes to fit the string."] pub unsafe fn GetOverlayKey_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pchValue : * mut c_char , unBufferSize : u32 , pError : * mut EVROverlayError) -> u32 ; # [doc = " Fills the provided buffer with the friendly name of the overlay. Returns the size of buffer required to store the key, including"] # [doc = " the terminating null character. k_unVROverlayMaxNameLength will be enough bytes to fit the string."] pub unsafe fn GetOverlayName_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pchValue : * mut c_char , unBufferSize : u32 , pError : * mut EVROverlayError) -> u32 ; # [doc = " set the name to use for this overlay"] pub unsafe fn SetOverlayName_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pchName : * const c_char) -> EVROverlayError ; # [doc = " Gets the raw image data from an overlay. Overlay image data is always returned as RGBA data, 4 bytes per pixel. If the buffer is not large enough, width and height"] # [doc = " will be set and VROverlayError_ArrayTooSmall is returned."] pub unsafe fn GetOverlayImageData_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pvBuffer : * mut c_void , unBufferSize : u32 , punWidth : * mut u32 , punHeight : * mut u32) -> EVROverlayError ; # [doc = " returns a string that corresponds with the specified overlay error. The string will be the name"] # [doc = " of the error enum value for all valid error codes"] pub unsafe fn GetOverlayErrorNameFromEnum_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , error : EVROverlayError) -> * const c_char ; # [doc = " Sets the pid that is allowed to render to this overlay (the creator pid is always allow to render),"] # [doc = "\tby default this is the pid of the process that made the overlay"] pub unsafe fn SetOverlayRenderingPid_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , unPID : u32) -> EVROverlayError ; # [doc = " Gets the pid that is allowed to render to this overlay"] pub unsafe fn GetOverlayRenderingPid_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64) -> u32 ; # [doc = " Specify flag setting for a given overlay"] pub unsafe fn SetOverlayFlag_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , eOverlayFlag : VROverlayFlags , bEnabled : bool) -> EVROverlayError ; # [doc = " Sets flag setting for a given overlay"] pub unsafe fn GetOverlayFlag_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , eOverlayFlag : VROverlayFlags , pbEnabled : * mut bool) -> EVROverlayError ; # [doc = " Gets all the flags for a given overlay"] pub unsafe fn GetOverlayFlags_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pFlags : * mut u32) -> EVROverlayError ; # [doc = " Sets the color tint of the overlay quad. Use 0.0 to 1.0 per channel."] pub unsafe fn SetOverlayColor_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , fRed : f32 , fGreen : f32 , fBlue : f32) -> EVROverlayError ; # [doc = " Gets the color tint of the overlay quad."] pub unsafe fn GetOverlayColor_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pfRed : * mut f32 , pfGreen : * mut f32 , pfBlue : * mut f32) -> EVROverlayError ; # [doc = " Sets the alpha of the overlay quad. Use 1.0 for 100 percent opacity to 0.0 for 0 percent opacity."] pub unsafe fn SetOverlayAlpha_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , fAlpha : f32) -> EVROverlayError ; # [doc = " Gets the alpha of the overlay quad. By default overlays are rendering at 100 percent alpha (1.0)."] pub unsafe fn GetOverlayAlpha_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pfAlpha : * mut f32) -> EVROverlayError ; # [doc = " Sets the aspect ratio of the texels in the overlay. 1.0 means the texels are square. 2.0 means the texels"] # [doc = " are twice as wide as they are tall. Defaults to 1.0."] pub unsafe fn SetOverlayTexelAspect_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , fTexelAspect : f32) -> EVROverlayError ; # [doc = " Gets the aspect ratio of the texels in the overlay. Defaults to 1.0"] pub unsafe fn GetOverlayTexelAspect_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pfTexelAspect : * mut f32) -> EVROverlayError ; # [doc = " Sets the rendering sort order for the overlay. Overlays are rendered this order:"] # [doc = "      Overlays owned by the scene application"] # [doc = "      Overlays owned by some other application"] # [doc = ""] # [doc = "\tWithin a category overlays are rendered lowest sort order to highest sort order. Overlays with the same"] # [doc = "\tsort order are rendered back to front base on distance from the HMD."] # [doc = ""] # [doc = "\tSort order defaults to 0."] pub unsafe fn SetOverlaySortOrder_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , unSortOrder : u32) -> EVROverlayError ; # [doc = " Gets the sort order of the overlay. See SetOverlaySortOrder for how this works."] pub unsafe fn GetOverlaySortOrder_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , punSortOrder : * mut u32) -> EVROverlayError ; # [doc = " Sets the width of the overlay quad in meters. By default overlays are rendered on a quad that is 1 meter across"] pub unsafe fn SetOverlayWidthInMeters_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , fWidthInMeters : f32) -> EVROverlayError ; # [doc = " Returns the width of the overlay quad in meters. By default overlays are rendered on a quad that is 1 meter across"] pub unsafe fn GetOverlayWidthInMeters_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pfWidthInMeters : * mut f32) -> EVROverlayError ; # [doc = " Use to draw overlay as a curved surface. Curvature is a percentage from (0..1] where 1 is a fully closed cylinder."] # [doc = " For a specific radius, curvature can be computed as: overlay.width / (2 PI r)."] pub unsafe fn SetOverlayCurvature_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , fCurvature : f32) -> EVROverlayError ; # [doc = " Returns the curvature of the overlay as a percentage from (0..1] where 1 is a fully closed cylinder."] pub unsafe fn GetOverlayCurvature_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pfCurvature : * mut f32) -> EVROverlayError ; # [doc = " Sets the colorspace the overlay texture's data is in.  Defaults to 'auto'."] # [doc = " If the texture needs to be resolved, you should call SetOverlayTexture with the appropriate colorspace instead."] pub unsafe fn SetOverlayTextureColorSpace_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , eTextureColorSpace : EColorSpace) -> EVROverlayError ; # [doc = " Gets the overlay's current colorspace setting."] pub unsafe fn GetOverlayTextureColorSpace_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , peTextureColorSpace : * mut EColorSpace) -> EVROverlayError ; # [doc = " Sets the part of the texture to use for the overlay. UV Min is the upper left corner and UV Max is the lower right corner."] pub unsafe fn SetOverlayTextureBounds_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pOverlayTextureBounds : * const VRTextureBounds_t) -> EVROverlayError ; # [doc = " Gets the part of the texture to use for the overlay. UV Min is the upper left corner and UV Max is the lower right corner."] pub unsafe fn GetOverlayTextureBounds_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pOverlayTextureBounds : * mut VRTextureBounds_t) -> EVROverlayError ; # [doc = " Returns the transform type of this overlay."] pub unsafe fn GetOverlayTransformType_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , peTransformType : * mut VROverlayTransformType) -> EVROverlayError ; # [doc = " Sets the transform to absolute tracking origin."] pub unsafe fn SetOverlayTransformAbsolute_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , eTrackingOrigin : ETrackingUniverseOrigin , pmatTrackingOriginToOverlayTransform : * const HmdMatrix34_t) -> EVROverlayError ; # [doc = " Gets the transform if it is absolute. Returns an error if the transform is some other type."] pub unsafe fn GetOverlayTransformAbsolute_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , peTrackingOrigin : * mut ETrackingUniverseOrigin , pmatTrackingOriginToOverlayTransform : * mut HmdMatrix34_t) -> EVROverlayError ; # [doc = " Sets the transform to relative to the transform of the specified tracked device."] pub unsafe fn SetOverlayTransformTrackedDeviceRelative_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , unTrackedDevice : u32 , pmatTrackedDeviceToOverlayTransform : * const HmdMatrix34_t) -> EVROverlayError ; # [doc = " Gets the transform if it is relative to a tracked device. Returns an error if the transform is some other type."] pub unsafe fn GetOverlayTransformTrackedDeviceRelative_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , punTrackedDevice : * mut u32 , pmatTrackedDeviceToOverlayTransform : * mut HmdMatrix34_t) -> EVROverlayError ; # [doc = " Sets the transform to draw the overlay on a rendermodel component mesh instead of a quad. This will only draw when the system is"] # [doc = " drawing the device. Overlays with this transform type cannot receive mouse events."] pub unsafe fn SetOverlayTransformTrackedDeviceComponent_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , unDeviceIndex : u32 , pchComponentName : * const c_char) -> EVROverlayError ; # [doc = " Gets the transform information when the overlay is rendering on a component."] pub unsafe fn GetOverlayTransformTrackedDeviceComponent_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , punDeviceIndex : * mut u32 , pchComponentName : * mut c_char , unComponentNameSize : u32) -> EVROverlayError ; # [doc = " Gets the transform if it is relative to another overlay. Returns an error if the transform is some other type."] pub unsafe fn GetOverlayTransformOverlayRelative_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , ulOverlayHandleParent : * mut u64 , pmatParentOverlayToOverlayTransform : * mut HmdMatrix34_t) -> EVROverlayError ; # [doc = " Sets the transform to relative to the transform of the specified overlay. This overlays visibility will also track the parents visibility"] pub unsafe fn SetOverlayTransformOverlayRelative_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , ulOverlayHandleParent : u64 , pmatParentOverlayToOverlayTransform : * const HmdMatrix34_t) -> EVROverlayError ; # [doc = " Sets the hotspot for the specified overlay when that overlay is used as a cursor. These are in texture space with 0,0 in the upper left corner of"] # [doc = " the texture and 1,1 in the lower right corner of the texture."] pub unsafe fn SetOverlayTransformCursor_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulCursorOverlayHandle : u64 , pvHotspot : * const HmdVector2_t) -> EVROverlayError ; # [doc = " Gets cursor hotspot/transform for the specified overlay"] pub unsafe fn GetOverlayTransformCursor_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pvHotspot : * mut HmdVector2_t) -> EVROverlayError ; # [doc = " Sets the overlay as a projection overlay"] pub unsafe fn SetOverlayTransformProjection_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , eTrackingOrigin : ETrackingUniverseOrigin , pmatTrackingOriginToOverlayTransform : * const HmdMatrix34_t , pProjection : * const VROverlayProjection_t , eEye : EVREye) -> EVROverlayError ; # [doc = " Shows the VR overlay.  For dashboard overlays, only the Dashboard Manager is allowed to call this."] pub unsafe fn ShowOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64) -> EVROverlayError ; # [doc = " Hides the VR overlay.  For dashboard overlays, only the Dashboard Manager is allowed to call this."] pub unsafe fn HideOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64) -> EVROverlayError ; # [doc = " Returns true if the overlay is visible."] pub unsafe fn IsOverlayVisible_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64) -> bool ; # [doc = " Get the transform in 3d space associated with a specific 2d point in the overlay's coordinate space (where 0,0 is the lower left). -Z points out of the overlay"] pub unsafe fn GetTransformForOverlayCoordinates_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , eTrackingOrigin : ETrackingUniverseOrigin , coordinatesInOverlay : * mut HmdVector2_t , pmatTransform : * mut HmdMatrix34_t) -> EVROverlayError ; # [doc = " Returns true and fills the event with the next event on the overlay's event queue, if there is one."] # [doc = " If there are no events this method returns false. uncbVREvent should be the size in bytes of the VREvent_t struct"] pub unsafe fn PollNextOverlayEvent_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pEvent : * mut VREvent_t , uncbVREvent : u32) -> bool ; # [doc = " Returns the current input settings for the specified overlay."] pub unsafe fn GetOverlayInputMethod_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , peInputMethod : * mut VROverlayInputMethod) -> EVROverlayError ; # [doc = " Sets the input settings for the specified overlay."] pub unsafe fn SetOverlayInputMethod_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , eInputMethod : VROverlayInputMethod) -> EVROverlayError ; # [doc = " Gets the mouse scaling factor that is used for mouse events. The actual texture may be a different size, but this is"] # [doc = " typically the size of the underlying UI in pixels."] pub unsafe fn GetOverlayMouseScale_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pvecMouseScale : * mut HmdVector2_t) -> EVROverlayError ; # [doc = " Sets the mouse scaling factor that is used for mouse events. The actual texture may be a different size, but this is"] # [doc = " typically the size of the underlying UI in pixels (not in world space)."] pub unsafe fn SetOverlayMouseScale_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pvecMouseScale : * const HmdVector2_t) -> EVROverlayError ; # [doc = " Computes the overlay-space pixel coordinates of where the ray intersects the overlay with the"] # [doc = " specified settings. Returns false if there is no intersection."] pub unsafe fn ComputeOverlayIntersection_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pParams : * const VROverlayIntersectionParams_t , pResults : * mut VROverlayIntersectionResults_t) -> bool ; # [doc = " Returns true if the specified overlay is the hover target. An overlay is the hover target when it is the last overlay \"moused over\""] # [doc = " by the virtual mouse pointer"] pub unsafe fn IsHoverTargetOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64) -> bool ; # [doc = " Sets a list of primitives to be used for controller ray intersection"] # [doc = " typically the size of the underlying UI in pixels (not in world space)."] pub unsafe fn SetOverlayIntersectionMask_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pMaskPrimitives : * mut VROverlayIntersectionMaskPrimitive_t , unNumMaskPrimitives : u32 , unPrimitiveSize : u32) -> EVROverlayError ; # [doc = " Triggers a haptic event on the laser mouse controller for the specified overlay"] pub unsafe fn TriggerLaserMouseHapticVibration_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , fDurationSeconds : f32 , fFrequency : f32 , fAmplitude : f32) -> EVROverlayError ; # [doc = " Sets the cursor to use for the specified overlay. This will be drawn instead of the generic blob when the laser mouse is pointed at the specified overlay"] pub unsafe fn SetOverlayCursor_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , ulCursorHandle : u64) -> EVROverlayError ; # [doc = " Sets the override cursor position to use for this overlay in overlay mouse coordinates. This position will be used to draw the cursor"] # [doc = " instead of whatever the laser mouse cursor position is."] pub unsafe fn SetOverlayCursorPositionOverride_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pvCursor : * const HmdVector2_t) -> EVROverlayError ; # [doc = " Clears the override cursor position for this overlay"] pub unsafe fn ClearOverlayCursorPositionOverride_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64) -> EVROverlayError ; # [doc = " Texture to draw for the overlay. This function can only be called by the overlay's creator or renderer process (see SetOverlayRenderingPid) ."] # [doc = ""] # [doc = " OpenGL dirty state:"] # [doc = "\tglBindTexture"] pub unsafe fn SetOverlayTexture_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pTexture : * const Texture_t) -> EVROverlayError ; # [doc = " Use this to tell the overlay system to release the texture set for this overlay."] pub unsafe fn ClearOverlayTexture_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64) -> EVROverlayError ; # [doc = " Separate interface for providing the data as a stream of bytes, but there is an upper bound on data"] # [doc = " that can be sent. This function can only be called by the overlay's renderer process."] pub unsafe fn SetOverlayRaw_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pvBuffer : * mut c_void , unWidth : u32 , unHeight : u32 , unBytesPerPixel : u32) -> EVROverlayError ; # [doc = " Separate interface for providing the image through a filename: can be png or jpg, and should not be bigger than 1920x1080."] # [doc = " This function can only be called by the overlay's renderer process"] pub unsafe fn SetOverlayFromFile_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pchFilePath : * const c_char) -> EVROverlayError ; # [doc = " Release the pNativeTextureHandle provided from the GetOverlayTexture call, this allows the system to free the underlying GPU resources for this object,"] # [doc = " so only do it once you stop rendering this texture."] pub unsafe fn ReleaseNativeOverlayHandle_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pNativeTextureHandle : * mut c_void) -> EVROverlayError ; # [doc = " Get the size of the overlay texture"] pub unsafe fn GetOverlayTextureSize_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pWidth : * mut u32 , pHeight : * mut u32) -> EVROverlayError ; # [doc = " Creates a dashboard overlay and returns its handle"] pub unsafe fn CreateDashboardOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , pchOverlayKey : * const c_char , pchOverlayFriendlyName : * const c_char , pMainHandle : * mut u64 , pThumbnailHandle : * mut u64) -> EVROverlayError ; # [doc = " Returns true if the dashboard is visible"] pub unsafe fn IsDashboardVisible_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay >) -> bool ; # [doc = " returns true if the dashboard is visible and the specified overlay is the active system Overlay"] pub unsafe fn IsActiveDashboardOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64) -> bool ; # [doc = " Sets the dashboard overlay to only appear when the specified process ID has scene focus"] pub unsafe fn SetDashboardOverlaySceneProcess_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , unProcessId : u32) -> EVROverlayError ; # [doc = " Gets the process ID that this dashboard overlay requires to have scene focus"] pub unsafe fn GetDashboardOverlaySceneProcess_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , punProcessId : * mut u32) -> EVROverlayError ; # [doc = " Shows the dashboard."] pub unsafe fn ShowDashboard_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , pchOverlayToShow : * const c_char) ; # [doc = " Returns the tracked device that has the laser pointer in the dashboard"] pub unsafe fn GetPrimaryDashboardDevice_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay >) -> u32 ; # [doc = " Show the virtual keyboard to accept input. In most cases, you should pass KeyboardFlag_Modal to enable modal overlay"] # [doc = " behavior on the keyboard itself. See EKeyboardFlags for more."] pub unsafe fn ShowKeyboard_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , eInputMode : EGamepadTextInputMode , eLineInputMode : EGamepadTextInputLineMode , unFlags : u32 , pchDescription : * const c_char , unCharMax : u32 , pchExistingText : * const c_char , uUserValue : u64) -> EVROverlayError ; # [doc = " Show the virtual keyboard to accept input for an overlay. In most cases, you should pass KeyboardFlag_Modal to enable modal"] # [doc = " overlay behavior on the keyboard itself. See EKeyboardFlags for more."] pub unsafe fn ShowKeyboardForOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , eInputMode : EGamepadTextInputMode , eLineInputMode : EGamepadTextInputLineMode , unFlags : u32 , pchDescription : * const c_char , unCharMax : u32 , pchExistingText : * const c_char , uUserValue : u64) -> EVROverlayError ; # [doc = " Get the text that was entered into the text input"] pub unsafe fn GetKeyboardText_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , pchText : * mut c_char , cchText : u32) -> u32 ; # [doc = " Hide the virtual keyboard"] pub unsafe fn HideKeyboard_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay >) ; # [doc = " Set the position of the keyboard in world space"] pub unsafe fn SetKeyboardTransformAbsolute_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , eTrackingOrigin : ETrackingUniverseOrigin , pmatTrackingOriginToKeyboardTransform : * const HmdMatrix34_t) ; # [doc = " Set the position of the keyboard in overlay space by telling it to avoid a rectangle in the overlay. Rectangle coords have (0,0) in the bottom left"] pub unsafe fn SetKeyboardPositionForOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , avoidRect : * mut HmdRect2_t) ; # [doc = " Show the message overlay. This will block and return you a result."] pub unsafe fn ShowMessageOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , pchText : * const c_char , pchCaption : * const c_char , pchButton0Text : * const c_char , pchButton1Text : * const c_char , pchButton2Text : * const c_char , pchButton3Text : * const c_char) -> VRMessageOverlayResponse ; # [doc = " If the calling process owns the overlay and it's open, this will close it."] pub unsafe fn CloseMessageOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay >) ; # [namespace = "vr"] # [doc = " Finds the active installation of the VR API and initializes it. The provided path must be absolute"] # [doc = " or relative to the current working directory. These are the local install versions of the equivalent"] # [doc = " functions in steamvr.h and will work without a local Steam install."] # [doc = ""] # [doc = " This path is to the \"root\" of the VR API install. That's the directory with"] # [doc = " the \"drivers\" directory and a platform (i.e. \"win32\") directory in it, not the directory with the DLL itself."] # [doc = ""] # [doc = " pStartupInfo is reserved for future use."] pub unsafe fn VR_Init (peError : * mut EVRInitError , eApplicationType : EVRApplicationType , pStartupInfo : * const c_char) -> * mut IVRSystem ; # [namespace = "vr"] # [doc = " unloads vrclient.dll. Any interface pointers from the interface are"] # [doc = " invalid after this point"] pub unsafe fn VR_Shutdown () ; # [namespace = "vr"] # [doc = " Returns the name of the enum value for an EVRInitError. This function may be called outside of VR_Init()/VR_Shutdown()."] pub unsafe fn VR_GetVRInitErrorAsSymbol (error : EVRInitError) -> * const c_char ; # [namespace = "vr"] pub unsafe fn VRSystem () -> * mut IVRSystem ; # [namespace = "vr"] pub unsafe fn VROverlay () -> * mut IVROverlay ; # [doc = "Synthesized destructor."] pub unsafe fn HmdMatrix34_t_autocxx_wrapper (autocxx_gen_this : * mut HmdMatrix34_t) ; # [doc = "Synthesized destructor."] pub unsafe fn IVRSystem_autocxx_wrapper (autocxx_gen_this : * mut IVRSystem) ; # [doc = "Synthesized destructor."] pub unsafe fn IVROverlay_autocxx_wrapper (autocxx_gen_this : * mut IVROverlay) ; # [namespace = "vr"] type EVREye = super :: bindgen :: root :: vr :: EVREye ; # [namespace = "vr"] type HmdMatrix44_t = super :: bindgen :: root :: vr :: HmdMatrix44_t ; # [namespace = "vr"] # [doc = " Used to return the post-distortion UVs for each color channel."] # [doc = " UVs range from 0 to 1 with 0,0 in the upper left corner of the"] # [doc = " source render target. The 0,0 to 1,1 range covers a single eye."] type DistortionCoordinates_t = super :: bindgen :: root :: vr :: DistortionCoordinates_t ; type VkInstance_T ; # [namespace = "vr"] type ETextureType = super :: bindgen :: root :: vr :: ETextureType ; # [namespace = "vr"] # [doc = " describes a single pose for a tracked object"] type TrackedDevicePose_t = super :: bindgen :: root :: vr :: TrackedDevicePose_t ; # [namespace = "vr"] # [doc = " Describes what kind of object is being tracked at a given ID"] type ETrackedDeviceClass = super :: bindgen :: root :: vr :: ETrackedDeviceClass ; # [namespace = "vr"] # [doc = " Level of Hmd activity"] type EDeviceActivityLevel = super :: bindgen :: root :: vr :: EDeviceActivityLevel ; # [namespace = "vr"] # [doc = " Describes what specific role associated with a tracked device"] type ETrackedControllerRole = super :: bindgen :: root :: vr :: ETrackedControllerRole ; # [namespace = "vr"] # [doc = " Each entry in this enum represents a property that can be retrieved about a"] # [doc = " tracked device. Many fields are only valid for one ETrackedDeviceClass."] type ETrackedDeviceProperty = super :: bindgen :: root :: vr :: ETrackedDeviceProperty ; # [namespace = "vr"] # [doc = " Used to return errors that occur when reading properties."] type ETrackedPropertyError = super :: bindgen :: root :: vr :: ETrackedPropertyError ; # [namespace = "vr"] # [doc = " An event posted by the server to all running applications"] type VREvent_t = super :: bindgen :: root :: vr :: VREvent_t ; # [namespace = "vr"] # [doc = " The types of events that could be posted (and what the parameters mean for each event type)"] type EVREventType = super :: bindgen :: root :: vr :: EVREventType ; # [namespace = "vr"] # [doc = " The mesh to draw into the stencil (or depth) buffer to perform"] # [doc = " early stencil (or depth) kills of pixels that will never appear on the HMD."] # [doc = " This mesh draws on all the pixels that will be hidden after distortion."] # [doc = ""] # [doc = " If the HMD does not provide a visible area mesh pVertexData will be"] # [doc = " NULL and unTriangleCount will be 0."] type HiddenAreaMesh_t = super :: bindgen :: root :: vr :: HiddenAreaMesh_t ; # [namespace = "vr"] type EHiddenAreaMeshType = super :: bindgen :: root :: vr :: EHiddenAreaMeshType ; # [namespace = "vr"] # [doc = " Holds all the state of a controller at one moment in time."] type VRControllerState001_t = super :: bindgen :: root :: vr :: VRControllerState001_t ; # [namespace = "vr"] # [doc = " VR controller button and axis IDs"] type EVRButtonId = super :: bindgen :: root :: vr :: EVRButtonId ; # [namespace = "vr"] # [doc = " Identifies what kind of axis is on the controller at index n. Read this type"] # [doc = " with pVRSystem->Get( nControllerDeviceIndex, Prop_Axis0Type_Int32 + n );"] type EVRControllerAxisType = super :: bindgen :: root :: vr :: EVRControllerAxisType ; # [namespace = "vr"] # [doc = " error codes for firmware"] type EVRFirmwareError = super :: bindgen :: root :: vr :: EVRFirmwareError ; # [namespace = "vr"] # [doc = " Overlay control settings"] type VROverlayFlags = super :: bindgen :: root :: vr :: VROverlayFlags ; # [namespace = "vr"] type EColorSpace = super :: bindgen :: root :: vr :: EColorSpace ; # [namespace = "vr"] # [doc = " Allows the application to control what part of the provided texture will be used in the"] # [doc = " frame buffer."] type VRTextureBounds_t = super :: bindgen :: root :: vr :: VRTextureBounds_t ; # [namespace = "vr"] # [doc = " Allows the caller to figure out which overlay transform getter to call."] type VROverlayTransformType = super :: bindgen :: root :: vr :: VROverlayTransformType ; # [namespace = "vr"] type HmdVector2_t = super :: bindgen :: root :: vr :: HmdVector2_t ; # [namespace = "vr"] # [doc = " Defines the project used in an overlay that is using SetOverlayTransformProjection"] type VROverlayProjection_t = super :: bindgen :: root :: vr :: VROverlayProjection_t ; # [namespace = "vr"] # [doc = " Types of input supported by VR Overlays"] type VROverlayInputMethod = super :: bindgen :: root :: vr :: VROverlayInputMethod ; # [namespace = "vr"] type VROverlayIntersectionParams_t = super :: bindgen :: root :: vr :: VROverlayIntersectionParams_t ; # [namespace = "vr"] type VROverlayIntersectionResults_t = super :: bindgen :: root :: vr :: VROverlayIntersectionResults_t ; # [namespace = "vr"] type VROverlayIntersectionMaskPrimitive_t = super :: bindgen :: root :: vr :: VROverlayIntersectionMaskPrimitive_t ; # [namespace = "vr"] type Texture_t = super :: bindgen :: root :: vr :: Texture_t ; # [namespace = "vr"] type EGamepadTextInputMode = super :: bindgen :: root :: vr :: EGamepadTextInputMode ; # [namespace = "vr"] type EGamepadTextInputLineMode = super :: bindgen :: root :: vr :: EGamepadTextInputLineMode ; # [namespace = "vr"] type HmdRect2_t = super :: bindgen :: root :: vr :: HmdRect2_t ; # [namespace = "vr"] type VRMessageOverlayResponse = super :: bindgen :: root :: vr :: VRMessageOverlayResponse ; pub unsafe fn HmdMatrix44_t_alloc_autocxx_wrapper () -> * mut HmdMatrix44_t ; pub unsafe fn HmdMatrix44_t_free_autocxx_wrapper (arg0 : * mut HmdMatrix44_t) ; pub unsafe fn DistortionCoordinates_t_alloc_autocxx_wrapper () -> * mut DistortionCoordinates_t ; pub unsafe fn DistortionCoordinates_t_free_autocxx_wrapper (arg0 : * mut DistortionCoordinates_t) ; # [doc = "Synthesized move constructor."] pub unsafe fn vr_DistortionCoordinates_t_new_synthetic_move_ctor_autocxx_wrapper (autocxx_gen_this : * mut DistortionCoordinates_t , other : * mut DistortionCoordinates_t) ; # [doc = "Synthesized copy constructor."] pub unsafe fn vr_DistortionCoordinates_t_new_synthetic_const_copy_ctor_autocxx_wrapper (autocxx_gen_this : * mut DistortionCoordinates_t , other : & DistortionCoordinates_t) ; pub unsafe fn TrackedDevicePose_t_alloc_autocxx_wrapper () -> * mut TrackedDevicePose_t ; pub unsafe fn TrackedDevicePose_t_free_autocxx_wrapper (arg0 : * mut TrackedDevicePose_t) ; pub unsafe fn VREvent_t_alloc_autocxx_wrapper () -> * mut VREvent_t ; pub unsafe fn VREvent_t_free_autocxx_wrapper (arg0 : * mut VREvent_t) ; # [doc = "Synthesized move constructor."] pub unsafe fn vr_VREvent_t_new_synthetic_move_ctor_autocxx_wrapper (autocxx_gen_this : * mut VREvent_t , other : * mut VREvent_t) ; # [doc = "Synthesized copy constructor."] pub unsafe fn vr_VREvent_t_new_synthetic_const_copy_ctor_autocxx_wrapper (autocxx_gen_this : * mut VREvent_t , other : & VREvent_t) ; pub unsafe fn HiddenAreaMesh_t_alloc_autocxx_wrapper () -> * mut HiddenAreaMesh_t ; pub unsafe fn HiddenAreaMesh_t_free_autocxx_wrapper (arg0 : * mut HiddenAreaMesh_t) ; # [doc = "Synthesized move constructor."] pub unsafe fn vr_HiddenAreaMesh_t_new_synthetic_move_ctor_autocxx_wrapper (autocxx_gen_this : * mut HiddenAreaMesh_t , other : * mut HiddenAreaMesh_t) ; # [doc = "Synthesized copy constructor."] pub unsafe fn vr_HiddenAreaMesh_t_new_synthetic_const_copy_ctor_autocxx_wrapper (autocxx_gen_this : * mut HiddenAreaMesh_t , other : & HiddenAreaMesh_t) ; pub unsafe fn VRControllerState001_t_alloc_autocxx_wrapper () -> * mut VRControllerState001_t ; pub unsafe fn VRControllerState001_t_free_autocxx_wrapper (arg0 : * mut VRControllerState001_t) ; # [doc = "Synthesized move constructor."] pub unsafe fn vr_VRControllerState001_t_new_synthetic_move_ctor_autocxx_wrapper (autocxx_gen_this : * mut VRControllerState001_t , other : * mut VRControllerState001_t) ; # [doc = "Synthesized copy constructor."] pub unsafe fn vr_VRControllerState001_t_new_synthetic_const_copy_ctor_autocxx_wrapper (autocxx_gen_this : * mut VRControllerState001_t , other : & VRControllerState001_t) ; pub unsafe fn VRTextureBounds_t_alloc_autocxx_wrapper () -> * mut VRTextureBounds_t ; pub unsafe fn VRTextureBounds_t_free_autocxx_wrapper (arg0 : * mut VRTextureBounds_t) ; # [doc = "Synthesized move constructor."] pub unsafe fn vr_VRTextureBounds_t_new_synthetic_move_ctor_autocxx_wrapper (autocxx_gen_this : * mut VRTextureBounds_t , other : * mut VRTextureBounds_t) ; # [doc = "Synthesized copy constructor."] pub unsafe fn vr_VRTextureBounds_t_new_synthetic_const_copy_ctor_autocxx_wrapper (autocxx_gen_this : * mut VRTextureBounds_t , other : & VRTextureBounds_t) ; pub unsafe fn HmdVector2_t_alloc_autocxx_wrapper () -> * mut HmdVector2_t ; pub unsafe fn HmdVector2_t_free_autocxx_wrapper (arg0 : * mut HmdVector2_t) ; # [doc = "Synthesized move constructor."] pub unsafe fn vr_HmdVector2_t_new_synthetic_move_ctor_autocxx_wrapper (autocxx_gen_this : * mut HmdVector2_t , other : * mut HmdVector2_t) ; # [doc = "Synthesized copy constructor."] pub unsafe fn vr_HmdVector2_t_new_synthetic_const_copy_ctor_autocxx_wrapper (autocxx_gen_this : * mut HmdVector2_t , other : & HmdVector2_t) ; pub unsafe fn VROverlayProjection_t_alloc_autocxx_wrapper () -> * mut VROverlayProjection_t ; pub unsafe fn VROverlayProjection_t_free_autocxx_wrapper (arg0 : * mut VROverlayProjection_t) ; # [doc = "Synthesized move constructor."] pub unsafe fn vr_VROverlayProjection_t_new_synthetic_move_ctor_autocxx_wrapper (autocxx_gen_this : * mut VROverlayProjection_t , other : * mut VROverlayProjection_t) ; # [doc = "Synthesized copy constructor."] pub unsafe fn vr_VROverlayProjection_t_new_synthetic_const_copy_ctor_autocxx_wrapper (autocxx_gen_this : * mut VROverlayProjection_t , other : & VROverlayProjection_t) ; pub unsafe fn VROverlayIntersectionParams_t_alloc_autocxx_wrapper () -> * mut VROverlayIntersectionParams_t ; pub unsafe fn VROverlayIntersectionParams_t_free_autocxx_wrapper (arg0 : * mut VROverlayIntersectionParams_t) ; pub unsafe fn VROverlayIntersectionResults_t_alloc_autocxx_wrapper () -> * mut VROverlayIntersectionResults_t ; pub unsafe fn VROverlayIntersectionResults_t_free_autocxx_wrapper (arg0 : * mut VROverlayIntersectionResults_t) ; # [doc = "Synthesized move constructor."] pub unsafe fn vr_VROverlayIntersectionResults_t_new_synthetic_move_ctor_autocxx_wrapper (autocxx_gen_this : * mut VROverlayIntersectionResults_t , other : * mut VROverlayIntersectionResults_t) ; # [doc = "Synthesized copy constructor."] pub unsafe fn vr_VROverlayIntersectionResults_t_new_synthetic_const_copy_ctor_autocxx_wrapper (autocxx_gen_this : * mut VROverlayIntersectionResults_t , other : & VROverlayIntersectionResults_t) ; pub unsafe fn VROverlayIntersectionMaskPrimitive_t_alloc_autocxx_wrapper () -> * mut VROverlayIntersectionMaskPrimitive_t ; pub unsafe fn VROverlayIntersectionMaskPrimitive_t_free_autocxx_wrapper (arg0 : * mut VROverlayIntersectionMaskPrimitive_t) ; pub unsafe fn Texture_t_alloc_autocxx_wrapper () -> * mut Texture_t ; pub unsafe fn Texture_t_free_autocxx_wrapper (arg0 : * mut Texture_t) ; pub unsafe fn HmdRect2_t_alloc_autocxx_wrapper () -> * mut HmdRect2_t ; pub unsafe fn HmdRect2_t_free_autocxx_wrapper (arg0 : * mut HmdRect2_t) ; # [doc = "Synthesized move constructor."] pub unsafe fn vr_HmdRect2_t_new_synthetic_move_ctor_autocxx_wrapper (autocxx_gen_this : * mut HmdRect2_t , other : * mut HmdRect2_t) ; # [doc = "Synthesized copy constructor."] pub unsafe fn vr_HmdRect2_t_new_synthetic_const_copy_ctor_autocxx_wrapper (autocxx_gen_this : * mut HmdRect2_t , other : & HmdRect2_t) ; type c_void = autocxx :: c_void ; type c_ushort = autocxx :: c_ushort ; include ! ("openvr.h") ; include ! ("autocxxgen_ffi.h") ; } extern "Rust" { } } # [allow (unused_imports)] use bindgen :: root ; pub use cxxbridge :: autocxx_make_string as make_string ; pub use bindgen :: root :: VkInstance_T ; pub mod vr { pub use super :: bindgen :: root :: vr :: HmdMatrix34_t ; pub use super :: bindgen :: root :: vr :: ETrackingUniverseOrigin ; pub use super :: bindgen :: root :: vr :: VROverlayHandle_t ; pub use super :: bindgen :: root :: vr :: EVROverlayError ; pub use super :: bindgen :: root :: vr :: EVRApplicationType ; pub use super :: bindgen :: root :: vr :: EVRInitError ; pub use super :: bindgen :: root :: vr :: IVRSystem ; pub use super :: bindgen :: root :: vr :: IVROverlay ; pub use super :: cxxbridge :: VR_Init ; pub use super :: cxxbridge :: VR_Shutdown ; pub use super :: cxxbridge :: VR_GetVRInitErrorAsSymbol ; pub use super :: cxxbridge :: VRSystem ; pub use super :: cxxbridge :: VROverlay ; pub use super :: bindgen :: root :: vr :: EVREye ; pub use super :: bindgen :: root :: vr :: HmdMatrix44_t ; pub use super :: bindgen :: root :: vr :: DistortionCoordinates_t ; pub use super :: bindgen :: root :: vr :: ETextureType ; pub use super :: bindgen :: root :: vr :: TrackedDevicePose_t ; pub use super :: bindgen :: root :: vr :: TrackedDeviceIndex_t ; pub use super :: bindgen :: root :: vr :: ETrackedDeviceClass ; pub use super :: bindgen :: root :: vr :: EDeviceActivityLevel ; pub use super :: bindgen :: root :: vr :: ETrackedControllerRole ; pub use super :: bindgen :: root :: vr :: ETrackedDeviceProperty ; pub use super :: bindgen :: root :: vr :: ETrackedPropertyError ; pub use super :: bindgen :: root :: vr :: PropertyTypeTag_t ; pub use super :: bindgen :: root :: vr :: VREvent_t ; pub use super :: bindgen :: root :: vr :: EVREventType ; pub use super :: bindgen :: root :: vr :: HiddenAreaMesh_t ; pub use super :: bindgen :: root :: vr :: EHiddenAreaMeshType ; pub use super :: bindgen :: root :: vr :: VRControllerState_t ; pub use super :: bindgen :: root :: vr :: VRControllerState001_t ; pub use super :: bindgen :: root :: vr :: EVRButtonId ; pub use super :: bindgen :: root :: vr :: EVRControllerAxisType ; pub use super :: bindgen :: root :: vr :: EVRFirmwareError ; pub use super :: bindgen :: root :: vr :: VROverlayFlags ; pub use super :: bindgen :: root :: vr :: EColorSpace ; pub use super :: bindgen :: root :: vr :: VRTextureBounds_t ; pub use super :: bindgen :: root :: vr :: VROverlayTransformType ; pub use super :: bindgen :: root :: vr :: HmdVector2_t ; pub use super :: bindgen :: root :: vr :: VROverlayProjection_t ; pub use super :: bindgen :: root :: vr :: VROverlayInputMethod ; pub use super :: bindgen :: root :: vr :: VROverlayIntersectionParams_t ; pub use super :: bindgen :: root :: vr :: VROverlayIntersectionResults_t ; pub use super :: bindgen :: root :: vr :: VROverlayIntersectionMaskPrimitive_t ; pub use super :: bindgen :: root :: vr :: Texture_t ; pub use super :: bindgen :: root :: vr :: EGamepadTextInputMode ; pub use super :: bindgen :: root :: vr :: EGamepadTextInputLineMode ; pub use super :: bindgen :: root :: vr :: HmdRect2_t ; pub use super :: bindgen :: root :: vr :: VRMessageOverlayResponse ; } }
[INFO] [stdout]   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         +                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 35.17s
[INFO] running `Command { std: "docker" "inspect" "2f7481e84591deb3d1b681cd82df3a5b6f3cc8b81a3379cf607d85e02b8d4516", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f7481e84591deb3d1b681cd82df3a5b6f3cc8b81a3379cf607d85e02b8d4516", kill_on_drop: false }`
[INFO] [stdout] 2f7481e84591deb3d1b681cd82df3a5b6f3cc8b81a3379cf607d85e02b8d4516
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "RUSTC_BOOTSTRAP=1" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--document-private-items\"]" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fca0b0b7f558e4d2d06a0e26765682fb2188784802a75ac40c42c048270e4d9c
[INFO] running `Command { std: "docker" "start" "-a" "fca0b0b7f558e4d2d06a0e26765682fb2188784802a75ac40c42c048270e4d9c", kill_on_drop: false }`
[INFO] [stderr]  Documenting ovr_overlay_sys v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unclosed HTML tag `MTLDevice`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/ovr_overlay_sys-f4029b5d2f33ac9f/out/autocxx-build-dir/rs/autocxx-ffi-default-gen.rs:1:51129
[INFO] [stdout]   |
[INFO] [stdout] 1 | ... } # [doc = " Returns platform- and texture-type specific adapter identification so that applications and the"] # [doc = " compositor are creating textures and swap chains on the same GPU. If an error occurs the device"] # [doc = " will be set to 0."] # [doc = " pInstance is an optional parameter that is required only when textureType is TextureType_Vulkan."] # [doc = " [D3D10/11/12 Only (D3D9 Not Supported)]"] # [doc = "  Returns the adapter LUID that identifies the GPU attached to the HMD. The user should"] # [doc = "  enumerate all adapters using IDXGIFactory::EnumAdapters and IDXGIAdapter::GetDesc to find"] # [doc = "  the adapter with the matching LUID, or use IDXGIFactory4::EnumAdapterByLuid."] # [doc = "  The discovered IDXGIAdapter should be used to create the device and swap chain."] # [doc = " [Vulkan Only]"] # [doc = "  Returns the VkPhysicalDevice that should be used by the application."] # [doc = "  pInstance must be the instance the application will use to query for the VkPhysicalDevice.  The application"] # [doc = "  must create the VkInstance with extensions returned by IVRCompositor::GetVulkanInstanceExtensionsRequired enabled."] # [doc = " [macOS Only]"] # [doc = "  For TextureType_IOSurface returns the id<MTLDevice> that should be used by the application."] # [doc = "  On 10.13+ for TextureType_OpenGL returns the 'registryId' of the renderer which should be used"] # [doc = "   by the application. See Apple Technical Q&A QA1168 for information on enumerating GL Renderers, and the"] # [doc = "   new kCGLRPRegistryIDLow and kCGLRPRegistryIDHigh CGLRendererProperty values in the 10.13 SDK."] # [doc = "  Pre 10.13 for TextureType_OpenGL returns 0, as there is no dependable way to correlate the HMDs MTLDevice"] # [doc = "   with a GL Renderer."] pu...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
[INFO] [stdout] help: try marking as source code
[INFO] [stdout]   |
[INFO] [stdout] 1 | # [allow (non_snake_case)] # [allow (dead_code)] # [allow (non_upper_case_globals)] # [allow (non_camel_case_types)] mod ffi { pub trait ToCppString { fn into_cpp (self) -> cxx :: UniquePtr < cxx :: CxxString > ; } impl ToCppString for & str { fn into_cpp (self) -> cxx :: UniquePtr < cxx :: CxxString > { make_string (self) } } impl ToCppString for String { fn into_cpp (self) -> cxx :: UniquePtr < cxx :: CxxString > { make_string (& self) } } impl ToCppString for & String { fn into_cpp (self) -> cxx :: UniquePtr < cxx :: CxxString > { make_string (self) } } impl ToCppString for cxx :: UniquePtr < cxx :: CxxString > { fn into_cpp (self) -> cxx :: UniquePtr < cxx :: CxxString > { self } } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: HmdMatrix34_t { type Id = cxx :: type_id ! ("vr::HmdMatrix34_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: ETrackingUniverseOrigin { type Id = cxx :: type_id ! ("vr::ETrackingUniverseOrigin") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EVROverlayError { type Id = cxx :: type_id ! ("vr::EVROverlayError") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EVRApplicationType { type Id = cxx :: type_id ! ("vr::EVRApplicationType") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EVRInitError { type Id = cxx :: type_id ! ("vr::EVRInitError") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EVREye { type Id = cxx :: type_id ! ("vr::EVREye") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: HmdMatrix44_t { type Id = cxx :: type_id ! ("vr::HmdMatrix44_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: DistortionCoordinates_t { type Id = cxx :: type_id ! ("vr::DistortionCoordinates_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: ETextureType { type Id = cxx :: type_id ! ("vr::ETextureType") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: TrackedDevicePose_t { type Id = cxx :: type_id ! ("vr::TrackedDevicePose_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: ETrackedDeviceClass { type Id = cxx :: type_id ! ("vr::ETrackedDeviceClass") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EDeviceActivityLevel { type Id = cxx :: type_id ! ("vr::EDeviceActivityLevel") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: ETrackedControllerRole { type Id = cxx :: type_id ! ("vr::ETrackedControllerRole") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: ETrackedDeviceProperty { type Id = cxx :: type_id ! ("vr::ETrackedDeviceProperty") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: ETrackedPropertyError { type Id = cxx :: type_id ! ("vr::ETrackedPropertyError") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: VREvent_t { type Id = cxx :: type_id ! ("vr::VREvent_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EVREventType { type Id = cxx :: type_id ! ("vr::EVREventType") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: HiddenAreaMesh_t { type Id = cxx :: type_id ! ("vr::HiddenAreaMesh_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EHiddenAreaMeshType { type Id = cxx :: type_id ! ("vr::EHiddenAreaMeshType") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: VRControllerState001_t { type Id = cxx :: type_id ! ("vr::VRControllerState001_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EVRButtonId { type Id = cxx :: type_id ! ("vr::EVRButtonId") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EVRControllerAxisType { type Id = cxx :: type_id ! ("vr::EVRControllerAxisType") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EVRFirmwareError { type Id = cxx :: type_id ! ("vr::EVRFirmwareError") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: VROverlayFlags { type Id = cxx :: type_id ! ("vr::VROverlayFlags") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EColorSpace { type Id = cxx :: type_id ! ("vr::EColorSpace") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: VRTextureBounds_t { type Id = cxx :: type_id ! ("vr::VRTextureBounds_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: VROverlayTransformType { type Id = cxx :: type_id ! ("vr::VROverlayTransformType") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: HmdVector2_t { type Id = cxx :: type_id ! ("vr::HmdVector2_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: VROverlayProjection_t { type Id = cxx :: type_id ! ("vr::VROverlayProjection_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: VROverlayInputMethod { type Id = cxx :: type_id ! ("vr::VROverlayInputMethod") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: VROverlayIntersectionParams_t { type Id = cxx :: type_id ! ("vr::VROverlayIntersectionParams_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: VROverlayIntersectionResults_t { type Id = cxx :: type_id ! ("vr::VROverlayIntersectionResults_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: VROverlayIntersectionMaskPrimitive_t { type Id = cxx :: type_id ! ("vr::VROverlayIntersectionMaskPrimitive_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: Texture_t { type Id = cxx :: type_id ! ("vr::Texture_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EGamepadTextInputMode { type Id = cxx :: type_id ! ("vr::EGamepadTextInputMode") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: EGamepadTextInputLineMode { type Id = cxx :: type_id ! ("vr::EGamepadTextInputLineMode") ; type Kind = cxx :: kind :: Trivial ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: HmdRect2_t { type Id = cxx :: type_id ! ("vr::HmdRect2_t") ; type Kind = cxx :: kind :: Opaque ; } unsafe impl cxx :: ExternType for bindgen :: root :: vr :: VRMessageOverlayResponse { type Id = cxx :: type_id ! ("vr::VRMessageOverlayResponse") ; type Kind = cxx :: kind :: Trivial ; } mod bindgen { pub (super) mod root { pub use cxxbridge :: VkInstance_T ; pub mod vr { # [repr (C , align (4))] pub struct HmdMatrix34_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 48] } # [repr (u32)] # [doc = " Identifies which style of tracking origin the application wants to use"] # [doc = " for the poses it is requesting"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum ETrackingUniverseOrigin { TrackingUniverseSeated = 0 , TrackingUniverseStanding = 1 , TrackingUniverseRawAndUncalibrated = 2 , } # [doc = " used to refer to a single VR overlay"] pub type VROverlayHandle_t = u64 ; # [repr (u32)] # [doc = " Errors that can occur around VR overlays"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EVROverlayError { VROverlayError_None = 0 , VROverlayError_UnknownOverlay = 10 , VROverlayError_InvalidHandle = 11 , VROverlayError_PermissionDenied = 12 , VROverlayError_OverlayLimitExceeded = 13 , VROverlayError_WrongVisibilityType = 14 , VROverlayError_KeyTooLong = 15 , VROverlayError_NameTooLong = 16 , VROverlayError_KeyInUse = 17 , VROverlayError_WrongTransformType = 18 , VROverlayError_InvalidTrackedDevice = 19 , VROverlayError_InvalidParameter = 20 , VROverlayError_ThumbnailCantBeDestroyed = 21 , VROverlayError_ArrayTooSmall = 22 , VROverlayError_RequestFailed = 23 , VROverlayError_InvalidTexture = 24 , VROverlayError_UnableToLoadFile = 25 , VROverlayError_KeyboardAlreadyInUse = 26 , VROverlayError_NoNeighbor = 27 , VROverlayError_TooManyMaskPrimitives = 29 , VROverlayError_BadMaskPrimitive = 30 , VROverlayError_TextureAlreadyLocked = 31 , VROverlayError_TextureLockCapacityReached = 32 , VROverlayError_TextureNotLocked = 33 , } # [repr (u32)] # [doc = " enum values to pass in to VR_Init to identify whether the application will"] # [doc = " draw a 3D scene."] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EVRApplicationType { VRApplication_Other = 0 , VRApplication_Scene = 1 , VRApplication_Overlay = 2 , VRApplication_Background = 3 , VRApplication_Utility = 4 , VRApplication_VRMonitor = 5 , VRApplication_SteamWatchdog = 6 , VRApplication_Bootstrapper = 7 , VRApplication_WebHelper = 8 , VRApplication_OpenXRInstance = 9 , VRApplication_OpenXRScene = 10 , VRApplication_OpenXROverlay = 11 , VRApplication_Prism = 12 , VRApplication_Max = 13 , } # [repr (u32)] # [doc = " error codes returned by Vr_Init"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EVRInitError { VRInitError_None = 0 , VRInitError_Unknown = 1 , VRInitError_Init_InstallationNotFound = 100 , VRInitError_Init_InstallationCorrupt = 101 , VRInitError_Init_VRClientDLLNotFound = 102 , VRInitError_Init_FileNotFound = 103 , VRInitError_Init_FactoryNotFound = 104 , VRInitError_Init_InterfaceNotFound = 105 , VRInitError_Init_InvalidInterface = 106 , VRInitError_Init_UserConfigDirectoryInvalid = 107 , VRInitError_Init_HmdNotFound = 108 , VRInitError_Init_NotInitialized = 109 , VRInitError_Init_PathRegistryNotFound = 110 , VRInitError_Init_NoConfigPath = 111 , VRInitError_Init_NoLogPath = 112 , VRInitError_Init_PathRegistryNotWritable = 113 , VRInitError_Init_AppInfoInitFailed = 114 , VRInitError_Init_Retry = 115 , VRInitError_Init_InitCanceledByUser = 116 , VRInitError_Init_AnotherAppLaunching = 117 , VRInitError_Init_SettingsInitFailed = 118 , VRInitError_Init_ShuttingDown = 119 , VRInitError_Init_TooManyObjects = 120 , VRInitError_Init_NoServerForBackgroundApp = 121 , VRInitError_Init_NotSupportedWithCompositor = 122 , VRInitError_Init_NotAvailableToUtilityApps = 123 , VRInitError_Init_Internal = 124 , VRInitError_Init_HmdDriverIdIsNone = 125 , VRInitError_Init_HmdNotFoundPresenceFailed = 126 , VRInitError_Init_VRMonitorNotFound = 127 , VRInitError_Init_VRMonitorStartupFailed = 128 , VRInitError_Init_LowPowerWatchdogNotSupported = 129 , VRInitError_Init_InvalidApplicationType = 130 , VRInitError_Init_NotAvailableToWatchdogApps = 131 , VRInitError_Init_WatchdogDisabledInSettings = 132 , VRInitError_Init_VRDashboardNotFound = 133 , VRInitError_Init_VRDashboardStartupFailed = 134 , VRInitError_Init_VRHomeNotFound = 135 , VRInitError_Init_VRHomeStartupFailed = 136 , VRInitError_Init_RebootingBusy = 137 , VRInitError_Init_FirmwareUpdateBusy = 138 , VRInitError_Init_FirmwareRecoveryBusy = 139 , VRInitError_Init_USBServiceBusy = 140 , VRInitError_Init_VRWebHelperStartupFailed = 141 , VRInitError_Init_TrackerManagerInitFailed = 142 , VRInitError_Init_AlreadyRunning = 143 , VRInitError_Init_FailedForVrMonitor = 144 , VRInitError_Init_PropertyManagerInitFailed = 145 , VRInitError_Init_WebServerFailed = 146 , VRInitError_Init_IllegalTypeTransition = 147 , VRInitError_Init_MismatchedRuntimes = 148 , VRInitError_Init_InvalidProcessId = 149 , VRInitError_Init_VRServiceStartupFailed = 150 , VRInitError_Init_PrismNeedsNewDrivers = 151 , VRInitError_Init_PrismStartupTimedOut = 152 , VRInitError_Init_CouldNotStartPrism = 153 , VRInitError_Init_CreateDriverDirectDeviceFailed = 154 , VRInitError_Init_PrismExitedUnexpectedly = 155 , VRInitError_Driver_Failed = 200 , VRInitError_Driver_Unknown = 201 , VRInitError_Driver_HmdUnknown = 202 , VRInitError_Driver_NotLoaded = 203 , VRInitError_Driver_RuntimeOutOfDate = 204 , VRInitError_Driver_HmdInUse = 205 , VRInitError_Driver_NotCalibrated = 206 , VRInitError_Driver_CalibrationInvalid = 207 , VRInitError_Driver_HmdDisplayNotFound = 208 , VRInitError_Driver_TrackedDeviceInterfaceUnknown = 209 , VRInitError_Driver_HmdDriverIdOutOfBounds = 211 , VRInitError_Driver_HmdDisplayMirrored = 212 , VRInitError_Driver_HmdDisplayNotFoundLaptop = 213 , VRInitError_IPC_ServerInitFailed = 300 , VRInitError_IPC_ConnectFailed = 301 , VRInitError_IPC_SharedStateInitFailed = 302 , VRInitError_IPC_CompositorInitFailed = 303 , VRInitError_IPC_MutexInitFailed = 304 , VRInitError_IPC_Failed = 305 , VRInitError_IPC_CompositorConnectFailed = 306 , VRInitError_IPC_CompositorInvalidConnectResponse = 307 , VRInitError_IPC_ConnectFailedAfterMultipleAttempts = 308 , VRInitError_IPC_ConnectFailedAfterTargetExited = 309 , VRInitError_IPC_NamespaceUnavailable = 310 , VRInitError_Compositor_Failed = 400 , VRInitError_Compositor_D3D11HardwareRequired = 401 , VRInitError_Compositor_FirmwareRequiresUpdate = 402 , VRInitError_Compositor_OverlayInitFailed = 403 , VRInitError_Compositor_ScreenshotsInitFailed = 404 , VRInitError_Compositor_UnableToCreateDevice = 405 , VRInitError_Compositor_SharedStateIsNull = 406 , VRInitError_Compositor_NotificationManagerIsNull = 407 , VRInitError_Compositor_ResourceManagerClientIsNull = 408 , VRInitError_Compositor_MessageOverlaySharedStateInitFailure = 409 , VRInitError_Compositor_PropertiesInterfaceIsNull = 410 , VRInitError_Compositor_CreateFullscreenWindowFailed = 411 , VRInitError_Compositor_SettingsInterfaceIsNull = 412 , VRInitError_Compositor_FailedToShowWindow = 413 , VRInitError_Compositor_DistortInterfaceIsNull = 414 , VRInitError_Compositor_DisplayFrequencyFailure = 415 , VRInitError_Compositor_RendererInitializationFailed = 416 , VRInitError_Compositor_DXGIFactoryInterfaceIsNull = 417 , VRInitError_Compositor_DXGIFactoryCreateFailed = 418 , VRInitError_Compositor_DXGIFactoryQueryFailed = 419 , VRInitError_Compositor_InvalidAdapterDesktop = 420 , VRInitError_Compositor_InvalidHmdAttachment = 421 , VRInitError_Compositor_InvalidOutputDesktop = 422 , VRInitError_Compositor_InvalidDeviceProvided = 423 , VRInitError_Compositor_D3D11RendererInitializationFailed = 424 , VRInitError_Compositor_FailedToFindDisplayMode = 425 , VRInitError_Compositor_FailedToCreateSwapChain = 426 , VRInitError_Compositor_FailedToGetBackBuffer = 427 , VRInitError_Compositor_FailedToCreateRenderTarget = 428 , VRInitError_Compositor_FailedToCreateDXGI2SwapChain = 429 , VRInitError_Compositor_FailedtoGetDXGI2BackBuffer = 430 , VRInitError_Compositor_FailedToCreateDXGI2RenderTarget = 431 , VRInitError_Compositor_FailedToGetDXGIDeviceInterface = 432 , VRInitError_Compositor_SelectDisplayMode = 433 , VRInitError_Compositor_FailedToCreateNvAPIRenderTargets = 434 , VRInitError_Compositor_NvAPISetDisplayMode = 435 , VRInitError_Compositor_FailedToCreateDirectModeDisplay = 436 , VRInitError_Compositor_InvalidHmdPropertyContainer = 437 , VRInitError_Compositor_UpdateDisplayFrequency = 438 , VRInitError_Compositor_CreateRasterizerState = 439 , VRInitError_Compositor_CreateWireframeRasterizerState = 440 , VRInitError_Compositor_CreateSamplerState = 441 , VRInitError_Compositor_CreateClampToBorderSamplerState = 442 , VRInitError_Compositor_CreateAnisoSamplerState = 443 , VRInitError_Compositor_CreateOverlaySamplerState = 444 , VRInitError_Compositor_CreatePanoramaSamplerState = 445 , VRInitError_Compositor_CreateFontSamplerState = 446 , VRInitError_Compositor_CreateNoBlendState = 447 , VRInitError_Compositor_CreateBlendState = 448 , VRInitError_Compositor_CreateAlphaBlendState = 449 , VRInitError_Compositor_CreateBlendStateMaskR = 450 , VRInitError_Compositor_CreateBlendStateMaskG = 451 , VRInitError_Compositor_CreateBlendStateMaskB = 452 , VRInitError_Compositor_CreateDepthStencilState = 453 , VRInitError_Compositor_CreateDepthStencilStateNoWrite = 454 , VRInitError_Compositor_CreateDepthStencilStateNoDepth = 455 , VRInitError_Compositor_CreateFlushTexture = 456 , VRInitError_Compositor_CreateDistortionSurfaces = 457 , VRInitError_Compositor_CreateConstantBuffer = 458 , VRInitError_Compositor_CreateHmdPoseConstantBuffer = 459 , VRInitError_Compositor_CreateHmdPoseStagingConstantBuffer = 460 , VRInitError_Compositor_CreateSharedFrameInfoConstantBuffer = 461 , VRInitError_Compositor_CreateOverlayConstantBuffer = 462 , VRInitError_Compositor_CreateSceneTextureIndexConstantBuffer = 463 , VRInitError_Compositor_CreateReadableSceneTextureIndexConstantBuffer = 464 , VRInitError_Compositor_CreateLayerGraphicsTextureIndexConstantBuffer = 465 , VRInitError_Compositor_CreateLayerComputeTextureIndexConstantBuffer = 466 , VRInitError_Compositor_CreateLayerComputeSceneTextureIndexConstantBuffer = 467 , VRInitError_Compositor_CreateComputeHmdPoseConstantBuffer = 468 , VRInitError_Compositor_CreateGeomConstantBuffer = 469 , VRInitError_Compositor_CreatePanelMaskConstantBuffer = 470 , VRInitError_Compositor_CreatePixelSimUBO = 471 , VRInitError_Compositor_CreateMSAARenderTextures = 472 , VRInitError_Compositor_CreateResolveRenderTextures = 473 , VRInitError_Compositor_CreateComputeResolveRenderTextures = 474 , VRInitError_Compositor_CreateDriverDirectModeResolveTextures = 475 , VRInitError_Compositor_OpenDriverDirectModeResolveTextures = 476 , VRInitError_Compositor_CreateFallbackSyncTexture = 477 , VRInitError_Compositor_ShareFallbackSyncTexture = 478 , VRInitError_Compositor_CreateOverlayIndexBuffer = 479 , VRInitError_Compositor_CreateOverlayVertexBuffer = 480 , VRInitError_Compositor_CreateTextVertexBuffer = 481 , VRInitError_Compositor_CreateTextIndexBuffer = 482 , VRInitError_Compositor_CreateMirrorTextures = 483 , VRInitError_Compositor_CreateLastFrameRenderTexture = 484 , VRInitError_Compositor_CreateMirrorOverlay = 485 , VRInitError_Compositor_FailedToCreateVirtualDisplayBackbuffer = 486 , VRInitError_Compositor_DisplayModeNotSupported = 487 , VRInitError_Compositor_CreateOverlayInvalidCall = 488 , VRInitError_Compositor_CreateOverlayAlreadyInitialized = 489 , VRInitError_Compositor_FailedToCreateMailbox = 490 , VRInitError_Compositor_WindowInterfaceIsNull = 491 , VRInitError_Compositor_SystemLayerCreateInstance = 492 , VRInitError_Compositor_SystemLayerCreateSession = 493 , VRInitError_VendorSpecific_UnableToConnectToOculusRuntime = 1000 , VRInitError_VendorSpecific_WindowsNotInDevMode = 1001 , VRInitError_VendorSpecific_HmdFound_CantOpenDevice = 1101 , VRInitError_VendorSpecific_HmdFound_UnableToRequestConfigStart = 1102 , VRInitError_VendorSpecific_HmdFound_NoStoredConfig = 1103 , VRInitError_VendorSpecific_HmdFound_ConfigTooBig = 1104 , VRInitError_VendorSpecific_HmdFound_ConfigTooSmall = 1105 , VRInitError_VendorSpecific_HmdFound_UnableToInitZLib = 1106 , VRInitError_VendorSpecific_HmdFound_CantReadFirmwareVersion = 1107 , VRInitError_VendorSpecific_HmdFound_UnableToSendUserDataStart = 1108 , VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataStart = 1109 , VRInitError_VendorSpecific_HmdFound_UnableToGetUserDataNext = 1110 , VRInitError_VendorSpecific_HmdFound_UserDataAddressRange = 1111 , VRInitError_VendorSpecific_HmdFound_UserDataError = 1112 , VRInitError_VendorSpecific_HmdFound_ConfigFailedSanityCheck = 1113 , VRInitError_VendorSpecific_OculusRuntimeBadInstall = 1114 , VRInitError_Steam_SteamInstallationNotFound = 2000 , VRInitError_LastError = 2001 , } pub use cxxbridge :: IVRSystem ; pub use cxxbridge :: IVROverlay ; # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EVREye { Eye_Left = 0 , Eye_Right = 1 , } # [repr (C , align (4))] pub struct HmdMatrix44_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 64] } # [doc = " Used to return the post-distortion UVs for each color channel."] # [doc = " UVs range from 0 to 1 with 0,0 in the upper left corner of the"] # [doc = " source render target. The 0,0 to 1,1 range covers a single eye."] # [repr (C , align (4))] pub struct DistortionCoordinates_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 24] } # [repr (i32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum ETextureType { TextureType_Invalid = - 1 , TextureType_DirectX = 0 , TextureType_OpenGL = 1 , TextureType_Vulkan = 2 , TextureType_IOSurface = 3 , TextureType_DirectX12 = 4 , TextureType_DXGISharedHandle = 5 , TextureType_Metal = 6 , } # [doc = " describes a single pose for a tracked object"] # [repr (C , align (4))] pub struct TrackedDevicePose_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 80] } # [doc = " Used to pass device IDs to API calls"] pub type TrackedDeviceIndex_t = u32 ; # [repr (u32)] # [doc = " Describes what kind of object is being tracked at a given ID"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum ETrackedDeviceClass { TrackedDeviceClass_Invalid = 0 , TrackedDeviceClass_HMD = 1 , TrackedDeviceClass_Controller = 2 , TrackedDeviceClass_GenericTracker = 3 , TrackedDeviceClass_TrackingReference = 4 , TrackedDeviceClass_DisplayRedirect = 5 , TrackedDeviceClass_Max = 6 , } # [repr (i32)] # [doc = " Level of Hmd activity"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EDeviceActivityLevel { k_EDeviceActivityLevel_Unknown = - 1 , k_EDeviceActivityLevel_Idle = 0 , k_EDeviceActivityLevel_UserInteraction = 1 , k_EDeviceActivityLevel_UserInteraction_Timeout = 2 , k_EDeviceActivityLevel_Standby = 3 , k_EDeviceActivityLevel_Idle_Timeout = 4 , } # [repr (u32)] # [doc = " Describes what specific role associated with a tracked device"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum ETrackedControllerRole { TrackedControllerRole_Invalid = 0 , TrackedControllerRole_LeftHand = 1 , TrackedControllerRole_RightHand = 2 , TrackedControllerRole_OptOut = 3 , TrackedControllerRole_Treadmill = 4 , TrackedControllerRole_Stylus = 5 , } # [repr (u32)] # [doc = " Each entry in this enum represents a property that can be retrieved about a"] # [doc = " tracked device. Many fields are only valid for one ETrackedDeviceClass."] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum ETrackedDeviceProperty { Prop_Invalid = 0 , Prop_TrackingSystemName_String = 1000 , Prop_ModelNumber_String = 1001 , Prop_SerialNumber_String = 1002 , Prop_RenderModelName_String = 1003 , Prop_WillDriftInYaw_Bool = 1004 , Prop_ManufacturerName_String = 1005 , Prop_TrackingFirmwareVersion_String = 1006 , Prop_HardwareRevision_String = 1007 , Prop_AllWirelessDongleDescriptions_String = 1008 , Prop_ConnectedWirelessDongle_String = 1009 , Prop_DeviceIsWireless_Bool = 1010 , Prop_DeviceIsCharging_Bool = 1011 , Prop_DeviceBatteryPercentage_Float = 1012 , Prop_StatusDisplayTransform_Matrix34 = 1013 , Prop_Firmware_UpdateAvailable_Bool = 1014 , Prop_Firmware_ManualUpdate_Bool = 1015 , Prop_Firmware_ManualUpdateURL_String = 1016 , Prop_HardwareRevision_Uint64 = 1017 , Prop_FirmwareVersion_Uint64 = 1018 , Prop_FPGAVersion_Uint64 = 1019 , Prop_VRCVersion_Uint64 = 1020 , Prop_RadioVersion_Uint64 = 1021 , Prop_DongleVersion_Uint64 = 1022 , Prop_BlockServerShutdown_Bool = 1023 , Prop_CanUnifyCoordinateSystemWithHmd_Bool = 1024 , Prop_ContainsProximitySensor_Bool = 1025 , Prop_DeviceProvidesBatteryStatus_Bool = 1026 , Prop_DeviceCanPowerOff_Bool = 1027 , Prop_Firmware_ProgrammingTarget_String = 1028 , Prop_DeviceClass_Int32 = 1029 , Prop_HasCamera_Bool = 1030 , Prop_DriverVersion_String = 1031 , Prop_Firmware_ForceUpdateRequired_Bool = 1032 , Prop_ViveSystemButtonFixRequired_Bool = 1033 , Prop_ParentDriver_Uint64 = 1034 , Prop_ResourceRoot_String = 1035 , Prop_RegisteredDeviceType_String = 1036 , Prop_InputProfilePath_String = 1037 , Prop_NeverTracked_Bool = 1038 , Prop_NumCameras_Int32 = 1039 , Prop_CameraFrameLayout_Int32 = 1040 , Prop_CameraStreamFormat_Int32 = 1041 , Prop_AdditionalDeviceSettingsPath_String = 1042 , Prop_Identifiable_Bool = 1043 , Prop_BootloaderVersion_Uint64 = 1044 , Prop_AdditionalSystemReportData_String = 1045 , Prop_CompositeFirmwareVersion_String = 1046 , Prop_Firmware_RemindUpdate_Bool = 1047 , Prop_PeripheralApplicationVersion_Uint64 = 1048 , Prop_ManufacturerSerialNumber_String = 1049 , Prop_ComputedSerialNumber_String = 1050 , Prop_EstimatedDeviceFirstUseTime_Int32 = 1051 , Prop_ReportsTimeSinceVSync_Bool = 2000 , Prop_SecondsFromVsyncToPhotons_Float = 2001 , Prop_DisplayFrequency_Float = 2002 , Prop_UserIpdMeters_Float = 2003 , Prop_CurrentUniverseId_Uint64 = 2004 , Prop_PreviousUniverseId_Uint64 = 2005 , Prop_DisplayFirmwareVersion_Uint64 = 2006 , Prop_IsOnDesktop_Bool = 2007 , Prop_DisplayMCType_Int32 = 2008 , Prop_DisplayMCOffset_Float = 2009 , Prop_DisplayMCScale_Float = 2010 , Prop_EdidVendorID_Int32 = 2011 , Prop_DisplayMCImageLeft_String = 2012 , Prop_DisplayMCImageRight_String = 2013 , Prop_DisplayGCBlackClamp_Float = 2014 , Prop_EdidProductID_Int32 = 2015 , Prop_CameraToHeadTransform_Matrix34 = 2016 , Prop_DisplayGCType_Int32 = 2017 , Prop_DisplayGCOffset_Float = 2018 , Prop_DisplayGCScale_Float = 2019 , Prop_DisplayGCPrescale_Float = 2020 , Prop_DisplayGCImage_String = 2021 , Prop_LensCenterLeftU_Float = 2022 , Prop_LensCenterLeftV_Float = 2023 , Prop_LensCenterRightU_Float = 2024 , Prop_LensCenterRightV_Float = 2025 , Prop_UserHeadToEyeDepthMeters_Float = 2026 , Prop_CameraFirmwareVersion_Uint64 = 2027 , Prop_CameraFirmwareDescription_String = 2028 , Prop_DisplayFPGAVersion_Uint64 = 2029 , Prop_DisplayBootloaderVersion_Uint64 = 2030 , Prop_DisplayHardwareVersion_Uint64 = 2031 , Prop_AudioFirmwareVersion_Uint64 = 2032 , Prop_CameraCompatibilityMode_Int32 = 2033 , Prop_ScreenshotHorizontalFieldOfViewDegrees_Float = 2034 , Prop_ScreenshotVerticalFieldOfViewDegrees_Float = 2035 , Prop_DisplaySuppressed_Bool = 2036 , Prop_DisplayAllowNightMode_Bool = 2037 , Prop_DisplayMCImageWidth_Int32 = 2038 , Prop_DisplayMCImageHeight_Int32 = 2039 , Prop_DisplayMCImageNumChannels_Int32 = 2040 , Prop_DisplayMCImageData_Binary = 2041 , Prop_SecondsFromPhotonsToVblank_Float = 2042 , Prop_DriverDirectModeSendsVsyncEvents_Bool = 2043 , Prop_DisplayDebugMode_Bool = 2044 , Prop_GraphicsAdapterLuid_Uint64 = 2045 , Prop_DriverProvidedChaperonePath_String = 2048 , Prop_ExpectedTrackingReferenceCount_Int32 = 2049 , Prop_ExpectedControllerCount_Int32 = 2050 , Prop_NamedIconPathControllerLeftDeviceOff_String = 2051 , Prop_NamedIconPathControllerRightDeviceOff_String = 2052 , Prop_NamedIconPathTrackingReferenceDeviceOff_String = 2053 , Prop_DoNotApplyPrediction_Bool = 2054 , Prop_CameraToHeadTransforms_Matrix34_Array = 2055 , Prop_DistortionMeshResolution_Int32 = 2056 , Prop_DriverIsDrawingControllers_Bool = 2057 , Prop_DriverRequestsApplicationPause_Bool = 2058 , Prop_DriverRequestsReducedRendering_Bool = 2059 , Prop_MinimumIpdStepMeters_Float = 2060 , Prop_AudioBridgeFirmwareVersion_Uint64 = 2061 , Prop_ImageBridgeFirmwareVersion_Uint64 = 2062 , Prop_ImuToHeadTransform_Matrix34 = 2063 , Prop_ImuFactoryGyroBias_Vector3 = 2064 , Prop_ImuFactoryGyroScale_Vector3 = 2065 , Prop_ImuFactoryAccelerometerBias_Vector3 = 2066 , Prop_ImuFactoryAccelerometerScale_Vector3 = 2067 , Prop_ConfigurationIncludesLighthouse20Features_Bool = 2069 , Prop_AdditionalRadioFeatures_Uint64 = 2070 , Prop_CameraWhiteBalance_Vector4_Array = 2071 , Prop_CameraDistortionFunction_Int32_Array = 2072 , Prop_CameraDistortionCoefficients_Float_Array = 2073 , Prop_ExpectedControllerType_String = 2074 , Prop_HmdTrackingStyle_Int32 = 2075 , Prop_DriverProvidedChaperoneVisibility_Bool = 2076 , Prop_HmdColumnCorrectionSettingPrefix_String = 2077 , Prop_CameraSupportsCompatibilityModes_Bool = 2078 , Prop_SupportsRoomViewDepthProjection_Bool = 2079 , Prop_DisplayAvailableFrameRates_Float_Array = 2080 , Prop_DisplaySupportsMultipleFramerates_Bool = 2081 , Prop_DisplayColorMultLeft_Vector3 = 2082 , Prop_DisplayColorMultRight_Vector3 = 2083 , Prop_DisplaySupportsRuntimeFramerateChange_Bool = 2084 , Prop_DisplaySupportsAnalogGain_Bool = 2085 , Prop_DisplayMinAnalogGain_Float = 2086 , Prop_DisplayMaxAnalogGain_Float = 2087 , Prop_CameraExposureTime_Float = 2088 , Prop_CameraGlobalGain_Float = 2089 , Prop_DashboardScale_Float = 2091 , Prop_IpdUIRangeMinMeters_Float = 2100 , Prop_IpdUIRangeMaxMeters_Float = 2101 , Prop_Hmd_SupportsHDCP14LegacyCompat_Bool = 2102 , Prop_Hmd_SupportsMicMonitoring_Bool = 2103 , Prop_DriverRequestedMuraCorrectionMode_Int32 = 2200 , Prop_DriverRequestedMuraFeather_InnerLeft_Int32 = 2201 , Prop_DriverRequestedMuraFeather_InnerRight_Int32 = 2202 , Prop_DriverRequestedMuraFeather_InnerTop_Int32 = 2203 , Prop_DriverRequestedMuraFeather_InnerBottom_Int32 = 2204 , Prop_DriverRequestedMuraFeather_OuterLeft_Int32 = 2205 , Prop_DriverRequestedMuraFeather_OuterRight_Int32 = 2206 , Prop_DriverRequestedMuraFeather_OuterTop_Int32 = 2207 , Prop_DriverRequestedMuraFeather_OuterBottom_Int32 = 2208 , Prop_Audio_DefaultPlaybackDeviceId_String = 2300 , Prop_Audio_DefaultRecordingDeviceId_String = 2301 , Prop_Audio_DefaultPlaybackDeviceVolume_Float = 2302 , Prop_Audio_SupportsDualSpeakerAndJackOutput_Bool = 2303 , Prop_AttachedDeviceId_String = 3000 , Prop_SupportedButtons_Uint64 = 3001 , Prop_Axis0Type_Int32 = 3002 , Prop_Axis1Type_Int32 = 3003 , Prop_Axis2Type_Int32 = 3004 , Prop_Axis3Type_Int32 = 3005 , Prop_Axis4Type_Int32 = 3006 , Prop_ControllerRoleHint_Int32 = 3007 , Prop_FieldOfViewLeftDegrees_Float = 4000 , Prop_FieldOfViewRightDegrees_Float = 4001 , Prop_FieldOfViewTopDegrees_Float = 4002 , Prop_FieldOfViewBottomDegrees_Float = 4003 , Prop_TrackingRangeMinimumMeters_Float = 4004 , Prop_TrackingRangeMaximumMeters_Float = 4005 , Prop_ModeLabel_String = 4006 , Prop_CanWirelessIdentify_Bool = 4007 , Prop_Nonce_Int32 = 4008 , Prop_IconPathName_String = 5000 , Prop_NamedIconPathDeviceOff_String = 5001 , Prop_NamedIconPathDeviceSearching_String = 5002 , Prop_NamedIconPathDeviceSearchingAlert_String = 5003 , Prop_NamedIconPathDeviceReady_String = 5004 , Prop_NamedIconPathDeviceReadyAlert_String = 5005 , Prop_NamedIconPathDeviceNotReady_String = 5006 , Prop_NamedIconPathDeviceStandby_String = 5007 , Prop_NamedIconPathDeviceAlertLow_String = 5008 , Prop_NamedIconPathDeviceStandbyAlert_String = 5009 , Prop_DisplayHiddenArea_Binary_Start = 5100 , Prop_DisplayHiddenArea_Binary_End = 5150 , Prop_ParentContainer = 5151 , Prop_OverrideContainer_Uint64 = 5152 , Prop_UserConfigPath_String = 6000 , Prop_InstallPath_String = 6001 , Prop_HasDisplayComponent_Bool = 6002 , Prop_HasControllerComponent_Bool = 6003 , Prop_HasCameraComponent_Bool = 6004 , Prop_HasDriverDirectModeComponent_Bool = 6005 , Prop_HasVirtualDisplayComponent_Bool = 6006 , Prop_HasSpatialAnchorsSupport_Bool = 6007 , Prop_ControllerType_String = 7000 , Prop_ControllerHandSelectionPriority_Int32 = 7002 , Prop_VendorSpecific_Reserved_Start = 10000 , Prop_VendorSpecific_Reserved_End = 10999 , Prop_TrackedDeviceProperty_Max = 1000000 , } # [repr (u32)] # [doc = " Used to return errors that occur when reading properties."] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum ETrackedPropertyError { TrackedProp_Success = 0 , TrackedProp_WrongDataType = 1 , TrackedProp_WrongDeviceClass = 2 , TrackedProp_BufferTooSmall = 3 , TrackedProp_UnknownProperty = 4 , TrackedProp_InvalidDevice = 5 , TrackedProp_CouldNotContactServer = 6 , TrackedProp_ValueNotProvidedByDevice = 7 , TrackedProp_StringExceedsMaximumLength = 8 , TrackedProp_NotYetAvailable = 9 , TrackedProp_PermissionDenied = 10 , TrackedProp_InvalidOperation = 11 , TrackedProp_CannotWriteToWildcards = 12 , TrackedProp_IPCReadFailure = 13 , TrackedProp_OutOfMemory = 14 , TrackedProp_InvalidContainer = 15 , } pub type PropertyTypeTag_t = u32 ; # [doc = " An event posted by the server to all running applications"] # [repr (C , align (4))] pub struct VREvent_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 60] } # [repr (u32)] # [doc = " The types of events that could be posted (and what the parameters mean for each event type)"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EVREventType { VREvent_None = 0 , VREvent_TrackedDeviceActivated = 100 , VREvent_TrackedDeviceDeactivated = 101 , VREvent_TrackedDeviceUpdated = 102 , VREvent_TrackedDeviceUserInteractionStarted = 103 , VREvent_TrackedDeviceUserInteractionEnded = 104 , VREvent_IpdChanged = 105 , VREvent_EnterStandbyMode = 106 , VREvent_LeaveStandbyMode = 107 , VREvent_TrackedDeviceRoleChanged = 108 , VREvent_WatchdogWakeUpRequested = 109 , VREvent_LensDistortionChanged = 110 , VREvent_PropertyChanged = 111 , VREvent_WirelessDisconnect = 112 , VREvent_WirelessReconnect = 113 , VREvent_ButtonPress = 200 , VREvent_ButtonUnpress = 201 , VREvent_ButtonTouch = 202 , VREvent_ButtonUntouch = 203 , VREvent_Modal_Cancel = 257 , VREvent_MouseMove = 300 , VREvent_MouseButtonDown = 301 , VREvent_MouseButtonUp = 302 , VREvent_FocusEnter = 303 , VREvent_FocusLeave = 304 , VREvent_ScrollDiscrete = 305 , VREvent_TouchPadMove = 306 , VREvent_OverlayFocusChanged = 307 , VREvent_ReloadOverlays = 308 , VREvent_ScrollSmooth = 309 , VREvent_LockMousePosition = 310 , VREvent_UnlockMousePosition = 311 , VREvent_InputFocusCaptured = 400 , VREvent_InputFocusReleased = 401 , VREvent_SceneApplicationChanged = 404 , VREvent_SceneFocusChanged = 405 , VREvent_InputFocusChanged = 406 , VREvent_SceneApplicationUsingWrongGraphicsAdapter = 408 , VREvent_ActionBindingReloaded = 409 , VREvent_HideRenderModels = 410 , VREvent_ShowRenderModels = 411 , VREvent_SceneApplicationStateChanged = 412 , VREvent_ConsoleOpened = 420 , VREvent_ConsoleClosed = 421 , VREvent_OverlayShown = 500 , VREvent_OverlayHidden = 501 , VREvent_DashboardActivated = 502 , VREvent_DashboardDeactivated = 503 , VREvent_DashboardRequested = 505 , VREvent_ResetDashboard = 506 , VREvent_ImageLoaded = 508 , VREvent_ShowKeyboard = 509 , VREvent_HideKeyboard = 510 , VREvent_OverlayGamepadFocusGained = 511 , VREvent_OverlayGamepadFocusLost = 512 , VREvent_OverlaySharedTextureChanged = 513 , VREvent_ScreenshotTriggered = 516 , VREvent_ImageFailed = 517 , VREvent_DashboardOverlayCreated = 518 , VREvent_SwitchGamepadFocus = 519 , VREvent_RequestScreenshot = 520 , VREvent_ScreenshotTaken = 521 , VREvent_ScreenshotFailed = 522 , VREvent_SubmitScreenshotToDashboard = 523 , VREvent_ScreenshotProgressToDashboard = 524 , VREvent_PrimaryDashboardDeviceChanged = 525 , VREvent_RoomViewShown = 526 , VREvent_RoomViewHidden = 527 , VREvent_ShowUI = 528 , VREvent_ShowDevTools = 529 , VREvent_DesktopViewUpdating = 530 , VREvent_DesktopViewReady = 531 , VREvent_Notification_Shown = 600 , VREvent_Notification_Hidden = 601 , VREvent_Notification_BeginInteraction = 602 , VREvent_Notification_Destroyed = 603 , VREvent_Quit = 700 , VREvent_ProcessQuit = 701 , VREvent_QuitAcknowledged = 703 , VREvent_DriverRequestedQuit = 704 , VREvent_RestartRequested = 705 , VREvent_ChaperoneDataHasChanged = 800 , VREvent_ChaperoneUniverseHasChanged = 801 , VREvent_ChaperoneTempDataHasChanged = 802 , VREvent_ChaperoneSettingsHaveChanged = 803 , VREvent_SeatedZeroPoseReset = 804 , VREvent_ChaperoneFlushCache = 805 , VREvent_ChaperoneRoomSetupStarting = 806 , VREvent_ChaperoneRoomSetupFinished = 807 , VREvent_StandingZeroPoseReset = 808 , VREvent_AudioSettingsHaveChanged = 820 , VREvent_BackgroundSettingHasChanged = 850 , VREvent_CameraSettingsHaveChanged = 851 , VREvent_ReprojectionSettingHasChanged = 852 , VREvent_ModelSkinSettingsHaveChanged = 853 , VREvent_EnvironmentSettingsHaveChanged = 854 , VREvent_PowerSettingsHaveChanged = 855 , VREvent_EnableHomeAppSettingsHaveChanged = 856 , VREvent_SteamVRSectionSettingChanged = 857 , VREvent_LighthouseSectionSettingChanged = 858 , VREvent_NullSectionSettingChanged = 859 , VREvent_UserInterfaceSectionSettingChanged = 860 , VREvent_NotificationsSectionSettingChanged = 861 , VREvent_KeyboardSectionSettingChanged = 862 , VREvent_PerfSectionSettingChanged = 863 , VREvent_DashboardSectionSettingChanged = 864 , VREvent_WebInterfaceSectionSettingChanged = 865 , VREvent_TrackersSectionSettingChanged = 866 , VREvent_LastKnownSectionSettingChanged = 867 , VREvent_DismissedWarningsSectionSettingChanged = 868 , VREvent_GpuSpeedSectionSettingChanged = 869 , VREvent_WindowsMRSectionSettingChanged = 870 , VREvent_OtherSectionSettingChanged = 871 , VREvent_StatusUpdate = 900 , VREvent_WebInterface_InstallDriverCompleted = 950 , VREvent_MCImageUpdated = 1000 , VREvent_FirmwareUpdateStarted = 1100 , VREvent_FirmwareUpdateFinished = 1101 , VREvent_KeyboardClosed = 1200 , VREvent_KeyboardCharInput = 1201 , VREvent_KeyboardDone = 1202 , VREvent_ApplicationListUpdated = 1303 , VREvent_ApplicationMimeTypeLoad = 1304 , VREvent_ProcessConnected = 1306 , VREvent_ProcessDisconnected = 1307 , VREvent_Compositor_ChaperoneBoundsShown = 1410 , VREvent_Compositor_ChaperoneBoundsHidden = 1411 , VREvent_Compositor_DisplayDisconnected = 1412 , VREvent_Compositor_DisplayReconnected = 1413 , VREvent_Compositor_HDCPError = 1414 , VREvent_Compositor_ApplicationNotResponding = 1415 , VREvent_Compositor_ApplicationResumed = 1416 , VREvent_Compositor_OutOfVideoMemory = 1417 , VREvent_Compositor_DisplayModeNotSupported = 1418 , VREvent_Compositor_StageOverrideReady = 1419 , VREvent_TrackedCamera_StartVideoStream = 1500 , VREvent_TrackedCamera_StopVideoStream = 1501 , VREvent_TrackedCamera_PauseVideoStream = 1502 , VREvent_TrackedCamera_ResumeVideoStream = 1503 , VREvent_TrackedCamera_EditingSurface = 1550 , VREvent_PerformanceTest_EnableCapture = 1600 , VREvent_PerformanceTest_DisableCapture = 1601 , VREvent_PerformanceTest_FidelityLevel = 1602 , VREvent_MessageOverlay_Closed = 1650 , VREvent_MessageOverlayCloseRequested = 1651 , VREvent_Input_HapticVibration = 1700 , VREvent_Input_BindingLoadFailed = 1701 , VREvent_Input_BindingLoadSuccessful = 1702 , VREvent_Input_ActionManifestReloaded = 1703 , VREvent_Input_ActionManifestLoadFailed = 1704 , VREvent_Input_ProgressUpdate = 1705 , VREvent_Input_TrackerActivated = 1706 , VREvent_Input_BindingsUpdated = 1707 , VREvent_Input_BindingSubscriptionChanged = 1708 , VREvent_SpatialAnchors_PoseUpdated = 1800 , VREvent_SpatialAnchors_DescriptorUpdated = 1801 , VREvent_SpatialAnchors_RequestPoseUpdate = 1802 , VREvent_SpatialAnchors_RequestDescriptorUpdate = 1803 , VREvent_SystemReport_Started = 1900 , VREvent_Monitor_ShowHeadsetView = 2000 , VREvent_Monitor_HideHeadsetView = 2001 , VREvent_VendorSpecific_Reserved_Start = 10000 , VREvent_VendorSpecific_Reserved_End = 19999 , } # [doc = " The mesh to draw into the stencil (or depth) buffer to perform"] # [doc = " early stencil (or depth) kills of pixels that will never appear on the HMD."] # [doc = " This mesh draws on all the pixels that will be hidden after distortion."] # [doc = ""] # [doc = " If the HMD does not provide a visible area mesh pVertexData will be"] # [doc = " NULL and unTriangleCount will be 0."] # [repr (C , align (8))] pub struct HiddenAreaMesh_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 16] } # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EHiddenAreaMeshType { k_eHiddenAreaMesh_Standard = 0 , k_eHiddenAreaMesh_Inverse = 1 , k_eHiddenAreaMesh_LineLoop = 2 , k_eHiddenAreaMesh_Max = 3 , } # [doc = " Holds all the state of a controller at one moment in time."] pub type VRControllerState_t = root :: vr :: VRControllerState001_t ; # [doc = " Holds all the state of a controller at one moment in time."] # [repr (C , align (4))] pub struct VRControllerState001_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 60] } # [repr (u32)] # [doc = " VR controller button and axis IDs"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EVRButtonId { k_EButton_System = 0 , k_EButton_ApplicationMenu = 1 , k_EButton_Grip = 2 , k_EButton_DPad_Left = 3 , k_EButton_DPad_Up = 4 , k_EButton_DPad_Right = 5 , k_EButton_DPad_Down = 6 , k_EButton_A = 7 , k_EButton_ProximitySensor = 31 , k_EButton_Axis0 = 32 , k_EButton_Axis1 = 33 , k_EButton_Axis2 = 34 , k_EButton_Axis3 = 35 , k_EButton_Axis4 = 36 , k_EButton_Max = 64 , } # [repr (u32)] # [doc = " Identifies what kind of axis is on the controller at index n. Read this type"] # [doc = " with pVRSystem->Get( nControllerDeviceIndex, Prop_Axis0Type_Int32 + n );"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EVRControllerAxisType { k_eControllerAxis_None = 0 , k_eControllerAxis_TrackPad = 1 , k_eControllerAxis_Joystick = 2 , k_eControllerAxis_Trigger = 3 , } # [repr (u32)] # [doc = " error codes for firmware"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EVRFirmwareError { VRFirmwareError_None = 0 , VRFirmwareError_Success = 1 , VRFirmwareError_Fail = 2 , } # [repr (u32)] # [doc = " Overlay control settings"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum VROverlayFlags { VROverlayFlags_NoDashboardTab = 8 , VROverlayFlags_SendVRDiscreteScrollEvents = 64 , VROverlayFlags_SendVRTouchpadEvents = 128 , VROverlayFlags_ShowTouchPadScrollWheel = 256 , VROverlayFlags_TransferOwnershipToInternalProcess = 512 , VROverlayFlags_SideBySide_Parallel = 1024 , VROverlayFlags_SideBySide_Crossed = 2048 , VROverlayFlags_Panorama = 4096 , VROverlayFlags_StereoPanorama = 8192 , VROverlayFlags_SortWithNonSceneOverlays = 16384 , VROverlayFlags_VisibleInDashboard = 32768 , VROverlayFlags_MakeOverlaysInteractiveIfVisible = 65536 , VROverlayFlags_SendVRSmoothScrollEvents = 131072 , VROverlayFlags_ProtectedContent = 262144 , VROverlayFlags_HideLaserIntersection = 524288 , VROverlayFlags_WantsModalBehavior = 1048576 , VROverlayFlags_IsPremultiplied = 2097152 , } # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EColorSpace { ColorSpace_Auto = 0 , ColorSpace_Gamma = 1 , ColorSpace_Linear = 2 , } # [doc = " Allows the application to control what part of the provided texture will be used in the"] # [doc = " frame buffer."] # [repr (C , align (4))] pub struct VRTextureBounds_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 16] } # [repr (i32)] # [doc = " Allows the caller to figure out which overlay transform getter to call."] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum VROverlayTransformType { VROverlayTransform_Invalid = - 1 , VROverlayTransform_Absolute = 0 , VROverlayTransform_TrackedDeviceRelative = 1 , VROverlayTransform_SystemOverlay = 2 , VROverlayTransform_TrackedComponent = 3 , VROverlayTransform_Cursor = 4 , VROverlayTransform_DashboardTab = 5 , VROverlayTransform_DashboardThumb = 6 , VROverlayTransform_Mountable = 7 , VROverlayTransform_Projection = 8 , } # [repr (C , align (4))] pub struct HmdVector2_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 8] } # [doc = " Defines the project used in an overlay that is using SetOverlayTransformProjection"] # [repr (C , align (4))] pub struct VROverlayProjection_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 16] } # [repr (u32)] # [doc = " Types of input supported by VR Overlays"] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum VROverlayInputMethod { VROverlayInputMethod_None = 0 , VROverlayInputMethod_Mouse = 1 , } # [repr (C , align (4))] pub struct VROverlayIntersectionParams_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 28] } # [repr (C , align (4))] pub struct VROverlayIntersectionResults_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 36] } # [repr (C , align (4))] pub struct VROverlayIntersectionMaskPrimitive_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 20] } # [repr (C , align (8))] pub struct Texture_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 16] } # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EGamepadTextInputMode { k_EGamepadTextInputModeNormal = 0 , k_EGamepadTextInputModePassword = 1 , k_EGamepadTextInputModeSubmit = 2 , } # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum EGamepadTextInputLineMode { k_EGamepadTextInputLineModeSingleLine = 0 , k_EGamepadTextInputLineModeMultipleLines = 1 , } # [repr (C , align (4))] pub struct HmdRect2_t { _pinned : core :: marker :: PhantomData < core :: marker :: PhantomPinned > , _non_send_sync : core :: marker :: PhantomData < [* const u8 ; 0] > , _data : [u8 ; 16] } # [repr (u32)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub enum VRMessageOverlayResponse { VRMessageOverlayResponse_ButtonPress_0 = 0 , VRMessageOverlayResponse_ButtonPress_1 = 1 , VRMessageOverlayResponse_ButtonPress_2 = 2 , VRMessageOverlayResponse_ButtonPress_3 = 3 , VRMessageOverlayResponse_CouldntFindSystemOverlay = 4 , VRMessageOverlayResponse_CouldntFindOrCreateClientOverlay = 5 , VRMessageOverlayResponse_ApplicationQuit = 6 , } impl IVRSystem { # [doc = " Suggested size for the intermediate render target that the distortion pulls from."] pub unsafe fn GetRecommendedRenderTargetSize (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , pnWidth : * mut u32 , pnHeight : * mut u32) { cxxbridge :: GetRecommendedRenderTargetSize_autocxx_wrapper (self , pnWidth , pnHeight) } # [doc = " The projection matrix for the specified eye"] pub unsafe fn GetProjectionMatrix < 'a > (self : :: std :: pin :: Pin < & 'a mut root :: vr :: IVRSystem > , eEye : root :: vr :: EVREye , fNearZ : f32 , fFarZ : f32) -> impl autocxx :: moveit :: new :: New < Output = root :: vr :: HmdMatrix44_t > + 'a { autocxx :: moveit :: new :: by_raw (move | placement_return_type | { let placement_return_type = placement_return_type . get_unchecked_mut () . as_mut_ptr () ; cxxbridge :: GetProjectionMatrix_autocxx_wrapper (self , eEye , fNearZ , fFarZ , placement_return_type) }) } # [doc = " The components necessary to build your own projection matrix in case your"] # [doc = " application is doing something fancy like infinite Z"] pub unsafe fn GetProjectionRaw (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , eEye : root :: vr :: EVREye , pfLeft : * mut f32 , pfRight : * mut f32 , pfTop : * mut f32 , pfBottom : * mut f32) { cxxbridge :: GetProjectionRaw_autocxx_wrapper (self , eEye , pfLeft , pfRight , pfTop , pfBottom) } # [doc = " Gets the result of the distortion function for the specified eye and input UVs. UVs go from 0,0 in"] # [doc = " the upper left of that eye's viewport and 1,1 in the lower right of that eye's viewport."] # [doc = " Returns true for success. Otherwise, returns false, and distortion coordinates are not suitable."] pub unsafe fn ComputeDistortion (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , eEye : root :: vr :: EVREye , fU : f32 , fV : f32 , pDistortionCoordinates : * mut root :: vr :: DistortionCoordinates_t) -> bool { cxxbridge :: ComputeDistortion_autocxx_wrapper (self , eEye , fU , fV , pDistortionCoordinates) } # [doc = " Returns the transform from eye space to the head space. Eye space is the per-eye flavor of head"] # [doc = " space that provides stereo disparity. Instead of Model * View * Projection the sequence is Model * View * Eye^-1 * Projection."] # [doc = " Normally View and Eye^-1 will be multiplied together and treated as View in your application."] pub unsafe fn GetEyeToHeadTransform < 'a > (self : :: std :: pin :: Pin < & 'a mut root :: vr :: IVRSystem > , eEye : root :: vr :: EVREye) -> impl autocxx :: moveit :: new :: New < Output = root :: vr :: HmdMatrix34_t > + 'a { autocxx :: moveit :: new :: by_raw (move | placement_return_type | { let placement_return_type = placement_return_type . get_unchecked_mut () . as_mut_ptr () ; cxxbridge :: GetEyeToHeadTransform_autocxx_wrapper (self , eEye , placement_return_type) }) } # [doc = " Returns the number of elapsed seconds since the last recorded vsync event. This"] # [doc = "\twill come from a vsync timer event in the timer if possible or from the application-reported"] # [doc = "   time if that is not available. If no vsync times are available the function will"] # [doc = "   return zero for vsync time and frame counter and return false from the method."] pub unsafe fn GetTimeSinceLastVsync (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , pfSecondsSinceLastVsync : * mut f32 , pulFrameCounter : * mut u64) -> bool { cxxbridge :: GetTimeSinceLastVsync_autocxx_wrapper (self , pfSecondsSinceLastVsync , pulFrameCounter) } # [doc = " [D3D9 Only]"] # [doc = " Returns the adapter index that the user should pass into CreateDevice to set up D3D9 in such"] # [doc = " a way that it can go full screen exclusive on the HMD. Returns -1 if there was an error."] pub unsafe fn GetD3D9AdapterIndex (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem >) -> i32 { cxxbridge :: GetD3D9AdapterIndex_autocxx_wrapper (self) } # [doc = " [D3D10/11 Only]"] # [doc = " Returns the adapter index that the user should pass into EnumAdapters to create the device"] # [doc = " and swap chain in DX10 and DX11. If an error occurs the index will be set to -1."] pub unsafe fn GetDXGIOutputInfo (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , pnAdapterIndex : * mut i32) { cxxbridge :: GetDXGIOutputInfo_autocxx_wrapper (self , pnAdapterIndex) } `# [doc = " Returns platform- and texture-type specific adapter identification so that applications and the"] # [doc = " compositor are creating textures and swap chains on the same GPU. If an error occurs the device"] # [doc = " will be set to 0."] # [doc = " pInstance is an optional parameter that is required only when textureType is TextureType_Vulkan."] # [doc = " [D3D10/11/12 Only (D3D9 Not Supported)]"] # [doc = "  Returns the adapter LUID that identifies the GPU attached to the HMD. The user should"] # [doc = "  enumerate all adapters using IDXGIFactory::EnumAdapters and IDXGIAdapter::GetDesc to find"] # [doc = "  the adapter with the matching LUID, or use IDXGIFactory4::EnumAdapterByLuid."] # [doc = "  The discovered IDXGIAdapter should be used to create the device and swap chain."] # [doc = " [Vulkan Only]"] # [doc = "  Returns the VkPhysicalDevice that should be used by the application."] # [doc = "  pInstance must be the instance the application will use to query for the VkPhysicalDevice.  The application"] # [doc = "  must create the VkInstance with extensions returned by IVRCompositor::GetVulkanInstanceExtensionsRequired enabled."] # [doc = " [macOS Only]"] # [doc = "  For TextureType_IOSurface returns the id<MTLDevice> that should be used by the application."] # [doc = "  On 10.13+ for TextureType_OpenGL returns the 'registryId' of the renderer which should be used"] # [doc = "   by the application. See Apple Technical Q&A QA1168 for information on enumerating GL Renderers, and the"] # [doc = "   new kCGLRPRegistryIDLow and kCGLRPRegistryIDHigh CGLRendererProperty values in the 10.13 SDK."] # [doc = "  Pre 10.13 for TextureType_OpenGL returns 0, as there is no dependable way to correlate the HMDs MTLDevice"] # [doc = "   with a GL Renderer."]` pub unsafe fn GetOutputDevice (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , pnDevice : * mut u64 , textureType : root :: vr :: ETextureType , pInstance : * mut root :: VkInstance_T) { cxxbridge :: GetOutputDevice_autocxx_wrapper (self , pnDevice , textureType , pInstance) } # [doc = " Use to determine if the headset display is part of the desktop (i.e. extended) or hidden (i.e. direct mode)."] pub unsafe fn IsDisplayOnDesktop (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem >) -> bool { cxxbridge :: IsDisplayOnDesktop_autocxx_wrapper (self) } # [doc = " Set the display visibility (true = extended, false = direct mode).  Return value of true indicates that the change was successful."] pub unsafe fn SetDisplayVisibility (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , bIsVisibleOnDesktop : bool) -> bool { cxxbridge :: SetDisplayVisibility_autocxx_wrapper (self , bIsVisibleOnDesktop) } # [doc = " The pose that the tracker thinks that the HMD will be in at the specified number of seconds into the"] # [doc = " future. Pass 0 to get the state at the instant the method is called. Most of the time the application should"] # [doc = " calculate the time until the photons will be emitted from the display and pass that time into the method."] # [doc = ""] # [doc = " This is roughly analogous to the inverse of the view matrix in most applications, though"] # [doc = " many games will need to do some additional rotation or translation on top of the rotation"] # [doc = " and translation provided by the head pose."] # [doc = ""] # [doc = " For devices where bPoseIsValid is true the application can use the pose to position the device"] # [doc = " in question. The provided array can be any size up to k_unMaxTrackedDeviceCount."] # [doc = ""] # [doc = " Seated experiences should call this method with TrackingUniverseSeated and receive poses relative"] # [doc = " to the seated zero pose. Standing experiences should call this method with TrackingUniverseStanding"] # [doc = " and receive poses relative to the Chaperone Play Area. TrackingUniverseRawAndUncalibrated should"] # [doc = " probably not be used unless the application is the Chaperone calibration tool itself, but will provide"] # [doc = " poses relative to the hardware-specific coordinate system in the driver."] pub unsafe fn GetDeviceToAbsoluteTrackingPose (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , eOrigin : root :: vr :: ETrackingUniverseOrigin , fPredictedSecondsToPhotonsFromNow : f32 , pTrackedDevicePoseArray : * mut root :: vr :: TrackedDevicePose_t , unTrackedDevicePoseArrayCount : u32) { cxxbridge :: GetDeviceToAbsoluteTrackingPose_autocxx_wrapper (self , eOrigin , fPredictedSecondsToPhotonsFromNow , pTrackedDevicePoseArray , unTrackedDevicePoseArrayCount) } # [doc = " Returns the transform from the seated zero pose to the standing absolute tracking system. This allows"] # [doc = " applications to represent the seated origin to used or transform object positions from one coordinate"] # [doc = " system to the other."] # [doc = ""] # [doc = " The seated origin may or may not be inside the Play Area or Collision Bounds returned by IVRChaperone. Its position"] # [doc = " depends on what the user has set from the Dashboard settings and previous calls to ResetSeatedZeroPose."] pub unsafe fn GetSeatedZeroPoseToStandingAbsoluteTrackingPose < 'a > (self : :: std :: pin :: Pin < & 'a mut root :: vr :: IVRSystem >) -> impl autocxx :: moveit :: new :: New < Output = root :: vr :: HmdMatrix34_t > + 'a { autocxx :: moveit :: new :: by_raw (move | placement_return_type | { let placement_return_type = placement_return_type . get_unchecked_mut () . as_mut_ptr () ; cxxbridge :: GetSeatedZeroPoseToStandingAbsoluteTrackingPose_autocxx_wrapper (self , placement_return_type) }) } # [doc = " Returns the transform from the tracking origin to the standing absolute tracking system. This allows"] # [doc = " applications to convert from raw tracking space to the calibrated standing coordinate system."] pub unsafe fn GetRawZeroPoseToStandingAbsoluteTrackingPose < 'a > (self : :: std :: pin :: Pin < & 'a mut root :: vr :: IVRSystem >) -> impl autocxx :: moveit :: new :: New < Output = root :: vr :: HmdMatrix34_t > + 'a { autocxx :: moveit :: new :: by_raw (move | placement_return_type | { let placement_return_type = placement_return_type . get_unchecked_mut () . as_mut_ptr () ; cxxbridge :: GetRawZeroPoseToStandingAbsoluteTrackingPose_autocxx_wrapper (self , placement_return_type) }) } # [doc = " Get a sorted array of device indices of a given class of tracked devices (e.g. controllers).  Devices are sorted right to left"] # [doc = " relative to the specified tracked device (default: hmd -- pass in -1 for absolute tracking space).  Returns the number of devices"] # [doc = " in the list, or the size of the array needed if not large enough."] pub unsafe fn GetSortedTrackedDeviceIndicesOfClass (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , eTrackedDeviceClass : root :: vr :: ETrackedDeviceClass , punTrackedDeviceIndexArray : * mut u32 , unTrackedDeviceIndexArrayCount : u32 , unRelativeToTrackedDeviceIndex : u32) -> u32 { cxxbridge :: GetSortedTrackedDeviceIndicesOfClass_autocxx_wrapper (self , eTrackedDeviceClass , punTrackedDeviceIndexArray , unTrackedDeviceIndexArrayCount , unRelativeToTrackedDeviceIndex) } # [doc = " Returns the level of activity on the device."] pub unsafe fn GetTrackedDeviceActivityLevel (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceId : u32) -> root :: vr :: EDeviceActivityLevel { cxxbridge :: GetTrackedDeviceActivityLevel_autocxx_wrapper (self , unDeviceId) } # [doc = " Convenience utility to apply the specified transform to the specified pose."] # [doc = "   This properly transforms all pose components, including velocity and angular velocity"] pub unsafe fn ApplyTransform (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , pOutputPose : * mut root :: vr :: TrackedDevicePose_t , pTrackedDevicePose : * const root :: vr :: TrackedDevicePose_t , pTransform : * const root :: vr :: HmdMatrix34_t) { cxxbridge :: ApplyTransform_autocxx_wrapper (self , pOutputPose , pTrackedDevicePose , pTransform) } # [doc = " Returns the device index associated with a specific role, for example the left hand or the right hand. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetTrackedDeviceIndexForControllerRole (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceType : root :: vr :: ETrackedControllerRole) -> u32 { cxxbridge :: GetTrackedDeviceIndexForControllerRole_autocxx_wrapper (self , unDeviceType) } # [doc = " Returns the controller type associated with a device index. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetControllerRoleForTrackedDeviceIndex (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceIndex : u32) -> root :: vr :: ETrackedControllerRole { cxxbridge :: GetControllerRoleForTrackedDeviceIndex_autocxx_wrapper (self , unDeviceIndex) } # [doc = " Returns the device class of a tracked device. If there has not been a device connected in this slot"] # [doc = " since the application started this function will return TrackedDevice_Invalid. For previous detected"] # [doc = " devices the function will return the previously observed device class."] # [doc = ""] # [doc = " To determine which devices exist on the system, just loop from 0 to k_unMaxTrackedDeviceCount and check"] # [doc = " the device class. Every device with something other than TrackedDevice_Invalid is associated with an"] # [doc = " actual tracked device."] pub unsafe fn GetTrackedDeviceClass (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceIndex : u32) -> root :: vr :: ETrackedDeviceClass { cxxbridge :: GetTrackedDeviceClass_autocxx_wrapper (self , unDeviceIndex) } # [doc = " Returns true if there is a device connected in this slot."] pub unsafe fn IsTrackedDeviceConnected (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceIndex : u32) -> bool { cxxbridge :: IsTrackedDeviceConnected_autocxx_wrapper (self , unDeviceIndex) } # [doc = " Returns a bool property. If the device index is not valid or the property is not a bool type this function will return false."] pub unsafe fn GetBoolTrackedDeviceProperty (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceIndex : u32 , prop : root :: vr :: ETrackedDeviceProperty , pError : * mut root :: vr :: ETrackedPropertyError) -> bool { cxxbridge :: GetBoolTrackedDeviceProperty_autocxx_wrapper (self , unDeviceIndex , prop , pError) } # [doc = " Returns a float property. If the device index is not valid or the property is not a float type this function will return 0."] pub unsafe fn GetFloatTrackedDeviceProperty (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceIndex : u32 , prop : root :: vr :: ETrackedDeviceProperty , pError : * mut root :: vr :: ETrackedPropertyError) -> f32 { cxxbridge :: GetFloatTrackedDeviceProperty_autocxx_wrapper (self , unDeviceIndex , prop , pError) } # [doc = " Returns an int property. If the device index is not valid or the property is not a int type this function will return 0."] pub unsafe fn GetInt32TrackedDeviceProperty (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceIndex : u32 , prop : root :: vr :: ETrackedDeviceProperty , pError : * mut root :: vr :: ETrackedPropertyError) -> i32 { cxxbridge :: GetInt32TrackedDeviceProperty_autocxx_wrapper (self , unDeviceIndex , prop , pError) } # [doc = " Returns a uint64 property. If the device index is not valid or the property is not a uint64 type this function will return 0."] pub unsafe fn GetUint64TrackedDeviceProperty (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceIndex : u32 , prop : root :: vr :: ETrackedDeviceProperty , pError : * mut root :: vr :: ETrackedPropertyError) -> u64 { cxxbridge :: GetUint64TrackedDeviceProperty_autocxx_wrapper (self , unDeviceIndex , prop , pError) } # [doc = " Returns a matrix property. If the device index is not valid or the property is not a matrix type, this function will return identity."] pub unsafe fn GetMatrix34TrackedDeviceProperty < 'a > (self : :: std :: pin :: Pin < & 'a mut root :: vr :: IVRSystem > , unDeviceIndex : u32 , prop : root :: vr :: ETrackedDeviceProperty , pError : * mut root :: vr :: ETrackedPropertyError) -> impl autocxx :: moveit :: new :: New < Output = root :: vr :: HmdMatrix34_t > + 'a { autocxx :: moveit :: new :: by_raw (move | placement_return_type | { let placement_return_type = placement_return_type . get_unchecked_mut () . as_mut_ptr () ; cxxbridge :: GetMatrix34TrackedDeviceProperty_autocxx_wrapper (self , unDeviceIndex , prop , pError , placement_return_type) }) } # [doc = " Returns an array of one type of property. If the device index is not valid or the property is not a single value or an array of the specified type,"] # [doc = " this function will return 0. Otherwise it returns the number of bytes necessary to hold the array of properties. If unBufferSize is"] # [doc = " greater than the returned size and pBuffer is non-NULL, pBuffer is filled with the contents of array of properties."] pub unsafe fn GetArrayTrackedDeviceProperty (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceIndex : u32 , prop : root :: vr :: ETrackedDeviceProperty , propType : u32 , pBuffer : * mut autocxx :: c_void , unBufferSize : u32 , pError : * mut root :: vr :: ETrackedPropertyError) -> u32 { cxxbridge :: GetArrayTrackedDeviceProperty_autocxx_wrapper (self , unDeviceIndex , prop , propType , pBuffer , unBufferSize , pError) } # [doc = " Returns a string property. If the device index is not valid or the property is not a string type this function will"] # [doc = " return 0. Otherwise it returns the length of the number of bytes necessary to hold this string including the trailing"] # [doc = " null. Strings will always fit in buffers of k_unMaxPropertyStringSize characters."] pub unsafe fn GetStringTrackedDeviceProperty (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceIndex : u32 , prop : root :: vr :: ETrackedDeviceProperty , pchValue : * mut :: std :: os :: raw :: c_char , unBufferSize : u32 , pError : * mut root :: vr :: ETrackedPropertyError) -> u32 { cxxbridge :: GetStringTrackedDeviceProperty_autocxx_wrapper (self , unDeviceIndex , prop , pchValue , unBufferSize , pError) } # [doc = " returns a string that corresponds with the specified property error. The string will be the name"] # [doc = " of the error enum value for all valid error codes"] pub unsafe fn GetPropErrorNameFromEnum (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , error : root :: vr :: ETrackedPropertyError) -> * const :: std :: os :: raw :: c_char { cxxbridge :: GetPropErrorNameFromEnum_autocxx_wrapper (self , error) } # [doc = " Returns true and fills the event with the next event on the queue if there is one. If there are no events"] # [doc = " this method returns false. uncbVREvent should be the size in bytes of the VREvent_t struct"] pub unsafe fn PollNextEvent (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , pEvent : * mut root :: vr :: VREvent_t , uncbVREvent : u32) -> bool { cxxbridge :: PollNextEvent_autocxx_wrapper (self , pEvent , uncbVREvent) } # [doc = " Returns true and fills the event with the next event on the queue if there is one. If there are no events"] # [doc = " this method returns false. Fills in the pose of the associated tracked device in the provided pose struct."] # [doc = " This pose will always be older than the call to this function and should not be used to render the device."] # [doc = "uncbVREvent should be the size in bytes of the VREvent_t struct"] pub unsafe fn PollNextEventWithPose (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , eOrigin : root :: vr :: ETrackingUniverseOrigin , pEvent : * mut root :: vr :: VREvent_t , uncbVREvent : u32 , pTrackedDevicePose : * mut root :: vr :: TrackedDevicePose_t) -> bool { cxxbridge :: PollNextEventWithPose_autocxx_wrapper (self , eOrigin , pEvent , uncbVREvent , pTrackedDevicePose) } # [doc = " returns the name of an EVREvent enum value"] pub unsafe fn GetEventTypeNameFromEnum (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , eType : root :: vr :: EVREventType) -> * const :: std :: os :: raw :: c_char { cxxbridge :: GetEventTypeNameFromEnum_autocxx_wrapper (self , eType) } # [doc = " Returns the hidden area mesh for the current HMD. The pixels covered by this mesh will never be seen by the user after the lens distortion is"] # [doc = " applied based on visibility to the panels. If this HMD does not have a hidden area mesh, the vertex data and count will be NULL and 0 respectively."] # [doc = " This mesh is meant to be rendered into the stencil buffer (or into the depth buffer setting nearz) before rendering each eye's view."] # [doc = " This will improve performance by letting the GPU early-reject pixels the user will never see before running the pixel shader."] # [doc = " NOTE: Render this mesh with backface culling disabled since the winding order of the vertices can be different per-HMD or per-eye."] # [doc = " Setting the bInverse argument to true will produce the visible area mesh that is commonly used in place of full-screen quads. The visible area mesh covers all of the pixels the hidden area mesh does not cover."] # [doc = " Setting the bLineLoop argument will return a line loop of vertices in HiddenAreaMesh_t->pVertexData with HiddenAreaMesh_t->unTriangleCount set to the number of vertices."] pub unsafe fn GetHiddenAreaMesh < 'a > (self : :: std :: pin :: Pin < & 'a mut root :: vr :: IVRSystem > , eEye : root :: vr :: EVREye , type_ : root :: vr :: EHiddenAreaMeshType) -> impl autocxx :: moveit :: new :: New < Output = root :: vr :: HiddenAreaMesh_t > + 'a { autocxx :: moveit :: new :: by_raw (move | placement_return_type | { let placement_return_type = placement_return_type . get_unchecked_mut () . as_mut_ptr () ; cxxbridge :: GetHiddenAreaMesh_autocxx_wrapper (self , eEye , type_ , placement_return_type) }) } # [doc = " Fills the supplied struct with the current state of the controller. Returns false if the controller index"] # [doc = " is invalid. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetControllerState (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unControllerDeviceIndex : u32 , pControllerState : * mut root :: vr :: VRControllerState001_t , unControllerStateSize : u32) -> bool { cxxbridge :: GetControllerState_autocxx_wrapper (self , unControllerDeviceIndex , pControllerState , unControllerStateSize) } # [doc = " fills the supplied struct with the current state of the controller and the provided pose with the pose of"] # [doc = " the controller when the controller state was updated most recently. Use this form if you need a precise controller"] # [doc = " pose as input to your application when the user presses or releases a button. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetControllerStateWithPose (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , eOrigin : root :: vr :: ETrackingUniverseOrigin , unControllerDeviceIndex : u32 , pControllerState : * mut root :: vr :: VRControllerState001_t , unControllerStateSize : u32 , pTrackedDevicePose : * mut root :: vr :: TrackedDevicePose_t) -> bool { cxxbridge :: GetControllerStateWithPose_autocxx_wrapper (self , eOrigin , unControllerDeviceIndex , pControllerState , unControllerStateSize , pTrackedDevicePose) } # [doc = " Trigger a single haptic pulse on a controller. After this call the application may not trigger another haptic pulse on this controller"] # [doc = " and axis combination for 5ms. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn TriggerHapticPulse (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unControllerDeviceIndex : u32 , unAxisId : u32 , usDurationMicroSec : autocxx :: c_ushort) { cxxbridge :: TriggerHapticPulse_autocxx_wrapper (self , unControllerDeviceIndex , unAxisId , usDurationMicroSec) } # [doc = " returns the name of an EVRButtonId enum value. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetButtonIdNameFromEnum (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , eButtonId : root :: vr :: EVRButtonId) -> * const :: std :: os :: raw :: c_char { cxxbridge :: GetButtonIdNameFromEnum_autocxx_wrapper (self , eButtonId) } # [doc = " returns the name of an EVRControllerAxisType enum value. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetControllerAxisTypeNameFromEnum (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , eAxisType : root :: vr :: EVRControllerAxisType) -> * const :: std :: os :: raw :: c_char { cxxbridge :: GetControllerAxisTypeNameFromEnum_autocxx_wrapper (self , eAxisType) } # [doc = " Returns true if this application is receiving input from the system. This would return false if"] # [doc = " system-related functionality is consuming the input stream."] pub unsafe fn IsInputAvailable (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem >) -> bool { cxxbridge :: IsInputAvailable_autocxx_wrapper (self) } # [doc = " Returns true SteamVR is drawing controllers on top of the application. Applications should consider"] # [doc = " not drawing anything attached to the user's hands in this case."] pub unsafe fn IsSteamVRDrawingControllers (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem >) -> bool { cxxbridge :: IsSteamVRDrawingControllers_autocxx_wrapper (self) } # [doc = " Returns true if the user has put SteamVR into a mode that is distracting them from the application."] # [doc = " For applications where this is appropriate, the application should pause ongoing activity."] pub unsafe fn ShouldApplicationPause (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem >) -> bool { cxxbridge :: ShouldApplicationPause_autocxx_wrapper (self) } # [doc = " Returns true if SteamVR is doing significant rendering work and the game should do what it can to reduce"] # [doc = " its own workload. One common way to do this is to reduce the size of the render target provided for each eye."] pub unsafe fn ShouldApplicationReduceRenderingWork (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem >) -> bool { cxxbridge :: ShouldApplicationReduceRenderingWork_autocxx_wrapper (self) } # [doc = " Performs the actual firmware update if applicable."] # [doc = " The following events will be sent, if VRFirmwareError_None was returned: VREvent_FirmwareUpdateStarted, VREvent_FirmwareUpdateFinished"] # [doc = " Use the properties Prop_Firmware_UpdateAvailable_Bool, Prop_Firmware_ManualUpdate_Bool, and Prop_Firmware_ManualUpdateURL_String"] # [doc = " to figure our whether a firmware update is available, and to figure out whether its a manual update"] # [doc = " Prop_Firmware_ManualUpdateURL_String should point to an URL describing the manual update process"] pub unsafe fn PerformFirmwareUpdate (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , unDeviceIndex : u32) -> root :: vr :: EVRFirmwareError { cxxbridge :: PerformFirmwareUpdate_autocxx_wrapper (self , unDeviceIndex) } # [doc = " Call this to acknowledge to the system that VREvent_Quit has been received and that the process is exiting."] # [doc = " This extends the timeout until the process is killed."] pub unsafe fn AcknowledgeQuit_Exiting (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem >) { cxxbridge :: AcknowledgeQuit_Exiting_autocxx_wrapper (self) } # [doc = " Retrieves a null-terminated, semicolon-delimited list of UTF8 file paths that an application"] # [doc = " must have read access to when running inside of an app container. Returns the number of bytes"] # [doc = " needed to hold the list."] pub unsafe fn GetAppContainerFilePaths (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem > , pchBuffer : * mut :: std :: os :: raw :: c_char , unBufferSize : u32) -> u32 { cxxbridge :: GetAppContainerFilePaths_autocxx_wrapper (self , pchBuffer , unBufferSize) } # [doc = " Returns the current version of the SteamVR runtime. The returned string will remain valid until VR_Shutdown is called."] # [doc = ""] # [doc = " NOTE: Is it not appropriate to use this version to test for the presence of any SteamVR feature. Only use this version"] # [doc = " number for logging or showing to a user, and not to try to detect anything at runtime. When appropriate, feature-specific"] # [doc = " presence information is provided by other APIs."] pub unsafe fn GetRuntimeVersion (self : :: std :: pin :: Pin < & mut root :: vr :: IVRSystem >) -> * const :: std :: os :: raw :: c_char { cxxbridge :: GetRuntimeVersion_autocxx_wrapper (self) } } impl IVROverlay { # [doc = " Finds an existing overlay with the specified key."] pub unsafe fn FindOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , pchOverlayKey : * const :: std :: os :: raw :: c_char , pOverlayHandle : * mut u64) -> root :: vr :: EVROverlayError { cxxbridge :: FindOverlay_autocxx_wrapper (self , pchOverlayKey , pOverlayHandle) } # [doc = " Creates a new named overlay. All overlays start hidden and with default settings."] pub unsafe fn CreateOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , pchOverlayKey : * const :: std :: os :: raw :: c_char , pchOverlayName : * const :: std :: os :: raw :: c_char , pOverlayHandle : * mut u64) -> root :: vr :: EVROverlayError { cxxbridge :: CreateOverlay_autocxx_wrapper (self , pchOverlayKey , pchOverlayName , pOverlayHandle) } # [doc = " Destroys the specified overlay. When an application calls VR_Shutdown all overlays created by that app are"] # [doc = " automatically destroyed."] pub unsafe fn DestroyOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64) -> root :: vr :: EVROverlayError { cxxbridge :: DestroyOverlay_autocxx_wrapper (self , ulOverlayHandle) } # [doc = " Fills the provided buffer with the string key of the overlay. Returns the size of buffer required to store the key, including"] # [doc = " the terminating null character. k_unVROverlayMaxKeyLength will be enough bytes to fit the string."] pub unsafe fn GetOverlayKey (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pchValue : * mut :: std :: os :: raw :: c_char , unBufferSize : u32 , pError : * mut root :: vr :: EVROverlayError) -> u32 { cxxbridge :: GetOverlayKey_autocxx_wrapper (self , ulOverlayHandle , pchValue , unBufferSize , pError) } # [doc = " Fills the provided buffer with the friendly name of the overlay. Returns the size of buffer required to store the key, including"] # [doc = " the terminating null character. k_unVROverlayMaxNameLength will be enough bytes to fit the string."] pub unsafe fn GetOverlayName (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pchValue : * mut :: std :: os :: raw :: c_char , unBufferSize : u32 , pError : * mut root :: vr :: EVROverlayError) -> u32 { cxxbridge :: GetOverlayName_autocxx_wrapper (self , ulOverlayHandle , pchValue , unBufferSize , pError) } # [doc = " set the name to use for this overlay"] pub unsafe fn SetOverlayName (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pchName : * const :: std :: os :: raw :: c_char) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayName_autocxx_wrapper (self , ulOverlayHandle , pchName) } # [doc = " Gets the raw image data from an overlay. Overlay image data is always returned as RGBA data, 4 bytes per pixel. If the buffer is not large enough, width and height"] # [doc = " will be set and VROverlayError_ArrayTooSmall is returned."] pub unsafe fn GetOverlayImageData (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pvBuffer : * mut autocxx :: c_void , unBufferSize : u32 , punWidth : * mut u32 , punHeight : * mut u32) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayImageData_autocxx_wrapper (self , ulOverlayHandle , pvBuffer , unBufferSize , punWidth , punHeight) } # [doc = " returns a string that corresponds with the specified overlay error. The string will be the name"] # [doc = " of the error enum value for all valid error codes"] pub unsafe fn GetOverlayErrorNameFromEnum (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , error : root :: vr :: EVROverlayError) -> * const :: std :: os :: raw :: c_char { cxxbridge :: GetOverlayErrorNameFromEnum_autocxx_wrapper (self , error) } # [doc = " Sets the pid that is allowed to render to this overlay (the creator pid is always allow to render),"] # [doc = "\tby default this is the pid of the process that made the overlay"] pub unsafe fn SetOverlayRenderingPid (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , unPID : u32) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayRenderingPid_autocxx_wrapper (self , ulOverlayHandle , unPID) } # [doc = " Gets the pid that is allowed to render to this overlay"] pub unsafe fn GetOverlayRenderingPid (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64) -> u32 { cxxbridge :: GetOverlayRenderingPid_autocxx_wrapper (self , ulOverlayHandle) } # [doc = " Specify flag setting for a given overlay"] pub unsafe fn SetOverlayFlag (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , eOverlayFlag : root :: vr :: VROverlayFlags , bEnabled : bool) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayFlag_autocxx_wrapper (self , ulOverlayHandle , eOverlayFlag , bEnabled) } # [doc = " Sets flag setting for a given overlay"] pub unsafe fn GetOverlayFlag (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , eOverlayFlag : root :: vr :: VROverlayFlags , pbEnabled : * mut bool) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayFlag_autocxx_wrapper (self , ulOverlayHandle , eOverlayFlag , pbEnabled) } # [doc = " Gets all the flags for a given overlay"] pub unsafe fn GetOverlayFlags (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pFlags : * mut u32) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayFlags_autocxx_wrapper (self , ulOverlayHandle , pFlags) } # [doc = " Sets the color tint of the overlay quad. Use 0.0 to 1.0 per channel."] pub unsafe fn SetOverlayColor (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , fRed : f32 , fGreen : f32 , fBlue : f32) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayColor_autocxx_wrapper (self , ulOverlayHandle , fRed , fGreen , fBlue) } # [doc = " Gets the color tint of the overlay quad."] pub unsafe fn GetOverlayColor (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pfRed : * mut f32 , pfGreen : * mut f32 , pfBlue : * mut f32) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayColor_autocxx_wrapper (self , ulOverlayHandle , pfRed , pfGreen , pfBlue) } # [doc = " Sets the alpha of the overlay quad. Use 1.0 for 100 percent opacity to 0.0 for 0 percent opacity."] pub unsafe fn SetOverlayAlpha (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , fAlpha : f32) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayAlpha_autocxx_wrapper (self , ulOverlayHandle , fAlpha) } # [doc = " Gets the alpha of the overlay quad. By default overlays are rendering at 100 percent alpha (1.0)."] pub unsafe fn GetOverlayAlpha (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pfAlpha : * mut f32) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayAlpha_autocxx_wrapper (self , ulOverlayHandle , pfAlpha) } # [doc = " Sets the aspect ratio of the texels in the overlay. 1.0 means the texels are square. 2.0 means the texels"] # [doc = " are twice as wide as they are tall. Defaults to 1.0."] pub unsafe fn SetOverlayTexelAspect (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , fTexelAspect : f32) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayTexelAspect_autocxx_wrapper (self , ulOverlayHandle , fTexelAspect) } # [doc = " Gets the aspect ratio of the texels in the overlay. Defaults to 1.0"] pub unsafe fn GetOverlayTexelAspect (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pfTexelAspect : * mut f32) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayTexelAspect_autocxx_wrapper (self , ulOverlayHandle , pfTexelAspect) } # [doc = " Sets the rendering sort order for the overlay. Overlays are rendered this order:"] # [doc = "      Overlays owned by the scene application"] # [doc = "      Overlays owned by some other application"] # [doc = ""] # [doc = "\tWithin a category overlays are rendered lowest sort order to highest sort order. Overlays with the same"] # [doc = "\tsort order are rendered back to front base on distance from the HMD."] # [doc = ""] # [doc = "\tSort order defaults to 0."] pub unsafe fn SetOverlaySortOrder (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , unSortOrder : u32) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlaySortOrder_autocxx_wrapper (self , ulOverlayHandle , unSortOrder) } # [doc = " Gets the sort order of the overlay. See SetOverlaySortOrder for how this works."] pub unsafe fn GetOverlaySortOrder (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , punSortOrder : * mut u32) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlaySortOrder_autocxx_wrapper (self , ulOverlayHandle , punSortOrder) } # [doc = " Sets the width of the overlay quad in meters. By default overlays are rendered on a quad that is 1 meter across"] pub unsafe fn SetOverlayWidthInMeters (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , fWidthInMeters : f32) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayWidthInMeters_autocxx_wrapper (self , ulOverlayHandle , fWidthInMeters) } # [doc = " Returns the width of the overlay quad in meters. By default overlays are rendered on a quad that is 1 meter across"] pub unsafe fn GetOverlayWidthInMeters (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pfWidthInMeters : * mut f32) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayWidthInMeters_autocxx_wrapper (self , ulOverlayHandle , pfWidthInMeters) } # [doc = " Use to draw overlay as a curved surface. Curvature is a percentage from (0..1] where 1 is a fully closed cylinder."] # [doc = " For a specific radius, curvature can be computed as: overlay.width / (2 PI r)."] pub unsafe fn SetOverlayCurvature (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , fCurvature : f32) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayCurvature_autocxx_wrapper (self , ulOverlayHandle , fCurvature) } # [doc = " Returns the curvature of the overlay as a percentage from (0..1] where 1 is a fully closed cylinder."] pub unsafe fn GetOverlayCurvature (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pfCurvature : * mut f32) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayCurvature_autocxx_wrapper (self , ulOverlayHandle , pfCurvature) } # [doc = " Sets the colorspace the overlay texture's data is in.  Defaults to 'auto'."] # [doc = " If the texture needs to be resolved, you should call SetOverlayTexture with the appropriate colorspace instead."] pub unsafe fn SetOverlayTextureColorSpace (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , eTextureColorSpace : root :: vr :: EColorSpace) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayTextureColorSpace_autocxx_wrapper (self , ulOverlayHandle , eTextureColorSpace) } # [doc = " Gets the overlay's current colorspace setting."] pub unsafe fn GetOverlayTextureColorSpace (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , peTextureColorSpace : * mut root :: vr :: EColorSpace) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayTextureColorSpace_autocxx_wrapper (self , ulOverlayHandle , peTextureColorSpace) } # [doc = " Sets the part of the texture to use for the overlay. UV Min is the upper left corner and UV Max is the lower right corner."] pub unsafe fn SetOverlayTextureBounds (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pOverlayTextureBounds : * const root :: vr :: VRTextureBounds_t) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayTextureBounds_autocxx_wrapper (self , ulOverlayHandle , pOverlayTextureBounds) } # [doc = " Gets the part of the texture to use for the overlay. UV Min is the upper left corner and UV Max is the lower right corner."] pub unsafe fn GetOverlayTextureBounds (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pOverlayTextureBounds : * mut root :: vr :: VRTextureBounds_t) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayTextureBounds_autocxx_wrapper (self , ulOverlayHandle , pOverlayTextureBounds) } # [doc = " Returns the transform type of this overlay."] pub unsafe fn GetOverlayTransformType (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , peTransformType : * mut root :: vr :: VROverlayTransformType) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayTransformType_autocxx_wrapper (self , ulOverlayHandle , peTransformType) } # [doc = " Sets the transform to absolute tracking origin."] pub unsafe fn SetOverlayTransformAbsolute (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , eTrackingOrigin : root :: vr :: ETrackingUniverseOrigin , pmatTrackingOriginToOverlayTransform : * const root :: vr :: HmdMatrix34_t) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayTransformAbsolute_autocxx_wrapper (self , ulOverlayHandle , eTrackingOrigin , pmatTrackingOriginToOverlayTransform) } # [doc = " Gets the transform if it is absolute. Returns an error if the transform is some other type."] pub unsafe fn GetOverlayTransformAbsolute (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , peTrackingOrigin : * mut root :: vr :: ETrackingUniverseOrigin , pmatTrackingOriginToOverlayTransform : * mut root :: vr :: HmdMatrix34_t) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayTransformAbsolute_autocxx_wrapper (self , ulOverlayHandle , peTrackingOrigin , pmatTrackingOriginToOverlayTransform) } # [doc = " Sets the transform to relative to the transform of the specified tracked device."] pub unsafe fn SetOverlayTransformTrackedDeviceRelative (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , unTrackedDevice : u32 , pmatTrackedDeviceToOverlayTransform : * const root :: vr :: HmdMatrix34_t) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayTransformTrackedDeviceRelative_autocxx_wrapper (self , ulOverlayHandle , unTrackedDevice , pmatTrackedDeviceToOverlayTransform) } # [doc = " Gets the transform if it is relative to a tracked device. Returns an error if the transform is some other type."] pub unsafe fn GetOverlayTransformTrackedDeviceRelative (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , punTrackedDevice : * mut u32 , pmatTrackedDeviceToOverlayTransform : * mut root :: vr :: HmdMatrix34_t) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayTransformTrackedDeviceRelative_autocxx_wrapper (self , ulOverlayHandle , punTrackedDevice , pmatTrackedDeviceToOverlayTransform) } # [doc = " Sets the transform to draw the overlay on a rendermodel component mesh instead of a quad. This will only draw when the system is"] # [doc = " drawing the device. Overlays with this transform type cannot receive mouse events."] pub unsafe fn SetOverlayTransformTrackedDeviceComponent (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , unDeviceIndex : u32 , pchComponentName : * const :: std :: os :: raw :: c_char) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayTransformTrackedDeviceComponent_autocxx_wrapper (self , ulOverlayHandle , unDeviceIndex , pchComponentName) } # [doc = " Gets the transform information when the overlay is rendering on a component."] pub unsafe fn GetOverlayTransformTrackedDeviceComponent (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , punDeviceIndex : * mut u32 , pchComponentName : * mut :: std :: os :: raw :: c_char , unComponentNameSize : u32) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayTransformTrackedDeviceComponent_autocxx_wrapper (self , ulOverlayHandle , punDeviceIndex , pchComponentName , unComponentNameSize) } # [doc = " Gets the transform if it is relative to another overlay. Returns an error if the transform is some other type."] pub unsafe fn GetOverlayTransformOverlayRelative (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , ulOverlayHandleParent : * mut u64 , pmatParentOverlayToOverlayTransform : * mut root :: vr :: HmdMatrix34_t) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayTransformOverlayRelative_autocxx_wrapper (self , ulOverlayHandle , ulOverlayHandleParent , pmatParentOverlayToOverlayTransform) } # [doc = " Sets the transform to relative to the transform of the specified overlay. This overlays visibility will also track the parents visibility"] pub unsafe fn SetOverlayTransformOverlayRelative (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , ulOverlayHandleParent : u64 , pmatParentOverlayToOverlayTransform : * const root :: vr :: HmdMatrix34_t) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayTransformOverlayRelative_autocxx_wrapper (self , ulOverlayHandle , ulOverlayHandleParent , pmatParentOverlayToOverlayTransform) } # [doc = " Sets the hotspot for the specified overlay when that overlay is used as a cursor. These are in texture space with 0,0 in the upper left corner of"] # [doc = " the texture and 1,1 in the lower right corner of the texture."] pub unsafe fn SetOverlayTransformCursor (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulCursorOverlayHandle : u64 , pvHotspot : * const root :: vr :: HmdVector2_t) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayTransformCursor_autocxx_wrapper (self , ulCursorOverlayHandle , pvHotspot) } # [doc = " Gets cursor hotspot/transform for the specified overlay"] pub unsafe fn GetOverlayTransformCursor (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pvHotspot : * mut root :: vr :: HmdVector2_t) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayTransformCursor_autocxx_wrapper (self , ulOverlayHandle , pvHotspot) } # [doc = " Sets the overlay as a projection overlay"] pub unsafe fn SetOverlayTransformProjection (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , eTrackingOrigin : root :: vr :: ETrackingUniverseOrigin , pmatTrackingOriginToOverlayTransform : * const root :: vr :: HmdMatrix34_t , pProjection : * const root :: vr :: VROverlayProjection_t , eEye : root :: vr :: EVREye) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayTransformProjection_autocxx_wrapper (self , ulOverlayHandle , eTrackingOrigin , pmatTrackingOriginToOverlayTransform , pProjection , eEye) } # [doc = " Shows the VR overlay.  For dashboard overlays, only the Dashboard Manager is allowed to call this."] pub unsafe fn ShowOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64) -> root :: vr :: EVROverlayError { cxxbridge :: ShowOverlay_autocxx_wrapper (self , ulOverlayHandle) } # [doc = " Hides the VR overlay.  For dashboard overlays, only the Dashboard Manager is allowed to call this."] pub unsafe fn HideOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64) -> root :: vr :: EVROverlayError { cxxbridge :: HideOverlay_autocxx_wrapper (self , ulOverlayHandle) } # [doc = " Returns true if the overlay is visible."] pub unsafe fn IsOverlayVisible (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64) -> bool { cxxbridge :: IsOverlayVisible_autocxx_wrapper (self , ulOverlayHandle) } # [doc = " Get the transform in 3d space associated with a specific 2d point in the overlay's coordinate space (where 0,0 is the lower left). -Z points out of the overlay"] pub unsafe fn GetTransformForOverlayCoordinates (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , eTrackingOrigin : root :: vr :: ETrackingUniverseOrigin , coordinatesInOverlay : impl autocxx :: ValueParam < root :: vr :: HmdVector2_t > , pmatTransform : * mut root :: vr :: HmdMatrix34_t) -> root :: vr :: EVROverlayError { let mut coordinatesInOverlay_space = autocxx :: ValueParamHandler :: default () ; let mut coordinatesInOverlay_space = :: std :: pin :: Pin :: new_unchecked (& mut coordinatesInOverlay_space) ; coordinatesInOverlay_space . as_mut () . populate (coordinatesInOverlay) ; cxxbridge :: GetTransformForOverlayCoordinates_autocxx_wrapper (self , ulOverlayHandle , eTrackingOrigin , coordinatesInOverlay_space . get_ptr () , pmatTransform) } # [doc = " Returns true and fills the event with the next event on the overlay's event queue, if there is one."] # [doc = " If there are no events this method returns false. uncbVREvent should be the size in bytes of the VREvent_t struct"] pub unsafe fn PollNextOverlayEvent (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pEvent : * mut root :: vr :: VREvent_t , uncbVREvent : u32) -> bool { cxxbridge :: PollNextOverlayEvent_autocxx_wrapper (self , ulOverlayHandle , pEvent , uncbVREvent) } # [doc = " Returns the current input settings for the specified overlay."] pub unsafe fn GetOverlayInputMethod (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , peInputMethod : * mut root :: vr :: VROverlayInputMethod) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayInputMethod_autocxx_wrapper (self , ulOverlayHandle , peInputMethod) } # [doc = " Sets the input settings for the specified overlay."] pub unsafe fn SetOverlayInputMethod (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , eInputMethod : root :: vr :: VROverlayInputMethod) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayInputMethod_autocxx_wrapper (self , ulOverlayHandle , eInputMethod) } # [doc = " Gets the mouse scaling factor that is used for mouse events. The actual texture may be a different size, but this is"] # [doc = " typically the size of the underlying UI in pixels."] pub unsafe fn GetOverlayMouseScale (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pvecMouseScale : * mut root :: vr :: HmdVector2_t) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayMouseScale_autocxx_wrapper (self , ulOverlayHandle , pvecMouseScale) } # [doc = " Sets the mouse scaling factor that is used for mouse events. The actual texture may be a different size, but this is"] # [doc = " typically the size of the underlying UI in pixels (not in world space)."] pub unsafe fn SetOverlayMouseScale (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pvecMouseScale : * const root :: vr :: HmdVector2_t) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayMouseScale_autocxx_wrapper (self , ulOverlayHandle , pvecMouseScale) } # [doc = " Computes the overlay-space pixel coordinates of where the ray intersects the overlay with the"] # [doc = " specified settings. Returns false if there is no intersection."] pub unsafe fn ComputeOverlayIntersection (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pParams : * const root :: vr :: VROverlayIntersectionParams_t , pResults : * mut root :: vr :: VROverlayIntersectionResults_t) -> bool { cxxbridge :: ComputeOverlayIntersection_autocxx_wrapper (self , ulOverlayHandle , pParams , pResults) } # [doc = " Returns true if the specified overlay is the hover target. An overlay is the hover target when it is the last overlay \"moused over\""] # [doc = " by the virtual mouse pointer"] pub unsafe fn IsHoverTargetOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64) -> bool { cxxbridge :: IsHoverTargetOverlay_autocxx_wrapper (self , ulOverlayHandle) } # [doc = " Sets a list of primitives to be used for controller ray intersection"] # [doc = " typically the size of the underlying UI in pixels (not in world space)."] pub unsafe fn SetOverlayIntersectionMask (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pMaskPrimitives : * mut root :: vr :: VROverlayIntersectionMaskPrimitive_t , unNumMaskPrimitives : u32 , unPrimitiveSize : u32) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayIntersectionMask_autocxx_wrapper (self , ulOverlayHandle , pMaskPrimitives , unNumMaskPrimitives , unPrimitiveSize) } # [doc = " Triggers a haptic event on the laser mouse controller for the specified overlay"] pub unsafe fn TriggerLaserMouseHapticVibration (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , fDurationSeconds : f32 , fFrequency : f32 , fAmplitude : f32) -> root :: vr :: EVROverlayError { cxxbridge :: TriggerLaserMouseHapticVibration_autocxx_wrapper (self , ulOverlayHandle , fDurationSeconds , fFrequency , fAmplitude) } # [doc = " Sets the cursor to use for the specified overlay. This will be drawn instead of the generic blob when the laser mouse is pointed at the specified overlay"] pub unsafe fn SetOverlayCursor (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , ulCursorHandle : u64) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayCursor_autocxx_wrapper (self , ulOverlayHandle , ulCursorHandle) } # [doc = " Sets the override cursor position to use for this overlay in overlay mouse coordinates. This position will be used to draw the cursor"] # [doc = " instead of whatever the laser mouse cursor position is."] pub unsafe fn SetOverlayCursorPositionOverride (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pvCursor : * const root :: vr :: HmdVector2_t) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayCursorPositionOverride_autocxx_wrapper (self , ulOverlayHandle , pvCursor) } # [doc = " Clears the override cursor position for this overlay"] pub unsafe fn ClearOverlayCursorPositionOverride (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64) -> root :: vr :: EVROverlayError { cxxbridge :: ClearOverlayCursorPositionOverride_autocxx_wrapper (self , ulOverlayHandle) } # [doc = " Texture to draw for the overlay. This function can only be called by the overlay's creator or renderer process (see SetOverlayRenderingPid) ."] # [doc = ""] # [doc = " OpenGL dirty state:"] # [doc = "\tglBindTexture"] pub unsafe fn SetOverlayTexture (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pTexture : * const root :: vr :: Texture_t) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayTexture_autocxx_wrapper (self , ulOverlayHandle , pTexture) } # [doc = " Use this to tell the overlay system to release the texture set for this overlay."] pub unsafe fn ClearOverlayTexture (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64) -> root :: vr :: EVROverlayError { cxxbridge :: ClearOverlayTexture_autocxx_wrapper (self , ulOverlayHandle) } # [doc = " Separate interface for providing the data as a stream of bytes, but there is an upper bound on data"] # [doc = " that can be sent. This function can only be called by the overlay's renderer process."] pub unsafe fn SetOverlayRaw (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pvBuffer : * mut autocxx :: c_void , unWidth : u32 , unHeight : u32 , unBytesPerPixel : u32) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayRaw_autocxx_wrapper (self , ulOverlayHandle , pvBuffer , unWidth , unHeight , unBytesPerPixel) } # [doc = " Separate interface for providing the image through a filename: can be png or jpg, and should not be bigger than 1920x1080."] # [doc = " This function can only be called by the overlay's renderer process"] pub unsafe fn SetOverlayFromFile (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pchFilePath : * const :: std :: os :: raw :: c_char) -> root :: vr :: EVROverlayError { cxxbridge :: SetOverlayFromFile_autocxx_wrapper (self , ulOverlayHandle , pchFilePath) } # [doc = "autocxx bindings couldn't be generated: Pointer pointed to something unsupported"] fn GetOverlayTexture (_uhoh : autocxx :: BindingGenerationFailure) { } # [doc = " Release the pNativeTextureHandle provided from the GetOverlayTexture call, this allows the system to free the underlying GPU resources for this object,"] # [doc = " so only do it once you stop rendering this texture."] pub unsafe fn ReleaseNativeOverlayHandle (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pNativeTextureHandle : * mut autocxx :: c_void) -> root :: vr :: EVROverlayError { cxxbridge :: ReleaseNativeOverlayHandle_autocxx_wrapper (self , ulOverlayHandle , pNativeTextureHandle) } # [doc = " Get the size of the overlay texture"] pub unsafe fn GetOverlayTextureSize (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , pWidth : * mut u32 , pHeight : * mut u32) -> root :: vr :: EVROverlayError { cxxbridge :: GetOverlayTextureSize_autocxx_wrapper (self , ulOverlayHandle , pWidth , pHeight) } # [doc = " Creates a dashboard overlay and returns its handle"] pub unsafe fn CreateDashboardOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , pchOverlayKey : * const :: std :: os :: raw :: c_char , pchOverlayFriendlyName : * const :: std :: os :: raw :: c_char , pMainHandle : * mut u64 , pThumbnailHandle : * mut u64) -> root :: vr :: EVROverlayError { cxxbridge :: CreateDashboardOverlay_autocxx_wrapper (self , pchOverlayKey , pchOverlayFriendlyName , pMainHandle , pThumbnailHandle) } # [doc = " Returns true if the dashboard is visible"] pub unsafe fn IsDashboardVisible (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay >) -> bool { cxxbridge :: IsDashboardVisible_autocxx_wrapper (self) } # [doc = " returns true if the dashboard is visible and the specified overlay is the active system Overlay"] pub unsafe fn IsActiveDashboardOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64) -> bool { cxxbridge :: IsActiveDashboardOverlay_autocxx_wrapper (self , ulOverlayHandle) } # [doc = " Sets the dashboard overlay to only appear when the specified process ID has scene focus"] pub unsafe fn SetDashboardOverlaySceneProcess (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , unProcessId : u32) -> root :: vr :: EVROverlayError { cxxbridge :: SetDashboardOverlaySceneProcess_autocxx_wrapper (self , ulOverlayHandle , unProcessId) } # [doc = " Gets the process ID that this dashboard overlay requires to have scene focus"] pub unsafe fn GetDashboardOverlaySceneProcess (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , punProcessId : * mut u32) -> root :: vr :: EVROverlayError { cxxbridge :: GetDashboardOverlaySceneProcess_autocxx_wrapper (self , ulOverlayHandle , punProcessId) } # [doc = " Shows the dashboard."] pub unsafe fn ShowDashboard (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , pchOverlayToShow : * const :: std :: os :: raw :: c_char) { cxxbridge :: ShowDashboard_autocxx_wrapper (self , pchOverlayToShow) } # [doc = " Returns the tracked device that has the laser pointer in the dashboard"] pub unsafe fn GetPrimaryDashboardDevice (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay >) -> u32 { cxxbridge :: GetPrimaryDashboardDevice_autocxx_wrapper (self) } # [doc = " Show the virtual keyboard to accept input. In most cases, you should pass KeyboardFlag_Modal to enable modal overlay"] # [doc = " behavior on the keyboard itself. See EKeyboardFlags for more."] pub unsafe fn ShowKeyboard (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , eInputMode : root :: vr :: EGamepadTextInputMode , eLineInputMode : root :: vr :: EGamepadTextInputLineMode , unFlags : u32 , pchDescription : * const :: std :: os :: raw :: c_char , unCharMax : u32 , pchExistingText : * const :: std :: os :: raw :: c_char , uUserValue : u64) -> root :: vr :: EVROverlayError { cxxbridge :: ShowKeyboard_autocxx_wrapper (self , eInputMode , eLineInputMode , unFlags , pchDescription , unCharMax , pchExistingText , uUserValue) } # [doc = " Show the virtual keyboard to accept input for an overlay. In most cases, you should pass KeyboardFlag_Modal to enable modal"] # [doc = " overlay behavior on the keyboard itself. See EKeyboardFlags for more."] pub unsafe fn ShowKeyboardForOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , eInputMode : root :: vr :: EGamepadTextInputMode , eLineInputMode : root :: vr :: EGamepadTextInputLineMode , unFlags : u32 , pchDescription : * const :: std :: os :: raw :: c_char , unCharMax : u32 , pchExistingText : * const :: std :: os :: raw :: c_char , uUserValue : u64) -> root :: vr :: EVROverlayError { cxxbridge :: ShowKeyboardForOverlay_autocxx_wrapper (self , ulOverlayHandle , eInputMode , eLineInputMode , unFlags , pchDescription , unCharMax , pchExistingText , uUserValue) } # [doc = " Get the text that was entered into the text input"] pub unsafe fn GetKeyboardText (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , pchText : * mut :: std :: os :: raw :: c_char , cchText : u32) -> u32 { cxxbridge :: GetKeyboardText_autocxx_wrapper (self , pchText , cchText) } # [doc = " Hide the virtual keyboard"] pub unsafe fn HideKeyboard (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay >) { cxxbridge :: HideKeyboard_autocxx_wrapper (self) } # [doc = " Set the position of the keyboard in world space"] pub unsafe fn SetKeyboardTransformAbsolute (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , eTrackingOrigin : root :: vr :: ETrackingUniverseOrigin , pmatTrackingOriginToKeyboardTransform : * const root :: vr :: HmdMatrix34_t) { cxxbridge :: SetKeyboardTransformAbsolute_autocxx_wrapper (self , eTrackingOrigin , pmatTrackingOriginToKeyboardTransform) } # [doc = " Set the position of the keyboard in overlay space by telling it to avoid a rectangle in the overlay. Rectangle coords have (0,0) in the bottom left"] pub unsafe fn SetKeyboardPositionForOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , ulOverlayHandle : u64 , avoidRect : impl autocxx :: ValueParam < root :: vr :: HmdRect2_t >) { let mut avoidRect_space = autocxx :: ValueParamHandler :: default () ; let mut avoidRect_space = :: std :: pin :: Pin :: new_unchecked (& mut avoidRect_space) ; avoidRect_space . as_mut () . populate (avoidRect) ; cxxbridge :: SetKeyboardPositionForOverlay_autocxx_wrapper (self , ulOverlayHandle , avoidRect_space . get_ptr ()) } # [doc = " Show the message overlay. This will block and return you a result."] pub unsafe fn ShowMessageOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay > , pchText : * const :: std :: os :: raw :: c_char , pchCaption : * const :: std :: os :: raw :: c_char , pchButton0Text : * const :: std :: os :: raw :: c_char , pchButton1Text : * const :: std :: os :: raw :: c_char , pchButton2Text : * const :: std :: os :: raw :: c_char , pchButton3Text : * const :: std :: os :: raw :: c_char) -> root :: vr :: VRMessageOverlayResponse { cxxbridge :: ShowMessageOverlay_autocxx_wrapper (self , pchText , pchCaption , pchButton0Text , pchButton1Text , pchButton2Text , pchButton3Text) } # [doc = " If the calling process owns the overlay and it's open, this will close it."] pub unsafe fn CloseMessageOverlay (self : :: std :: pin :: Pin < & mut root :: vr :: IVROverlay >) { cxxbridge :: CloseMessageOverlay_autocxx_wrapper (self) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: TrackedDevicePose_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: TrackedDevicePose_t { cxxbridge :: TrackedDevicePose_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: TrackedDevicePose_t) { cxxbridge :: TrackedDevicePose_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: new :: CopyNew for root :: vr :: DistortionCoordinates_t { # [doc = "Synthesized copy constructor."] unsafe fn copy_new (other : & root :: vr :: DistortionCoordinates_t , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: DistortionCoordinates_t > >) { cxxbridge :: vr_DistortionCoordinates_t_new_synthetic_const_copy_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , other) } } impl Drop for root :: vr :: IVROverlay { # [doc = "Synthesized destructor."] fn drop (self : & mut root :: vr :: IVROverlay) { unsafe { cxxbridge :: IVROverlay_autocxx_wrapper (self) } } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: HmdRect2_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: HmdRect2_t { cxxbridge :: HmdRect2_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: HmdRect2_t) { cxxbridge :: HmdRect2_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: VRTextureBounds_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: VRTextureBounds_t { cxxbridge :: VRTextureBounds_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: VRTextureBounds_t) { cxxbridge :: VRTextureBounds_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: new :: MoveNew for root :: vr :: HiddenAreaMesh_t { # [doc = "Synthesized move constructor."] unsafe fn move_new (mut other : :: std :: pin :: Pin < autocxx :: moveit :: MoveRef < '_ , root :: vr :: HiddenAreaMesh_t > > , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: HiddenAreaMesh_t > >) { cxxbridge :: vr_HiddenAreaMesh_t_new_synthetic_move_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , { let r : & mut _ = :: std :: pin :: Pin :: into_inner_unchecked (other . as_mut ()) ; r }) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: VROverlayIntersectionParams_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: VROverlayIntersectionParams_t { cxxbridge :: VROverlayIntersectionParams_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: VROverlayIntersectionParams_t) { cxxbridge :: VROverlayIntersectionParams_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: new :: MoveNew for root :: vr :: VROverlayProjection_t { # [doc = "Synthesized move constructor."] unsafe fn move_new (mut other : :: std :: pin :: Pin < autocxx :: moveit :: MoveRef < '_ , root :: vr :: VROverlayProjection_t > > , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: VROverlayProjection_t > >) { cxxbridge :: vr_VROverlayProjection_t_new_synthetic_move_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , { let r : & mut _ = :: std :: pin :: Pin :: into_inner_unchecked (other . as_mut ()) ; r }) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: IVROverlay { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: IVROverlay { cxxbridge :: IVROverlay_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: IVROverlay) { cxxbridge :: IVROverlay_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: Texture_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: Texture_t { cxxbridge :: Texture_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: Texture_t) { cxxbridge :: Texture_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: HmdMatrix44_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: HmdMatrix44_t { cxxbridge :: HmdMatrix44_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: HmdMatrix44_t) { cxxbridge :: HmdMatrix44_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: HmdMatrix34_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: HmdMatrix34_t { cxxbridge :: HmdMatrix34_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: HmdMatrix34_t) { cxxbridge :: HmdMatrix34_t_free_autocxx_wrapper (arg0) } } impl Drop for root :: vr :: IVRSystem { # [doc = "Synthesized destructor."] fn drop (self : & mut root :: vr :: IVRSystem) { unsafe { cxxbridge :: IVRSystem_autocxx_wrapper (self) } } } unsafe impl autocxx :: moveit :: new :: CopyNew for root :: vr :: VROverlayProjection_t { # [doc = "Synthesized copy constructor."] unsafe fn copy_new (other : & root :: vr :: VROverlayProjection_t , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: VROverlayProjection_t > >) { cxxbridge :: vr_VROverlayProjection_t_new_synthetic_const_copy_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , other) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: VROverlayIntersectionMaskPrimitive_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: VROverlayIntersectionMaskPrimitive_t { cxxbridge :: VROverlayIntersectionMaskPrimitive_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: VROverlayIntersectionMaskPrimitive_t) { cxxbridge :: VROverlayIntersectionMaskPrimitive_t_free_autocxx_wrapper (arg0) } } impl Drop for root :: vr :: HmdMatrix34_t { # [doc = "Synthesized destructor."] fn drop (self : & mut root :: vr :: HmdMatrix34_t) { unsafe { cxxbridge :: HmdMatrix34_t_autocxx_wrapper (self) } } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: VRControllerState001_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: VRControllerState001_t { cxxbridge :: VRControllerState001_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: VRControllerState001_t) { cxxbridge :: VRControllerState001_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: new :: MoveNew for root :: vr :: VRTextureBounds_t { # [doc = "Synthesized move constructor."] unsafe fn move_new (mut other : :: std :: pin :: Pin < autocxx :: moveit :: MoveRef < '_ , root :: vr :: VRTextureBounds_t > > , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: VRTextureBounds_t > >) { cxxbridge :: vr_VRTextureBounds_t_new_synthetic_move_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , { let r : & mut _ = :: std :: pin :: Pin :: into_inner_unchecked (other . as_mut ()) ; r }) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: VREvent_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: VREvent_t { cxxbridge :: VREvent_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: VREvent_t) { cxxbridge :: VREvent_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: new :: MoveNew for root :: vr :: VREvent_t { # [doc = "Synthesized move constructor."] unsafe fn move_new (mut other : :: std :: pin :: Pin < autocxx :: moveit :: MoveRef < '_ , root :: vr :: VREvent_t > > , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: VREvent_t > >) { cxxbridge :: vr_VREvent_t_new_synthetic_move_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , { let r : & mut _ = :: std :: pin :: Pin :: into_inner_unchecked (other . as_mut ()) ; r }) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: VROverlayIntersectionResults_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: VROverlayIntersectionResults_t { cxxbridge :: VROverlayIntersectionResults_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: VROverlayIntersectionResults_t) { cxxbridge :: VROverlayIntersectionResults_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: VROverlayProjection_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: VROverlayProjection_t { cxxbridge :: VROverlayProjection_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: VROverlayProjection_t) { cxxbridge :: VROverlayProjection_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: HiddenAreaMesh_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: HiddenAreaMesh_t { cxxbridge :: HiddenAreaMesh_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: HiddenAreaMesh_t) { cxxbridge :: HiddenAreaMesh_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: new :: CopyNew for root :: vr :: VRControllerState001_t { # [doc = "Synthesized copy constructor."] unsafe fn copy_new (other : & root :: vr :: VRControllerState001_t , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: VRControllerState001_t > >) { cxxbridge :: vr_VRControllerState001_t_new_synthetic_const_copy_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , other) } } unsafe impl autocxx :: moveit :: new :: CopyNew for root :: vr :: HiddenAreaMesh_t { # [doc = "Synthesized copy constructor."] unsafe fn copy_new (other : & root :: vr :: HiddenAreaMesh_t , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: HiddenAreaMesh_t > >) { cxxbridge :: vr_HiddenAreaMesh_t_new_synthetic_const_copy_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , other) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: IVRSystem { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: IVRSystem { cxxbridge :: IVRSystem_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: IVRSystem) { cxxbridge :: IVRSystem_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: new :: CopyNew for root :: vr :: VREvent_t { # [doc = "Synthesized copy constructor."] unsafe fn copy_new (other : & root :: vr :: VREvent_t , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: VREvent_t > >) { cxxbridge :: vr_VREvent_t_new_synthetic_const_copy_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , other) } } unsafe impl autocxx :: moveit :: new :: CopyNew for root :: vr :: VRTextureBounds_t { # [doc = "Synthesized copy constructor."] unsafe fn copy_new (other : & root :: vr :: VRTextureBounds_t , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: VRTextureBounds_t > >) { cxxbridge :: vr_VRTextureBounds_t_new_synthetic_const_copy_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , other) } } unsafe impl autocxx :: moveit :: new :: MoveNew for root :: vr :: HmdVector2_t { # [doc = "Synthesized move constructor."] unsafe fn move_new (mut other : :: std :: pin :: Pin < autocxx :: moveit :: MoveRef < '_ , root :: vr :: HmdVector2_t > > , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: HmdVector2_t > >) { cxxbridge :: vr_HmdVector2_t_new_synthetic_move_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , { let r : & mut _ = :: std :: pin :: Pin :: into_inner_unchecked (other . as_mut ()) ; r }) } } unsafe impl autocxx :: moveit :: new :: CopyNew for root :: vr :: HmdRect2_t { # [doc = "Synthesized copy constructor."] unsafe fn copy_new (other : & root :: vr :: HmdRect2_t , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: HmdRect2_t > >) { cxxbridge :: vr_HmdRect2_t_new_synthetic_const_copy_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , other) } } unsafe impl autocxx :: moveit :: new :: MoveNew for root :: vr :: DistortionCoordinates_t { # [doc = "Synthesized move constructor."] unsafe fn move_new (mut other : :: std :: pin :: Pin < autocxx :: moveit :: MoveRef < '_ , root :: vr :: DistortionCoordinates_t > > , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: DistortionCoordinates_t > >) { cxxbridge :: vr_DistortionCoordinates_t_new_synthetic_move_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , { let r : & mut _ = :: std :: pin :: Pin :: into_inner_unchecked (other . as_mut ()) ; r }) } } unsafe impl autocxx :: moveit :: new :: CopyNew for root :: vr :: HmdVector2_t { # [doc = "Synthesized copy constructor."] unsafe fn copy_new (other : & root :: vr :: HmdVector2_t , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: HmdVector2_t > >) { cxxbridge :: vr_HmdVector2_t_new_synthetic_const_copy_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , other) } } unsafe impl autocxx :: moveit :: new :: MoveNew for root :: vr :: HmdRect2_t { # [doc = "Synthesized move constructor."] unsafe fn move_new (mut other : :: std :: pin :: Pin < autocxx :: moveit :: MoveRef < '_ , root :: vr :: HmdRect2_t > > , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: HmdRect2_t > >) { cxxbridge :: vr_HmdRect2_t_new_synthetic_move_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , { let r : & mut _ = :: std :: pin :: Pin :: into_inner_unchecked (other . as_mut ()) ; r }) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: DistortionCoordinates_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: DistortionCoordinates_t { cxxbridge :: DistortionCoordinates_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: DistortionCoordinates_t) { cxxbridge :: DistortionCoordinates_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: new :: MoveNew for root :: vr :: VROverlayIntersectionResults_t { # [doc = "Synthesized move constructor."] unsafe fn move_new (mut other : :: std :: pin :: Pin < autocxx :: moveit :: MoveRef < '_ , root :: vr :: VROverlayIntersectionResults_t > > , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: VROverlayIntersectionResults_t > >) { cxxbridge :: vr_VROverlayIntersectionResults_t_new_synthetic_move_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , { let r : & mut _ = :: std :: pin :: Pin :: into_inner_unchecked (other . as_mut ()) ; r }) } } unsafe impl autocxx :: moveit :: MakeCppStorage for root :: vr :: HmdVector2_t { unsafe fn allocate_uninitialized_cpp_storage () -> * mut root :: vr :: HmdVector2_t { cxxbridge :: HmdVector2_t_alloc_autocxx_wrapper () } unsafe fn free_uninitialized_cpp_storage (arg0 : * mut root :: vr :: HmdVector2_t) { cxxbridge :: HmdVector2_t_free_autocxx_wrapper (arg0) } } unsafe impl autocxx :: moveit :: new :: CopyNew for root :: vr :: VROverlayIntersectionResults_t { # [doc = "Synthesized copy constructor."] unsafe fn copy_new (other : & root :: vr :: VROverlayIntersectionResults_t , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: VROverlayIntersectionResults_t > >) { cxxbridge :: vr_VROverlayIntersectionResults_t_new_synthetic_const_copy_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , other) } } unsafe impl autocxx :: moveit :: new :: MoveNew for root :: vr :: VRControllerState001_t { # [doc = "Synthesized move constructor."] unsafe fn move_new (mut other : :: std :: pin :: Pin < autocxx :: moveit :: MoveRef < '_ , root :: vr :: VRControllerState001_t > > , this : :: std :: pin :: Pin < & mut :: std :: mem :: MaybeUninit < root :: vr :: VRControllerState001_t > >) { cxxbridge :: vr_VRControllerState001_t_new_synthetic_move_ctor_autocxx_wrapper (this . get_unchecked_mut () . as_mut_ptr () , { let r : & mut _ = :: std :: pin :: Pin :: into_inner_unchecked (other . as_mut ()) ; r }) } } # [allow (unused_imports)] use self :: super :: super :: super :: cxxbridge ; # [allow (unused_imports)] use self :: super :: super :: super :: ToCppString ; # [allow (unused_imports)] use self :: super :: super :: root ; } # [allow (unused_imports)] use self :: super :: super :: cxxbridge ; # [allow (unused_imports)] use self :: super :: super :: ToCppString ; # [allow (unused_imports)] use self :: super :: root ; } } # [cxx :: bridge] mod cxxbridge { impl UniquePtr < HmdMatrix34_t > { } impl SharedPtr < HmdMatrix34_t > { } impl WeakPtr < HmdMatrix34_t > { } impl UniquePtr < ETrackingUniverseOrigin > { } impl SharedPtr < ETrackingUniverseOrigin > { } impl WeakPtr < ETrackingUniverseOrigin > { } impl CxxVector < ETrackingUniverseOrigin > { } impl UniquePtr < EVROverlayError > { } impl SharedPtr < EVROverlayError > { } impl WeakPtr < EVROverlayError > { } impl CxxVector < EVROverlayError > { } impl UniquePtr < EVRApplicationType > { } impl SharedPtr < EVRApplicationType > { } impl WeakPtr < EVRApplicationType > { } impl CxxVector < EVRApplicationType > { } impl UniquePtr < EVRInitError > { } impl SharedPtr < EVRInitError > { } impl WeakPtr < EVRInitError > { } impl CxxVector < EVRInitError > { } impl UniquePtr < EVREye > { } impl SharedPtr < EVREye > { } impl WeakPtr < EVREye > { } impl CxxVector < EVREye > { } impl UniquePtr < HmdMatrix44_t > { } impl SharedPtr < HmdMatrix44_t > { } impl WeakPtr < HmdMatrix44_t > { } impl UniquePtr < DistortionCoordinates_t > { } impl SharedPtr < DistortionCoordinates_t > { } impl WeakPtr < DistortionCoordinates_t > { } impl CxxVector < DistortionCoordinates_t > { } impl UniquePtr < ETextureType > { } impl SharedPtr < ETextureType > { } impl WeakPtr < ETextureType > { } impl CxxVector < ETextureType > { } impl UniquePtr < TrackedDevicePose_t > { } impl SharedPtr < TrackedDevicePose_t > { } impl WeakPtr < TrackedDevicePose_t > { } impl UniquePtr < ETrackedDeviceClass > { } impl SharedPtr < ETrackedDeviceClass > { } impl WeakPtr < ETrackedDeviceClass > { } impl CxxVector < ETrackedDeviceClass > { } impl UniquePtr < EDeviceActivityLevel > { } impl SharedPtr < EDeviceActivityLevel > { } impl WeakPtr < EDeviceActivityLevel > { } impl CxxVector < EDeviceActivityLevel > { } impl UniquePtr < ETrackedControllerRole > { } impl SharedPtr < ETrackedControllerRole > { } impl WeakPtr < ETrackedControllerRole > { } impl CxxVector < ETrackedControllerRole > { } impl UniquePtr < ETrackedDeviceProperty > { } impl SharedPtr < ETrackedDeviceProperty > { } impl WeakPtr < ETrackedDeviceProperty > { } impl CxxVector < ETrackedDeviceProperty > { } impl UniquePtr < ETrackedPropertyError > { } impl SharedPtr < ETrackedPropertyError > { } impl WeakPtr < ETrackedPropertyError > { } impl CxxVector < ETrackedPropertyError > { } impl UniquePtr < VREvent_t > { } impl SharedPtr < VREvent_t > { } impl WeakPtr < VREvent_t > { } impl CxxVector < VREvent_t > { } impl UniquePtr < EVREventType > { } impl SharedPtr < EVREventType > { } impl WeakPtr < EVREventType > { } impl CxxVector < EVREventType > { } impl UniquePtr < HiddenAreaMesh_t > { } impl SharedPtr < HiddenAreaMesh_t > { } impl WeakPtr < HiddenAreaMesh_t > { } impl CxxVector < HiddenAreaMesh_t > { } impl UniquePtr < EHiddenAreaMeshType > { } impl SharedPtr < EHiddenAreaMeshType > { } impl WeakPtr < EHiddenAreaMeshType > { } impl CxxVector < EHiddenAreaMeshType > { } impl UniquePtr < VRControllerState001_t > { } impl SharedPtr < VRControllerState001_t > { } impl WeakPtr < VRControllerState001_t > { } impl CxxVector < VRControllerState001_t > { } impl UniquePtr < EVRButtonId > { } impl SharedPtr < EVRButtonId > { } impl WeakPtr < EVRButtonId > { } impl CxxVector < EVRButtonId > { } impl UniquePtr < EVRControllerAxisType > { } impl SharedPtr < EVRControllerAxisType > { } impl WeakPtr < EVRControllerAxisType > { } impl CxxVector < EVRControllerAxisType > { } impl UniquePtr < EVRFirmwareError > { } impl SharedPtr < EVRFirmwareError > { } impl WeakPtr < EVRFirmwareError > { } impl CxxVector < EVRFirmwareError > { } impl UniquePtr < VROverlayFlags > { } impl SharedPtr < VROverlayFlags > { } impl WeakPtr < VROverlayFlags > { } impl CxxVector < VROverlayFlags > { } impl UniquePtr < EColorSpace > { } impl SharedPtr < EColorSpace > { } impl WeakPtr < EColorSpace > { } impl CxxVector < EColorSpace > { } impl UniquePtr < VRTextureBounds_t > { } impl SharedPtr < VRTextureBounds_t > { } impl WeakPtr < VRTextureBounds_t > { } impl CxxVector < VRTextureBounds_t > { } impl UniquePtr < VROverlayTransformType > { } impl SharedPtr < VROverlayTransformType > { } impl WeakPtr < VROverlayTransformType > { } impl CxxVector < VROverlayTransformType > { } impl UniquePtr < HmdVector2_t > { } impl SharedPtr < HmdVector2_t > { } impl WeakPtr < HmdVector2_t > { } impl CxxVector < HmdVector2_t > { } impl UniquePtr < VROverlayProjection_t > { } impl SharedPtr < VROverlayProjection_t > { } impl WeakPtr < VROverlayProjection_t > { } impl CxxVector < VROverlayProjection_t > { } impl UniquePtr < VROverlayInputMethod > { } impl SharedPtr < VROverlayInputMethod > { } impl WeakPtr < VROverlayInputMethod > { } impl CxxVector < VROverlayInputMethod > { } impl UniquePtr < VROverlayIntersectionParams_t > { } impl SharedPtr < VROverlayIntersectionParams_t > { } impl WeakPtr < VROverlayIntersectionParams_t > { } impl UniquePtr < VROverlayIntersectionResults_t > { } impl SharedPtr < VROverlayIntersectionResults_t > { } impl WeakPtr < VROverlayIntersectionResults_t > { } impl CxxVector < VROverlayIntersectionResults_t > { } impl UniquePtr < VROverlayIntersectionMaskPrimitive_t > { } impl SharedPtr < VROverlayIntersectionMaskPrimitive_t > { } impl WeakPtr < VROverlayIntersectionMaskPrimitive_t > { } impl UniquePtr < Texture_t > { } impl SharedPtr < Texture_t > { } impl WeakPtr < Texture_t > { } impl UniquePtr < EGamepadTextInputMode > { } impl SharedPtr < EGamepadTextInputMode > { } impl WeakPtr < EGamepadTextInputMode > { } impl CxxVector < EGamepadTextInputMode > { } impl UniquePtr < EGamepadTextInputLineMode > { } impl SharedPtr < EGamepadTextInputLineMode > { } impl WeakPtr < EGamepadTextInputLineMode > { } impl CxxVector < EGamepadTextInputLineMode > { } impl UniquePtr < HmdRect2_t > { } impl SharedPtr < HmdRect2_t > { } impl WeakPtr < HmdRect2_t > { } impl CxxVector < HmdRect2_t > { } impl UniquePtr < VRMessageOverlayResponse > { } impl SharedPtr < VRMessageOverlayResponse > { } impl WeakPtr < VRMessageOverlayResponse > { } impl CxxVector < VRMessageOverlayResponse > { } unsafe extern "C++" { fn autocxx_make_string (str_ : & str) -> UniquePtr < CxxString > ; pub unsafe fn HmdMatrix34_t_alloc_autocxx_wrapper () -> * mut HmdMatrix34_t ; pub unsafe fn HmdMatrix34_t_free_autocxx_wrapper (arg0 : * mut HmdMatrix34_t) ; # [namespace = "vr"] type HmdMatrix34_t = super :: bindgen :: root :: vr :: HmdMatrix34_t ; # [namespace = "vr"] # [doc = " Identifies which style of tracking origin the application wants to use"] # [doc = " for the poses it is requesting"] type ETrackingUniverseOrigin = super :: bindgen :: root :: vr :: ETrackingUniverseOrigin ; # [namespace = "vr"] # [doc = " Errors that can occur around VR overlays"] type EVROverlayError = super :: bindgen :: root :: vr :: EVROverlayError ; # [namespace = "vr"] # [doc = " enum values to pass in to VR_Init to identify whether the application will"] # [doc = " draw a 3D scene."] type EVRApplicationType = super :: bindgen :: root :: vr :: EVRApplicationType ; # [namespace = "vr"] # [doc = " error codes returned by Vr_Init"] type EVRInitError = super :: bindgen :: root :: vr :: EVRInitError ; pub unsafe fn IVRSystem_alloc_autocxx_wrapper () -> * mut IVRSystem ; pub unsafe fn IVRSystem_free_autocxx_wrapper (arg0 : * mut IVRSystem) ; # [namespace = "vr"] type IVRSystem ; pub unsafe fn IVROverlay_alloc_autocxx_wrapper () -> * mut IVROverlay ; pub unsafe fn IVROverlay_free_autocxx_wrapper (arg0 : * mut IVROverlay) ; # [namespace = "vr"] type IVROverlay ; # [doc = " Suggested size for the intermediate render target that the distortion pulls from."] pub unsafe fn GetRecommendedRenderTargetSize_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , pnWidth : * mut u32 , pnHeight : * mut u32) ; # [doc = " The projection matrix for the specified eye"] pub unsafe fn GetProjectionMatrix_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eEye : EVREye , fNearZ : f32 , fFarZ : f32 , placement_return_type : * mut HmdMatrix44_t) ; # [doc = " The components necessary to build your own projection matrix in case your"] # [doc = " application is doing something fancy like infinite Z"] pub unsafe fn GetProjectionRaw_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eEye : EVREye , pfLeft : * mut f32 , pfRight : * mut f32 , pfTop : * mut f32 , pfBottom : * mut f32) ; # [doc = " Gets the result of the distortion function for the specified eye and input UVs. UVs go from 0,0 in"] # [doc = " the upper left of that eye's viewport and 1,1 in the lower right of that eye's viewport."] # [doc = " Returns true for success. Otherwise, returns false, and distortion coordinates are not suitable."] pub unsafe fn ComputeDistortion_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eEye : EVREye , fU : f32 , fV : f32 , pDistortionCoordinates : * mut DistortionCoordinates_t) -> bool ; # [doc = " Returns the transform from eye space to the head space. Eye space is the per-eye flavor of head"] # [doc = " space that provides stereo disparity. Instead of Model * View * Projection the sequence is Model * View * Eye^-1 * Projection."] # [doc = " Normally View and Eye^-1 will be multiplied together and treated as View in your application."] pub unsafe fn GetEyeToHeadTransform_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eEye : EVREye , placement_return_type : * mut HmdMatrix34_t) ; # [doc = " Returns the number of elapsed seconds since the last recorded vsync event. This"] # [doc = "\twill come from a vsync timer event in the timer if possible or from the application-reported"] # [doc = "   time if that is not available. If no vsync times are available the function will"] # [doc = "   return zero for vsync time and frame counter and return false from the method."] pub unsafe fn GetTimeSinceLastVsync_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , pfSecondsSinceLastVsync : * mut f32 , pulFrameCounter : * mut u64) -> bool ; # [doc = " [D3D9 Only]"] # [doc = " Returns the adapter index that the user should pass into CreateDevice to set up D3D9 in such"] # [doc = " a way that it can go full screen exclusive on the HMD. Returns -1 if there was an error."] pub unsafe fn GetD3D9AdapterIndex_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem >) -> i32 ; # [doc = " [D3D10/11 Only]"] # [doc = " Returns the adapter index that the user should pass into EnumAdapters to create the device"] # [doc = " and swap chain in DX10 and DX11. If an error occurs the index will be set to -1."] pub unsafe fn GetDXGIOutputInfo_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , pnAdapterIndex : * mut i32) ; # [doc = " Returns platform- and texture-type specific adapter identification so that applications and the"] # [doc = " compositor are creating textures and swap chains on the same GPU. If an error occurs the device"] # [doc = " will be set to 0."] # [doc = " pInstance is an optional parameter that is required only when textureType is TextureType_Vulkan."] # [doc = " [D3D10/11/12 Only (D3D9 Not Supported)]"] # [doc = "  Returns the adapter LUID that identifies the GPU attached to the HMD. The user should"] # [doc = "  enumerate all adapters using IDXGIFactory::EnumAdapters and IDXGIAdapter::GetDesc to find"] # [doc = "  the adapter with the matching LUID, or use IDXGIFactory4::EnumAdapterByLuid."] # [doc = "  The discovered IDXGIAdapter should be used to create the device and swap chain."] # [doc = " [Vulkan Only]"] # [doc = "  Returns the VkPhysicalDevice that should be used by the application."] # [doc = "  pInstance must be the instance the application will use to query for the VkPhysicalDevice.  The application"] # [doc = "  must create the VkInstance with extensions returned by IVRCompositor::GetVulkanInstanceExtensionsRequired enabled."] # [doc = " [macOS Only]"] # [doc = "  For TextureType_IOSurface returns the id<MTLDevice> that should be used by the application."] # [doc = "  On 10.13+ for TextureType_OpenGL returns the 'registryId' of the renderer which should be used"] # [doc = "   by the application. See Apple Technical Q&A QA1168 for information on enumerating GL Renderers, and the"] # [doc = "   new kCGLRPRegistryIDLow and kCGLRPRegistryIDHigh CGLRendererProperty values in the 10.13 SDK."] # [doc = "  Pre 10.13 for TextureType_OpenGL returns 0, as there is no dependable way to correlate the HMDs MTLDevice"] # [doc = "   with a GL Renderer."] pub unsafe fn GetOutputDevice_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , pnDevice : * mut u64 , textureType : ETextureType , pInstance : * mut VkInstance_T) ; # [doc = " Use to determine if the headset display is part of the desktop (i.e. extended) or hidden (i.e. direct mode)."] pub unsafe fn IsDisplayOnDesktop_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem >) -> bool ; # [doc = " Set the display visibility (true = extended, false = direct mode).  Return value of true indicates that the change was successful."] pub unsafe fn SetDisplayVisibility_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , bIsVisibleOnDesktop : bool) -> bool ; # [doc = " The pose that the tracker thinks that the HMD will be in at the specified number of seconds into the"] # [doc = " future. Pass 0 to get the state at the instant the method is called. Most of the time the application should"] # [doc = " calculate the time until the photons will be emitted from the display and pass that time into the method."] # [doc = ""] # [doc = " This is roughly analogous to the inverse of the view matrix in most applications, though"] # [doc = " many games will need to do some additional rotation or translation on top of the rotation"] # [doc = " and translation provided by the head pose."] # [doc = ""] # [doc = " For devices where bPoseIsValid is true the application can use the pose to position the device"] # [doc = " in question. The provided array can be any size up to k_unMaxTrackedDeviceCount."] # [doc = ""] # [doc = " Seated experiences should call this method with TrackingUniverseSeated and receive poses relative"] # [doc = " to the seated zero pose. Standing experiences should call this method with TrackingUniverseStanding"] # [doc = " and receive poses relative to the Chaperone Play Area. TrackingUniverseRawAndUncalibrated should"] # [doc = " probably not be used unless the application is the Chaperone calibration tool itself, but will provide"] # [doc = " poses relative to the hardware-specific coordinate system in the driver."] pub unsafe fn GetDeviceToAbsoluteTrackingPose_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eOrigin : ETrackingUniverseOrigin , fPredictedSecondsToPhotonsFromNow : f32 , pTrackedDevicePoseArray : * mut TrackedDevicePose_t , unTrackedDevicePoseArrayCount : u32) ; # [doc = " Returns the transform from the seated zero pose to the standing absolute tracking system. This allows"] # [doc = " applications to represent the seated origin to used or transform object positions from one coordinate"] # [doc = " system to the other."] # [doc = ""] # [doc = " The seated origin may or may not be inside the Play Area or Collision Bounds returned by IVRChaperone. Its position"] # [doc = " depends on what the user has set from the Dashboard settings and previous calls to ResetSeatedZeroPose."] pub unsafe fn GetSeatedZeroPoseToStandingAbsoluteTrackingPose_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , placement_return_type : * mut HmdMatrix34_t) ; # [doc = " Returns the transform from the tracking origin to the standing absolute tracking system. This allows"] # [doc = " applications to convert from raw tracking space to the calibrated standing coordinate system."] pub unsafe fn GetRawZeroPoseToStandingAbsoluteTrackingPose_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , placement_return_type : * mut HmdMatrix34_t) ; # [doc = " Get a sorted array of device indices of a given class of tracked devices (e.g. controllers).  Devices are sorted right to left"] # [doc = " relative to the specified tracked device (default: hmd -- pass in -1 for absolute tracking space).  Returns the number of devices"] # [doc = " in the list, or the size of the array needed if not large enough."] pub unsafe fn GetSortedTrackedDeviceIndicesOfClass_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eTrackedDeviceClass : ETrackedDeviceClass , punTrackedDeviceIndexArray : * mut u32 , unTrackedDeviceIndexArrayCount : u32 , unRelativeToTrackedDeviceIndex : u32) -> u32 ; # [doc = " Returns the level of activity on the device."] pub unsafe fn GetTrackedDeviceActivityLevel_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceId : u32) -> EDeviceActivityLevel ; # [doc = " Convenience utility to apply the specified transform to the specified pose."] # [doc = "   This properly transforms all pose components, including velocity and angular velocity"] pub unsafe fn ApplyTransform_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , pOutputPose : * mut TrackedDevicePose_t , pTrackedDevicePose : * const TrackedDevicePose_t , pTransform : * const HmdMatrix34_t) ; # [doc = " Returns the device index associated with a specific role, for example the left hand or the right hand. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetTrackedDeviceIndexForControllerRole_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceType : ETrackedControllerRole) -> u32 ; # [doc = " Returns the controller type associated with a device index. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetControllerRoleForTrackedDeviceIndex_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceIndex : u32) -> ETrackedControllerRole ; # [doc = " Returns the device class of a tracked device. If there has not been a device connected in this slot"] # [doc = " since the application started this function will return TrackedDevice_Invalid. For previous detected"] # [doc = " devices the function will return the previously observed device class."] # [doc = ""] # [doc = " To determine which devices exist on the system, just loop from 0 to k_unMaxTrackedDeviceCount and check"] # [doc = " the device class. Every device with something other than TrackedDevice_Invalid is associated with an"] # [doc = " actual tracked device."] pub unsafe fn GetTrackedDeviceClass_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceIndex : u32) -> ETrackedDeviceClass ; # [doc = " Returns true if there is a device connected in this slot."] pub unsafe fn IsTrackedDeviceConnected_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceIndex : u32) -> bool ; # [doc = " Returns a bool property. If the device index is not valid or the property is not a bool type this function will return false."] pub unsafe fn GetBoolTrackedDeviceProperty_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceIndex : u32 , prop : ETrackedDeviceProperty , pError : * mut ETrackedPropertyError) -> bool ; # [doc = " Returns a float property. If the device index is not valid or the property is not a float type this function will return 0."] pub unsafe fn GetFloatTrackedDeviceProperty_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceIndex : u32 , prop : ETrackedDeviceProperty , pError : * mut ETrackedPropertyError) -> f32 ; # [doc = " Returns an int property. If the device index is not valid or the property is not a int type this function will return 0."] pub unsafe fn GetInt32TrackedDeviceProperty_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceIndex : u32 , prop : ETrackedDeviceProperty , pError : * mut ETrackedPropertyError) -> i32 ; # [doc = " Returns a uint64 property. If the device index is not valid or the property is not a uint64 type this function will return 0."] pub unsafe fn GetUint64TrackedDeviceProperty_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceIndex : u32 , prop : ETrackedDeviceProperty , pError : * mut ETrackedPropertyError) -> u64 ; # [doc = " Returns a matrix property. If the device index is not valid or the property is not a matrix type, this function will return identity."] pub unsafe fn GetMatrix34TrackedDeviceProperty_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceIndex : u32 , prop : ETrackedDeviceProperty , pError : * mut ETrackedPropertyError , placement_return_type : * mut HmdMatrix34_t) ; # [doc = " Returns an array of one type of property. If the device index is not valid or the property is not a single value or an array of the specified type,"] # [doc = " this function will return 0. Otherwise it returns the number of bytes necessary to hold the array of properties. If unBufferSize is"] # [doc = " greater than the returned size and pBuffer is non-NULL, pBuffer is filled with the contents of array of properties."] pub unsafe fn GetArrayTrackedDeviceProperty_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceIndex : u32 , prop : ETrackedDeviceProperty , propType : u32 , pBuffer : * mut c_void , unBufferSize : u32 , pError : * mut ETrackedPropertyError) -> u32 ; # [doc = " Returns a string property. If the device index is not valid or the property is not a string type this function will"] # [doc = " return 0. Otherwise it returns the length of the number of bytes necessary to hold this string including the trailing"] # [doc = " null. Strings will always fit in buffers of k_unMaxPropertyStringSize characters."] pub unsafe fn GetStringTrackedDeviceProperty_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceIndex : u32 , prop : ETrackedDeviceProperty , pchValue : * mut c_char , unBufferSize : u32 , pError : * mut ETrackedPropertyError) -> u32 ; # [doc = " returns a string that corresponds with the specified property error. The string will be the name"] # [doc = " of the error enum value for all valid error codes"] pub unsafe fn GetPropErrorNameFromEnum_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , error : ETrackedPropertyError) -> * const c_char ; # [doc = " Returns true and fills the event with the next event on the queue if there is one. If there are no events"] # [doc = " this method returns false. uncbVREvent should be the size in bytes of the VREvent_t struct"] pub unsafe fn PollNextEvent_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , pEvent : * mut VREvent_t , uncbVREvent : u32) -> bool ; # [doc = " Returns true and fills the event with the next event on the queue if there is one. If there are no events"] # [doc = " this method returns false. Fills in the pose of the associated tracked device in the provided pose struct."] # [doc = " This pose will always be older than the call to this function and should not be used to render the device."] # [doc = "uncbVREvent should be the size in bytes of the VREvent_t struct"] pub unsafe fn PollNextEventWithPose_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eOrigin : ETrackingUniverseOrigin , pEvent : * mut VREvent_t , uncbVREvent : u32 , pTrackedDevicePose : * mut TrackedDevicePose_t) -> bool ; # [doc = " returns the name of an EVREvent enum value"] pub unsafe fn GetEventTypeNameFromEnum_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eType : EVREventType) -> * const c_char ; # [doc = " Returns the hidden area mesh for the current HMD. The pixels covered by this mesh will never be seen by the user after the lens distortion is"] # [doc = " applied based on visibility to the panels. If this HMD does not have a hidden area mesh, the vertex data and count will be NULL and 0 respectively."] # [doc = " This mesh is meant to be rendered into the stencil buffer (or into the depth buffer setting nearz) before rendering each eye's view."] # [doc = " This will improve performance by letting the GPU early-reject pixels the user will never see before running the pixel shader."] # [doc = " NOTE: Render this mesh with backface culling disabled since the winding order of the vertices can be different per-HMD or per-eye."] # [doc = " Setting the bInverse argument to true will produce the visible area mesh that is commonly used in place of full-screen quads. The visible area mesh covers all of the pixels the hidden area mesh does not cover."] # [doc = " Setting the bLineLoop argument will return a line loop of vertices in HiddenAreaMesh_t->pVertexData with HiddenAreaMesh_t->unTriangleCount set to the number of vertices."] pub unsafe fn GetHiddenAreaMesh_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eEye : EVREye , type_ : EHiddenAreaMeshType , placement_return_type : * mut HiddenAreaMesh_t) ; # [doc = " Fills the supplied struct with the current state of the controller. Returns false if the controller index"] # [doc = " is invalid. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetControllerState_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unControllerDeviceIndex : u32 , pControllerState : * mut VRControllerState001_t , unControllerStateSize : u32) -> bool ; # [doc = " fills the supplied struct with the current state of the controller and the provided pose with the pose of"] # [doc = " the controller when the controller state was updated most recently. Use this form if you need a precise controller"] # [doc = " pose as input to your application when the user presses or releases a button. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetControllerStateWithPose_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eOrigin : ETrackingUniverseOrigin , unControllerDeviceIndex : u32 , pControllerState : * mut VRControllerState001_t , unControllerStateSize : u32 , pTrackedDevicePose : * mut TrackedDevicePose_t) -> bool ; # [doc = " Trigger a single haptic pulse on a controller. After this call the application may not trigger another haptic pulse on this controller"] # [doc = " and axis combination for 5ms. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn TriggerHapticPulse_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unControllerDeviceIndex : u32 , unAxisId : u32 , usDurationMicroSec : c_ushort) ; # [doc = " returns the name of an EVRButtonId enum value. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetButtonIdNameFromEnum_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eButtonId : EVRButtonId) -> * const c_char ; # [doc = " returns the name of an EVRControllerAxisType enum value. This function is deprecated in favor of the new IVRInput system."] pub unsafe fn GetControllerAxisTypeNameFromEnum_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , eAxisType : EVRControllerAxisType) -> * const c_char ; # [doc = " Returns true if this application is receiving input from the system. This would return false if"] # [doc = " system-related functionality is consuming the input stream."] pub unsafe fn IsInputAvailable_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem >) -> bool ; # [doc = " Returns true SteamVR is drawing controllers on top of the application. Applications should consider"] # [doc = " not drawing anything attached to the user's hands in this case."] pub unsafe fn IsSteamVRDrawingControllers_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem >) -> bool ; # [doc = " Returns true if the user has put SteamVR into a mode that is distracting them from the application."] # [doc = " For applications where this is appropriate, the application should pause ongoing activity."] pub unsafe fn ShouldApplicationPause_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem >) -> bool ; # [doc = " Returns true if SteamVR is doing significant rendering work and the game should do what it can to reduce"] # [doc = " its own workload. One common way to do this is to reduce the size of the render target provided for each eye."] pub unsafe fn ShouldApplicationReduceRenderingWork_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem >) -> bool ; # [doc = " Performs the actual firmware update if applicable."] # [doc = " The following events will be sent, if VRFirmwareError_None was returned: VREvent_FirmwareUpdateStarted, VREvent_FirmwareUpdateFinished"] # [doc = " Use the properties Prop_Firmware_UpdateAvailable_Bool, Prop_Firmware_ManualUpdate_Bool, and Prop_Firmware_ManualUpdateURL_String"] # [doc = " to figure our whether a firmware update is available, and to figure out whether its a manual update"] # [doc = " Prop_Firmware_ManualUpdateURL_String should point to an URL describing the manual update process"] pub unsafe fn PerformFirmwareUpdate_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , unDeviceIndex : u32) -> EVRFirmwareError ; # [doc = " Call this to acknowledge to the system that VREvent_Quit has been received and that the process is exiting."] # [doc = " This extends the timeout until the process is killed."] pub unsafe fn AcknowledgeQuit_Exiting_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem >) ; # [doc = " Retrieves a null-terminated, semicolon-delimited list of UTF8 file paths that an application"] # [doc = " must have read access to when running inside of an app container. Returns the number of bytes"] # [doc = " needed to hold the list."] pub unsafe fn GetAppContainerFilePaths_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem > , pchBuffer : * mut c_char , unBufferSize : u32) -> u32 ; # [doc = " Returns the current version of the SteamVR runtime. The returned string will remain valid until VR_Shutdown is called."] # [doc = ""] # [doc = " NOTE: Is it not appropriate to use this version to test for the presence of any SteamVR feature. Only use this version"] # [doc = " number for logging or showing to a user, and not to try to detect anything at runtime. When appropriate, feature-specific"] # [doc = " presence information is provided by other APIs."] pub unsafe fn GetRuntimeVersion_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVRSystem >) -> * const c_char ; # [doc = " Finds an existing overlay with the specified key."] pub unsafe fn FindOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , pchOverlayKey : * const c_char , pOverlayHandle : * mut u64) -> EVROverlayError ; # [doc = " Creates a new named overlay. All overlays start hidden and with default settings."] pub unsafe fn CreateOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , pchOverlayKey : * const c_char , pchOverlayName : * const c_char , pOverlayHandle : * mut u64) -> EVROverlayError ; # [doc = " Destroys the specified overlay. When an application calls VR_Shutdown all overlays created by that app are"] # [doc = " automatically destroyed."] pub unsafe fn DestroyOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64) -> EVROverlayError ; # [doc = " Fills the provided buffer with the string key of the overlay. Returns the size of buffer required to store the key, including"] # [doc = " the terminating null character. k_unVROverlayMaxKeyLength will be enough bytes to fit the string."] pub unsafe fn GetOverlayKey_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pchValue : * mut c_char , unBufferSize : u32 , pError : * mut EVROverlayError) -> u32 ; # [doc = " Fills the provided buffer with the friendly name of the overlay. Returns the size of buffer required to store the key, including"] # [doc = " the terminating null character. k_unVROverlayMaxNameLength will be enough bytes to fit the string."] pub unsafe fn GetOverlayName_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pchValue : * mut c_char , unBufferSize : u32 , pError : * mut EVROverlayError) -> u32 ; # [doc = " set the name to use for this overlay"] pub unsafe fn SetOverlayName_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pchName : * const c_char) -> EVROverlayError ; # [doc = " Gets the raw image data from an overlay. Overlay image data is always returned as RGBA data, 4 bytes per pixel. If the buffer is not large enough, width and height"] # [doc = " will be set and VROverlayError_ArrayTooSmall is returned."] pub unsafe fn GetOverlayImageData_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pvBuffer : * mut c_void , unBufferSize : u32 , punWidth : * mut u32 , punHeight : * mut u32) -> EVROverlayError ; # [doc = " returns a string that corresponds with the specified overlay error. The string will be the name"] # [doc = " of the error enum value for all valid error codes"] pub unsafe fn GetOverlayErrorNameFromEnum_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , error : EVROverlayError) -> * const c_char ; # [doc = " Sets the pid that is allowed to render to this overlay (the creator pid is always allow to render),"] # [doc = "\tby default this is the pid of the process that made the overlay"] pub unsafe fn SetOverlayRenderingPid_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , unPID : u32) -> EVROverlayError ; # [doc = " Gets the pid that is allowed to render to this overlay"] pub unsafe fn GetOverlayRenderingPid_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64) -> u32 ; # [doc = " Specify flag setting for a given overlay"] pub unsafe fn SetOverlayFlag_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , eOverlayFlag : VROverlayFlags , bEnabled : bool) -> EVROverlayError ; # [doc = " Sets flag setting for a given overlay"] pub unsafe fn GetOverlayFlag_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , eOverlayFlag : VROverlayFlags , pbEnabled : * mut bool) -> EVROverlayError ; # [doc = " Gets all the flags for a given overlay"] pub unsafe fn GetOverlayFlags_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pFlags : * mut u32) -> EVROverlayError ; # [doc = " Sets the color tint of the overlay quad. Use 0.0 to 1.0 per channel."] pub unsafe fn SetOverlayColor_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , fRed : f32 , fGreen : f32 , fBlue : f32) -> EVROverlayError ; # [doc = " Gets the color tint of the overlay quad."] pub unsafe fn GetOverlayColor_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pfRed : * mut f32 , pfGreen : * mut f32 , pfBlue : * mut f32) -> EVROverlayError ; # [doc = " Sets the alpha of the overlay quad. Use 1.0 for 100 percent opacity to 0.0 for 0 percent opacity."] pub unsafe fn SetOverlayAlpha_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , fAlpha : f32) -> EVROverlayError ; # [doc = " Gets the alpha of the overlay quad. By default overlays are rendering at 100 percent alpha (1.0)."] pub unsafe fn GetOverlayAlpha_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pfAlpha : * mut f32) -> EVROverlayError ; # [doc = " Sets the aspect ratio of the texels in the overlay. 1.0 means the texels are square. 2.0 means the texels"] # [doc = " are twice as wide as they are tall. Defaults to 1.0."] pub unsafe fn SetOverlayTexelAspect_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , fTexelAspect : f32) -> EVROverlayError ; # [doc = " Gets the aspect ratio of the texels in the overlay. Defaults to 1.0"] pub unsafe fn GetOverlayTexelAspect_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pfTexelAspect : * mut f32) -> EVROverlayError ; # [doc = " Sets the rendering sort order for the overlay. Overlays are rendered this order:"] # [doc = "      Overlays owned by the scene application"] # [doc = "      Overlays owned by some other application"] # [doc = ""] # [doc = "\tWithin a category overlays are rendered lowest sort order to highest sort order. Overlays with the same"] # [doc = "\tsort order are rendered back to front base on distance from the HMD."] # [doc = ""] # [doc = "\tSort order defaults to 0."] pub unsafe fn SetOverlaySortOrder_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , unSortOrder : u32) -> EVROverlayError ; # [doc = " Gets the sort order of the overlay. See SetOverlaySortOrder for how this works."] pub unsafe fn GetOverlaySortOrder_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , punSortOrder : * mut u32) -> EVROverlayError ; # [doc = " Sets the width of the overlay quad in meters. By default overlays are rendered on a quad that is 1 meter across"] pub unsafe fn SetOverlayWidthInMeters_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , fWidthInMeters : f32) -> EVROverlayError ; # [doc = " Returns the width of the overlay quad in meters. By default overlays are rendered on a quad that is 1 meter across"] pub unsafe fn GetOverlayWidthInMeters_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pfWidthInMeters : * mut f32) -> EVROverlayError ; # [doc = " Use to draw overlay as a curved surface. Curvature is a percentage from (0..1] where 1 is a fully closed cylinder."] # [doc = " For a specific radius, curvature can be computed as: overlay.width / (2 PI r)."] pub unsafe fn SetOverlayCurvature_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , fCurvature : f32) -> EVROverlayError ; # [doc = " Returns the curvature of the overlay as a percentage from (0..1] where 1 is a fully closed cylinder."] pub unsafe fn GetOverlayCurvature_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pfCurvature : * mut f32) -> EVROverlayError ; # [doc = " Sets the colorspace the overlay texture's data is in.  Defaults to 'auto'."] # [doc = " If the texture needs to be resolved, you should call SetOverlayTexture with the appropriate colorspace instead."] pub unsafe fn SetOverlayTextureColorSpace_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , eTextureColorSpace : EColorSpace) -> EVROverlayError ; # [doc = " Gets the overlay's current colorspace setting."] pub unsafe fn GetOverlayTextureColorSpace_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , peTextureColorSpace : * mut EColorSpace) -> EVROverlayError ; # [doc = " Sets the part of the texture to use for the overlay. UV Min is the upper left corner and UV Max is the lower right corner."] pub unsafe fn SetOverlayTextureBounds_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pOverlayTextureBounds : * const VRTextureBounds_t) -> EVROverlayError ; # [doc = " Gets the part of the texture to use for the overlay. UV Min is the upper left corner and UV Max is the lower right corner."] pub unsafe fn GetOverlayTextureBounds_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pOverlayTextureBounds : * mut VRTextureBounds_t) -> EVROverlayError ; # [doc = " Returns the transform type of this overlay."] pub unsafe fn GetOverlayTransformType_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , peTransformType : * mut VROverlayTransformType) -> EVROverlayError ; # [doc = " Sets the transform to absolute tracking origin."] pub unsafe fn SetOverlayTransformAbsolute_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , eTrackingOrigin : ETrackingUniverseOrigin , pmatTrackingOriginToOverlayTransform : * const HmdMatrix34_t) -> EVROverlayError ; # [doc = " Gets the transform if it is absolute. Returns an error if the transform is some other type."] pub unsafe fn GetOverlayTransformAbsolute_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , peTrackingOrigin : * mut ETrackingUniverseOrigin , pmatTrackingOriginToOverlayTransform : * mut HmdMatrix34_t) -> EVROverlayError ; # [doc = " Sets the transform to relative to the transform of the specified tracked device."] pub unsafe fn SetOverlayTransformTrackedDeviceRelative_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , unTrackedDevice : u32 , pmatTrackedDeviceToOverlayTransform : * const HmdMatrix34_t) -> EVROverlayError ; # [doc = " Gets the transform if it is relative to a tracked device. Returns an error if the transform is some other type."] pub unsafe fn GetOverlayTransformTrackedDeviceRelative_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , punTrackedDevice : * mut u32 , pmatTrackedDeviceToOverlayTransform : * mut HmdMatrix34_t) -> EVROverlayError ; # [doc = " Sets the transform to draw the overlay on a rendermodel component mesh instead of a quad. This will only draw when the system is"] # [doc = " drawing the device. Overlays with this transform type cannot receive mouse events."] pub unsafe fn SetOverlayTransformTrackedDeviceComponent_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , unDeviceIndex : u32 , pchComponentName : * const c_char) -> EVROverlayError ; # [doc = " Gets the transform information when the overlay is rendering on a component."] pub unsafe fn GetOverlayTransformTrackedDeviceComponent_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , punDeviceIndex : * mut u32 , pchComponentName : * mut c_char , unComponentNameSize : u32) -> EVROverlayError ; # [doc = " Gets the transform if it is relative to another overlay. Returns an error if the transform is some other type."] pub unsafe fn GetOverlayTransformOverlayRelative_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , ulOverlayHandleParent : * mut u64 , pmatParentOverlayToOverlayTransform : * mut HmdMatrix34_t) -> EVROverlayError ; # [doc = " Sets the transform to relative to the transform of the specified overlay. This overlays visibility will also track the parents visibility"] pub unsafe fn SetOverlayTransformOverlayRelative_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , ulOverlayHandleParent : u64 , pmatParentOverlayToOverlayTransform : * const HmdMatrix34_t) -> EVROverlayError ; # [doc = " Sets the hotspot for the specified overlay when that overlay is used as a cursor. These are in texture space with 0,0 in the upper left corner of"] # [doc = " the texture and 1,1 in the lower right corner of the texture."] pub unsafe fn SetOverlayTransformCursor_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulCursorOverlayHandle : u64 , pvHotspot : * const HmdVector2_t) -> EVROverlayError ; # [doc = " Gets cursor hotspot/transform for the specified overlay"] pub unsafe fn GetOverlayTransformCursor_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pvHotspot : * mut HmdVector2_t) -> EVROverlayError ; # [doc = " Sets the overlay as a projection overlay"] pub unsafe fn SetOverlayTransformProjection_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , eTrackingOrigin : ETrackingUniverseOrigin , pmatTrackingOriginToOverlayTransform : * const HmdMatrix34_t , pProjection : * const VROverlayProjection_t , eEye : EVREye) -> EVROverlayError ; # [doc = " Shows the VR overlay.  For dashboard overlays, only the Dashboard Manager is allowed to call this."] pub unsafe fn ShowOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64) -> EVROverlayError ; # [doc = " Hides the VR overlay.  For dashboard overlays, only the Dashboard Manager is allowed to call this."] pub unsafe fn HideOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64) -> EVROverlayError ; # [doc = " Returns true if the overlay is visible."] pub unsafe fn IsOverlayVisible_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64) -> bool ; # [doc = " Get the transform in 3d space associated with a specific 2d point in the overlay's coordinate space (where 0,0 is the lower left). -Z points out of the overlay"] pub unsafe fn GetTransformForOverlayCoordinates_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , eTrackingOrigin : ETrackingUniverseOrigin , coordinatesInOverlay : * mut HmdVector2_t , pmatTransform : * mut HmdMatrix34_t) -> EVROverlayError ; # [doc = " Returns true and fills the event with the next event on the overlay's event queue, if there is one."] # [doc = " If there are no events this method returns false. uncbVREvent should be the size in bytes of the VREvent_t struct"] pub unsafe fn PollNextOverlayEvent_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pEvent : * mut VREvent_t , uncbVREvent : u32) -> bool ; # [doc = " Returns the current input settings for the specified overlay."] pub unsafe fn GetOverlayInputMethod_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , peInputMethod : * mut VROverlayInputMethod) -> EVROverlayError ; # [doc = " Sets the input settings for the specified overlay."] pub unsafe fn SetOverlayInputMethod_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , eInputMethod : VROverlayInputMethod) -> EVROverlayError ; # [doc = " Gets the mouse scaling factor that is used for mouse events. The actual texture may be a different size, but this is"] # [doc = " typically the size of the underlying UI in pixels."] pub unsafe fn GetOverlayMouseScale_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pvecMouseScale : * mut HmdVector2_t) -> EVROverlayError ; # [doc = " Sets the mouse scaling factor that is used for mouse events. The actual texture may be a different size, but this is"] # [doc = " typically the size of the underlying UI in pixels (not in world space)."] pub unsafe fn SetOverlayMouseScale_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pvecMouseScale : * const HmdVector2_t) -> EVROverlayError ; # [doc = " Computes the overlay-space pixel coordinates of where the ray intersects the overlay with the"] # [doc = " specified settings. Returns false if there is no intersection."] pub unsafe fn ComputeOverlayIntersection_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pParams : * const VROverlayIntersectionParams_t , pResults : * mut VROverlayIntersectionResults_t) -> bool ; # [doc = " Returns true if the specified overlay is the hover target. An overlay is the hover target when it is the last overlay \"moused over\""] # [doc = " by the virtual mouse pointer"] pub unsafe fn IsHoverTargetOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64) -> bool ; # [doc = " Sets a list of primitives to be used for controller ray intersection"] # [doc = " typically the size of the underlying UI in pixels (not in world space)."] pub unsafe fn SetOverlayIntersectionMask_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pMaskPrimitives : * mut VROverlayIntersectionMaskPrimitive_t , unNumMaskPrimitives : u32 , unPrimitiveSize : u32) -> EVROverlayError ; # [doc = " Triggers a haptic event on the laser mouse controller for the specified overlay"] pub unsafe fn TriggerLaserMouseHapticVibration_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , fDurationSeconds : f32 , fFrequency : f32 , fAmplitude : f32) -> EVROverlayError ; # [doc = " Sets the cursor to use for the specified overlay. This will be drawn instead of the generic blob when the laser mouse is pointed at the specified overlay"] pub unsafe fn SetOverlayCursor_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , ulCursorHandle : u64) -> EVROverlayError ; # [doc = " Sets the override cursor position to use for this overlay in overlay mouse coordinates. This position will be used to draw the cursor"] # [doc = " instead of whatever the laser mouse cursor position is."] pub unsafe fn SetOverlayCursorPositionOverride_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pvCursor : * const HmdVector2_t) -> EVROverlayError ; # [doc = " Clears the override cursor position for this overlay"] pub unsafe fn ClearOverlayCursorPositionOverride_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64) -> EVROverlayError ; # [doc = " Texture to draw for the overlay. This function can only be called by the overlay's creator or renderer process (see SetOverlayRenderingPid) ."] # [doc = ""] # [doc = " OpenGL dirty state:"] # [doc = "\tglBindTexture"] pub unsafe fn SetOverlayTexture_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pTexture : * const Texture_t) -> EVROverlayError ; # [doc = " Use this to tell the overlay system to release the texture set for this overlay."] pub unsafe fn ClearOverlayTexture_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64) -> EVROverlayError ; # [doc = " Separate interface for providing the data as a stream of bytes, but there is an upper bound on data"] # [doc = " that can be sent. This function can only be called by the overlay's renderer process."] pub unsafe fn SetOverlayRaw_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pvBuffer : * mut c_void , unWidth : u32 , unHeight : u32 , unBytesPerPixel : u32) -> EVROverlayError ; # [doc = " Separate interface for providing the image through a filename: can be png or jpg, and should not be bigger than 1920x1080."] # [doc = " This function can only be called by the overlay's renderer process"] pub unsafe fn SetOverlayFromFile_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pchFilePath : * const c_char) -> EVROverlayError ; # [doc = " Release the pNativeTextureHandle provided from the GetOverlayTexture call, this allows the system to free the underlying GPU resources for this object,"] # [doc = " so only do it once you stop rendering this texture."] pub unsafe fn ReleaseNativeOverlayHandle_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pNativeTextureHandle : * mut c_void) -> EVROverlayError ; # [doc = " Get the size of the overlay texture"] pub unsafe fn GetOverlayTextureSize_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , pWidth : * mut u32 , pHeight : * mut u32) -> EVROverlayError ; # [doc = " Creates a dashboard overlay and returns its handle"] pub unsafe fn CreateDashboardOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , pchOverlayKey : * const c_char , pchOverlayFriendlyName : * const c_char , pMainHandle : * mut u64 , pThumbnailHandle : * mut u64) -> EVROverlayError ; # [doc = " Returns true if the dashboard is visible"] pub unsafe fn IsDashboardVisible_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay >) -> bool ; # [doc = " returns true if the dashboard is visible and the specified overlay is the active system Overlay"] pub unsafe fn IsActiveDashboardOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64) -> bool ; # [doc = " Sets the dashboard overlay to only appear when the specified process ID has scene focus"] pub unsafe fn SetDashboardOverlaySceneProcess_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , unProcessId : u32) -> EVROverlayError ; # [doc = " Gets the process ID that this dashboard overlay requires to have scene focus"] pub unsafe fn GetDashboardOverlaySceneProcess_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , punProcessId : * mut u32) -> EVROverlayError ; # [doc = " Shows the dashboard."] pub unsafe fn ShowDashboard_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , pchOverlayToShow : * const c_char) ; # [doc = " Returns the tracked device that has the laser pointer in the dashboard"] pub unsafe fn GetPrimaryDashboardDevice_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay >) -> u32 ; # [doc = " Show the virtual keyboard to accept input. In most cases, you should pass KeyboardFlag_Modal to enable modal overlay"] # [doc = " behavior on the keyboard itself. See EKeyboardFlags for more."] pub unsafe fn ShowKeyboard_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , eInputMode : EGamepadTextInputMode , eLineInputMode : EGamepadTextInputLineMode , unFlags : u32 , pchDescription : * const c_char , unCharMax : u32 , pchExistingText : * const c_char , uUserValue : u64) -> EVROverlayError ; # [doc = " Show the virtual keyboard to accept input for an overlay. In most cases, you should pass KeyboardFlag_Modal to enable modal"] # [doc = " overlay behavior on the keyboard itself. See EKeyboardFlags for more."] pub unsafe fn ShowKeyboardForOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , eInputMode : EGamepadTextInputMode , eLineInputMode : EGamepadTextInputLineMode , unFlags : u32 , pchDescription : * const c_char , unCharMax : u32 , pchExistingText : * const c_char , uUserValue : u64) -> EVROverlayError ; # [doc = " Get the text that was entered into the text input"] pub unsafe fn GetKeyboardText_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , pchText : * mut c_char , cchText : u32) -> u32 ; # [doc = " Hide the virtual keyboard"] pub unsafe fn HideKeyboard_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay >) ; # [doc = " Set the position of the keyboard in world space"] pub unsafe fn SetKeyboardTransformAbsolute_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , eTrackingOrigin : ETrackingUniverseOrigin , pmatTrackingOriginToKeyboardTransform : * const HmdMatrix34_t) ; # [doc = " Set the position of the keyboard in overlay space by telling it to avoid a rectangle in the overlay. Rectangle coords have (0,0) in the bottom left"] pub unsafe fn SetKeyboardPositionForOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , ulOverlayHandle : u64 , avoidRect : * mut HmdRect2_t) ; # [doc = " Show the message overlay. This will block and return you a result."] pub unsafe fn ShowMessageOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay > , pchText : * const c_char , pchCaption : * const c_char , pchButton0Text : * const c_char , pchButton1Text : * const c_char , pchButton2Text : * const c_char , pchButton3Text : * const c_char) -> VRMessageOverlayResponse ; # [doc = " If the calling process owns the overlay and it's open, this will close it."] pub unsafe fn CloseMessageOverlay_autocxx_wrapper (autocxx_gen_this : Pin < & mut IVROverlay >) ; # [namespace = "vr"] # [doc = " Finds the active installation of the VR API and initializes it. The provided path must be absolute"] # [doc = " or relative to the current working directory. These are the local install versions of the equivalent"] # [doc = " functions in steamvr.h and will work without a local Steam install."] # [doc = ""] # [doc = " This path is to the \"root\" of the VR API install. That's the directory with"] # [doc = " the \"drivers\" directory and a platform (i.e. \"win32\") directory in it, not the directory with the DLL itself."] # [doc = ""] # [doc = " pStartupInfo is reserved for future use."] pub unsafe fn VR_Init (peError : * mut EVRInitError , eApplicationType : EVRApplicationType , pStartupInfo : * const c_char) -> * mut IVRSystem ; # [namespace = "vr"] # [doc = " unloads vrclient.dll. Any interface pointers from the interface are"] # [doc = " invalid after this point"] pub unsafe fn VR_Shutdown () ; # [namespace = "vr"] # [doc = " Returns the name of the enum value for an EVRInitError. This function may be called outside of VR_Init()/VR_Shutdown()."] pub unsafe fn VR_GetVRInitErrorAsSymbol (error : EVRInitError) -> * const c_char ; # [namespace = "vr"] pub unsafe fn VRSystem () -> * mut IVRSystem ; # [namespace = "vr"] pub unsafe fn VROverlay () -> * mut IVROverlay ; # [doc = "Synthesized destructor."] pub unsafe fn HmdMatrix34_t_autocxx_wrapper (autocxx_gen_this : * mut HmdMatrix34_t) ; # [doc = "Synthesized destructor."] pub unsafe fn IVRSystem_autocxx_wrapper (autocxx_gen_this : * mut IVRSystem) ; # [doc = "Synthesized destructor."] pub unsafe fn IVROverlay_autocxx_wrapper (autocxx_gen_this : * mut IVROverlay) ; # [namespace = "vr"] type EVREye = super :: bindgen :: root :: vr :: EVREye ; # [namespace = "vr"] type HmdMatrix44_t = super :: bindgen :: root :: vr :: HmdMatrix44_t ; # [namespace = "vr"] # [doc = " Used to return the post-distortion UVs for each color channel."] # [doc = " UVs range from 0 to 1 with 0,0 in the upper left corner of the"] # [doc = " source render target. The 0,0 to 1,1 range covers a single eye."] type DistortionCoordinates_t = super :: bindgen :: root :: vr :: DistortionCoordinates_t ; type VkInstance_T ; # [namespace = "vr"] type ETextureType = super :: bindgen :: root :: vr :: ETextureType ; # [namespace = "vr"] # [doc = " describes a single pose for a tracked object"] type TrackedDevicePose_t = super :: bindgen :: root :: vr :: TrackedDevicePose_t ; # [namespace = "vr"] # [doc = " Describes what kind of object is being tracked at a given ID"] type ETrackedDeviceClass = super :: bindgen :: root :: vr :: ETrackedDeviceClass ; # [namespace = "vr"] # [doc = " Level of Hmd activity"] type EDeviceActivityLevel = super :: bindgen :: root :: vr :: EDeviceActivityLevel ; # [namespace = "vr"] # [doc = " Describes what specific role associated with a tracked device"] type ETrackedControllerRole = super :: bindgen :: root :: vr :: ETrackedControllerRole ; # [namespace = "vr"] # [doc = " Each entry in this enum represents a property that can be retrieved about a"] # [doc = " tracked device. Many fields are only valid for one ETrackedDeviceClass."] type ETrackedDeviceProperty = super :: bindgen :: root :: vr :: ETrackedDeviceProperty ; # [namespace = "vr"] # [doc = " Used to return errors that occur when reading properties."] type ETrackedPropertyError = super :: bindgen :: root :: vr :: ETrackedPropertyError ; # [namespace = "vr"] # [doc = " An event posted by the server to all running applications"] type VREvent_t = super :: bindgen :: root :: vr :: VREvent_t ; # [namespace = "vr"] # [doc = " The types of events that could be posted (and what the parameters mean for each event type)"] type EVREventType = super :: bindgen :: root :: vr :: EVREventType ; # [namespace = "vr"] # [doc = " The mesh to draw into the stencil (or depth) buffer to perform"] # [doc = " early stencil (or depth) kills of pixels that will never appear on the HMD."] # [doc = " This mesh draws on all the pixels that will be hidden after distortion."] # [doc = ""] # [doc = " If the HMD does not provide a visible area mesh pVertexData will be"] # [doc = " NULL and unTriangleCount will be 0."] type HiddenAreaMesh_t = super :: bindgen :: root :: vr :: HiddenAreaMesh_t ; # [namespace = "vr"] type EHiddenAreaMeshType = super :: bindgen :: root :: vr :: EHiddenAreaMeshType ; # [namespace = "vr"] # [doc = " Holds all the state of a controller at one moment in time."] type VRControllerState001_t = super :: bindgen :: root :: vr :: VRControllerState001_t ; # [namespace = "vr"] # [doc = " VR controller button and axis IDs"] type EVRButtonId = super :: bindgen :: root :: vr :: EVRButtonId ; # [namespace = "vr"] # [doc = " Identifies what kind of axis is on the controller at index n. Read this type"] # [doc = " with pVRSystem->Get( nControllerDeviceIndex, Prop_Axis0Type_Int32 + n );"] type EVRControllerAxisType = super :: bindgen :: root :: vr :: EVRControllerAxisType ; # [namespace = "vr"] # [doc = " error codes for firmware"] type EVRFirmwareError = super :: bindgen :: root :: vr :: EVRFirmwareError ; # [namespace = "vr"] # [doc = " Overlay control settings"] type VROverlayFlags = super :: bindgen :: root :: vr :: VROverlayFlags ; # [namespace = "vr"] type EColorSpace = super :: bindgen :: root :: vr :: EColorSpace ; # [namespace = "vr"] # [doc = " Allows the application to control what part of the provided texture will be used in the"] # [doc = " frame buffer."] type VRTextureBounds_t = super :: bindgen :: root :: vr :: VRTextureBounds_t ; # [namespace = "vr"] # [doc = " Allows the caller to figure out which overlay transform getter to call."] type VROverlayTransformType = super :: bindgen :: root :: vr :: VROverlayTransformType ; # [namespace = "vr"] type HmdVector2_t = super :: bindgen :: root :: vr :: HmdVector2_t ; # [namespace = "vr"] # [doc = " Defines the project used in an overlay that is using SetOverlayTransformProjection"] type VROverlayProjection_t = super :: bindgen :: root :: vr :: VROverlayProjection_t ; # [namespace = "vr"] # [doc = " Types of input supported by VR Overlays"] type VROverlayInputMethod = super :: bindgen :: root :: vr :: VROverlayInputMethod ; # [namespace = "vr"] type VROverlayIntersectionParams_t = super :: bindgen :: root :: vr :: VROverlayIntersectionParams_t ; # [namespace = "vr"] type VROverlayIntersectionResults_t = super :: bindgen :: root :: vr :: VROverlayIntersectionResults_t ; # [namespace = "vr"] type VROverlayIntersectionMaskPrimitive_t = super :: bindgen :: root :: vr :: VROverlayIntersectionMaskPrimitive_t ; # [namespace = "vr"] type Texture_t = super :: bindgen :: root :: vr :: Texture_t ; # [namespace = "vr"] type EGamepadTextInputMode = super :: bindgen :: root :: vr :: EGamepadTextInputMode ; # [namespace = "vr"] type EGamepadTextInputLineMode = super :: bindgen :: root :: vr :: EGamepadTextInputLineMode ; # [namespace = "vr"] type HmdRect2_t = super :: bindgen :: root :: vr :: HmdRect2_t ; # [namespace = "vr"] type VRMessageOverlayResponse = super :: bindgen :: root :: vr :: VRMessageOverlayResponse ; pub unsafe fn HmdMatrix44_t_alloc_autocxx_wrapper () -> * mut HmdMatrix44_t ; pub unsafe fn HmdMatrix44_t_free_autocxx_wrapper (arg0 : * mut HmdMatrix44_t) ; pub unsafe fn DistortionCoordinates_t_alloc_autocxx_wrapper () -> * mut DistortionCoordinates_t ; pub unsafe fn DistortionCoordinates_t_free_autocxx_wrapper (arg0 : * mut DistortionCoordinates_t) ; # [doc = "Synthesized move constructor."] pub unsafe fn vr_DistortionCoordinates_t_new_synthetic_move_ctor_autocxx_wrapper (autocxx_gen_this : * mut DistortionCoordinates_t , other : * mut DistortionCoordinates_t) ; # [doc = "Synthesized copy constructor."] pub unsafe fn vr_DistortionCoordinates_t_new_synthetic_const_copy_ctor_autocxx_wrapper (autocxx_gen_this : * mut DistortionCoordinates_t , other : & DistortionCoordinates_t) ; pub unsafe fn TrackedDevicePose_t_alloc_autocxx_wrapper () -> * mut TrackedDevicePose_t ; pub unsafe fn TrackedDevicePose_t_free_autocxx_wrapper (arg0 : * mut TrackedDevicePose_t) ; pub unsafe fn VREvent_t_alloc_autocxx_wrapper () -> * mut VREvent_t ; pub unsafe fn VREvent_t_free_autocxx_wrapper (arg0 : * mut VREvent_t) ; # [doc = "Synthesized move constructor."] pub unsafe fn vr_VREvent_t_new_synthetic_move_ctor_autocxx_wrapper (autocxx_gen_this : * mut VREvent_t , other : * mut VREvent_t) ; # [doc = "Synthesized copy constructor."] pub unsafe fn vr_VREvent_t_new_synthetic_const_copy_ctor_autocxx_wrapper (autocxx_gen_this : * mut VREvent_t , other : & VREvent_t) ; pub unsafe fn HiddenAreaMesh_t_alloc_autocxx_wrapper () -> * mut HiddenAreaMesh_t ; pub unsafe fn HiddenAreaMesh_t_free_autocxx_wrapper (arg0 : * mut HiddenAreaMesh_t) ; # [doc = "Synthesized move constructor."] pub unsafe fn vr_HiddenAreaMesh_t_new_synthetic_move_ctor_autocxx_wrapper (autocxx_gen_this : * mut HiddenAreaMesh_t , other : * mut HiddenAreaMesh_t) ; # [doc = "Synthesized copy constructor."] pub unsafe fn vr_HiddenAreaMesh_t_new_synthetic_const_copy_ctor_autocxx_wrapper (autocxx_gen_this : * mut HiddenAreaMesh_t , other : & HiddenAreaMesh_t) ; pub unsafe fn VRControllerState001_t_alloc_autocxx_wrapper () -> * mut VRControllerState001_t ; pub unsafe fn VRControllerState001_t_free_autocxx_wrapper (arg0 : * mut VRControllerState001_t) ; # [doc = "Synthesized move constructor."] pub unsafe fn vr_VRControllerState001_t_new_synthetic_move_ctor_autocxx_wrapper (autocxx_gen_this : * mut VRControllerState001_t , other : * mut VRControllerState001_t) ; # [doc = "Synthesized copy constructor."] pub unsafe fn vr_VRControllerState001_t_new_synthetic_const_copy_ctor_autocxx_wrapper (autocxx_gen_this : * mut VRControllerState001_t , other : & VRControllerState001_t) ; pub unsafe fn VRTextureBounds_t_alloc_autocxx_wrapper () -> * mut VRTextureBounds_t ; pub unsafe fn VRTextureBounds_t_free_autocxx_wrapper (arg0 : * mut VRTextureBounds_t) ; # [doc = "Synthesized move constructor."] pub unsafe fn vr_VRTextureBounds_t_new_synthetic_move_ctor_autocxx_wrapper (autocxx_gen_this : * mut VRTextureBounds_t , other : * mut VRTextureBounds_t) ; # [doc = "Synthesized copy constructor."] pub unsafe fn vr_VRTextureBounds_t_new_synthetic_const_copy_ctor_autocxx_wrapper (autocxx_gen_this : * mut VRTextureBounds_t , other : & VRTextureBounds_t) ; pub unsafe fn HmdVector2_t_alloc_autocxx_wrapper () -> * mut HmdVector2_t ; pub unsafe fn HmdVector2_t_free_autocxx_wrapper (arg0 : * mut HmdVector2_t) ; # [doc = "Synthesized move constructor."] pub unsafe fn vr_HmdVector2_t_new_synthetic_move_ctor_autocxx_wrapper (autocxx_gen_this : * mut HmdVector2_t , other : * mut HmdVector2_t) ; # [doc = "Synthesized copy constructor."] pub unsafe fn vr_HmdVector2_t_new_synthetic_const_copy_ctor_autocxx_wrapper (autocxx_gen_this : * mut HmdVector2_t , other : & HmdVector2_t) ; pub unsafe fn VROverlayProjection_t_alloc_autocxx_wrapper () -> * mut VROverlayProjection_t ; pub unsafe fn VROverlayProjection_t_free_autocxx_wrapper (arg0 : * mut VROverlayProjection_t) ; # [doc = "Synthesized move constructor."] pub unsafe fn vr_VROverlayProjection_t_new_synthetic_move_ctor_autocxx_wrapper (autocxx_gen_this : * mut VROverlayProjection_t , other : * mut VROverlayProjection_t) ; # [doc = "Synthesized copy constructor."] pub unsafe fn vr_VROverlayProjection_t_new_synthetic_const_copy_ctor_autocxx_wrapper (autocxx_gen_this : * mut VROverlayProjection_t , other : & VROverlayProjection_t) ; pub unsafe fn VROverlayIntersectionParams_t_alloc_autocxx_wrapper () -> * mut VROverlayIntersectionParams_t ; pub unsafe fn VROverlayIntersectionParams_t_free_autocxx_wrapper (arg0 : * mut VROverlayIntersectionParams_t) ; pub unsafe fn VROverlayIntersectionResults_t_alloc_autocxx_wrapper () -> * mut VROverlayIntersectionResults_t ; pub unsafe fn VROverlayIntersectionResults_t_free_autocxx_wrapper (arg0 : * mut VROverlayIntersectionResults_t) ; # [doc = "Synthesized move constructor."] pub unsafe fn vr_VROverlayIntersectionResults_t_new_synthetic_move_ctor_autocxx_wrapper (autocxx_gen_this : * mut VROverlayIntersectionResults_t , other : * mut VROverlayIntersectionResults_t) ; # [doc = "Synthesized copy constructor."] pub unsafe fn vr_VROverlayIntersectionResults_t_new_synthetic_const_copy_ctor_autocxx_wrapper (autocxx_gen_this : * mut VROverlayIntersectionResults_t , other : & VROverlayIntersectionResults_t) ; pub unsafe fn VROverlayIntersectionMaskPrimitive_t_alloc_autocxx_wrapper () -> * mut VROverlayIntersectionMaskPrimitive_t ; pub unsafe fn VROverlayIntersectionMaskPrimitive_t_free_autocxx_wrapper (arg0 : * mut VROverlayIntersectionMaskPrimitive_t) ; pub unsafe fn Texture_t_alloc_autocxx_wrapper () -> * mut Texture_t ; pub unsafe fn Texture_t_free_autocxx_wrapper (arg0 : * mut Texture_t) ; pub unsafe fn HmdRect2_t_alloc_autocxx_wrapper () -> * mut HmdRect2_t ; pub unsafe fn HmdRect2_t_free_autocxx_wrapper (arg0 : * mut HmdRect2_t) ; # [doc = "Synthesized move constructor."] pub unsafe fn vr_HmdRect2_t_new_synthetic_move_ctor_autocxx_wrapper (autocxx_gen_this : * mut HmdRect2_t , other : * mut HmdRect2_t) ; # [doc = "Synthesized copy constructor."] pub unsafe fn vr_HmdRect2_t_new_synthetic_const_copy_ctor_autocxx_wrapper (autocxx_gen_this : * mut HmdRect2_t , other : & HmdRect2_t) ; type c_void = autocxx :: c_void ; type c_ushort = autocxx :: c_ushort ; include ! ("openvr.h") ; include ! ("autocxxgen_ffi.h") ; } extern "Rust" { } } # [allow (unused_imports)] use bindgen :: root ; pub use cxxbridge :: autocxx_make_string as make_string ; pub use bindgen :: root :: VkInstance_T ; pub mod vr { pub use super :: bindgen :: root :: vr :: HmdMatrix34_t ; pub use super :: bindgen :: root :: vr :: ETrackingUniverseOrigin ; pub use super :: bindgen :: root :: vr :: VROverlayHandle_t ; pub use super :: bindgen :: root :: vr :: EVROverlayError ; pub use super :: bindgen :: root :: vr :: EVRApplicationType ; pub use super :: bindgen :: root :: vr :: EVRInitError ; pub use super :: bindgen :: root :: vr :: IVRSystem ; pub use super :: bindgen :: root :: vr :: IVROverlay ; pub use super :: cxxbridge :: VR_Init ; pub use super :: cxxbridge :: VR_Shutdown ; pub use super :: cxxbridge :: VR_GetVRInitErrorAsSymbol ; pub use super :: cxxbridge :: VRSystem ; pub use super :: cxxbridge :: VROverlay ; pub use super :: bindgen :: root :: vr :: EVREye ; pub use super :: bindgen :: root :: vr :: HmdMatrix44_t ; pub use super :: bindgen :: root :: vr :: DistortionCoordinates_t ; pub use super :: bindgen :: root :: vr :: ETextureType ; pub use super :: bindgen :: root :: vr :: TrackedDevicePose_t ; pub use super :: bindgen :: root :: vr :: TrackedDeviceIndex_t ; pub use super :: bindgen :: root :: vr :: ETrackedDeviceClass ; pub use super :: bindgen :: root :: vr :: EDeviceActivityLevel ; pub use super :: bindgen :: root :: vr :: ETrackedControllerRole ; pub use super :: bindgen :: root :: vr :: ETrackedDeviceProperty ; pub use super :: bindgen :: root :: vr :: ETrackedPropertyError ; pub use super :: bindgen :: root :: vr :: PropertyTypeTag_t ; pub use super :: bindgen :: root :: vr :: VREvent_t ; pub use super :: bindgen :: root :: vr :: EVREventType ; pub use super :: bindgen :: root :: vr :: HiddenAreaMesh_t ; pub use super :: bindgen :: root :: vr :: EHiddenAreaMeshType ; pub use super :: bindgen :: root :: vr :: VRControllerState_t ; pub use super :: bindgen :: root :: vr :: VRControllerState001_t ; pub use super :: bindgen :: root :: vr :: EVRButtonId ; pub use super :: bindgen :: root :: vr :: EVRControllerAxisType ; pub use super :: bindgen :: root :: vr :: EVRFirmwareError ; pub use super :: bindgen :: root :: vr :: VROverlayFlags ; pub use super :: bindgen :: root :: vr :: EColorSpace ; pub use super :: bindgen :: root :: vr :: VRTextureBounds_t ; pub use super :: bindgen :: root :: vr :: VROverlayTransformType ; pub use super :: bindgen :: root :: vr :: HmdVector2_t ; pub use super :: bindgen :: root :: vr :: VROverlayProjection_t ; pub use super :: bindgen :: root :: vr :: VROverlayInputMethod ; pub use super :: bindgen :: root :: vr :: VROverlayIntersectionParams_t ; pub use super :: bindgen :: root :: vr :: VROverlayIntersectionResults_t ; pub use super :: bindgen :: root :: vr :: VROverlayIntersectionMaskPrimitive_t ; pub use super :: bindgen :: root :: vr :: Texture_t ; pub use super :: bindgen :: root :: vr :: EGamepadTextInputMode ; pub use super :: bindgen :: root :: vr :: EGamepadTextInputLineMode ; pub use super :: bindgen :: root :: vr :: HmdRect2_t ; pub use super :: bindgen :: root :: vr :: VRMessageOverlayResponse ; } }
[INFO] [stdout]   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         +                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.70s
[INFO] running `Command { std: "docker" "inspect" "fca0b0b7f558e4d2d06a0e26765682fb2188784802a75ac40c42c048270e4d9c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fca0b0b7f558e4d2d06a0e26765682fb2188784802a75ac40c42c048270e4d9c", kill_on_drop: false }`
[INFO] [stdout] fca0b0b7f558e4d2d06a0e26765682fb2188784802a75ac40c42c048270e4d9c
