Skip to main content

engage/generated/unity_engine/rendering/
xrutils.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendering-xrutils-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/xrutils/XRUtils.md"))]
11    #[::unity::class(namespace = "UnityEngine.Rendering", name = "XRUtils")]
12    #[parent(crate::system::object::Object)]
13    pub struct XRUtils {}
14}
15
16#[cfg(feature = "unity_engine-rendering-xrutils-types")]
17pub use __types::*;
18
19#[cfg(feature = "unity_engine-rendering-xrutils")]
20impl XRUtils {
21    #[doc = "`DrawOcclusionMesh(crate::unity_engine::rendering::commandbuffer::CommandBuffer, crate::unity_engine::camera::Camera, bool)` overload"]
22    pub fn draw_occlusion_mesh(
23        cmd: impl ::core::convert::Into<crate::unity_engine::rendering::commandbuffer::CommandBuffer>,
24        camera: impl ::core::convert::Into<crate::unity_engine::camera::Camera>,
25        stereo_enabled: impl ::core::convert::Into<bool>,
26    ) -> () {
27        unsafe {
28            ::unity::il2cpp_call!((::unity::module_base()+0x33e9740usize)as*mut u8,();
29(crate::unity_engine::rendering::commandbuffer::CommandBuffer)::core::convert::Into::into(cmd),(crate::unity_engine::camera::Camera)::core::convert::Into::into(camera),(bool)::core::convert::Into::into(stereo_enabled))
30        }
31    }
32}
33
34#[cfg(feature = "unity_engine-rendering-xrutils")]
35impl XRUtils {
36    pub fn draw_occlusion_mesh_method_info() -> &'static ::unity::il2cpp::MethodInfo {
37        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
38    }
39}
40
41#[cfg(feature = "unity_engine-rendering-xrutils")]
42#[doc(hidden)]
43pub mod prelude {
44    pub use super::{IXRUtils, XRUtils};
45    pub use crate::system::object::IObject;
46    #[cfg(feature = "system-object")]
47    pub use crate::system::object::IObjectMethods;
48}