Skip to main content

engage/generated/unity_engine/rendering/
listpool_1_2.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendering-listpool_1_2-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/listpool_1_2/ListPool_1_2.md"))]
11    #[::unity::class(namespace = "UnityEngine.Rendering", name = "ListPool`1")]
12    #[parent(crate::system::object::Object)]
13    pub struct ListPool_1_2<T0: ::unity::ClassIdentity> {
14        #[static_field]
15        #[rename(name = "s_Pool")]
16        pub s_pool: crate::unity_engine::rendering::objectpool_1_2::ObjectPool_1_2<crate::system::collections::generic::list_1::List_1<T0>>,
17    }
18}
19
20#[cfg(feature = "unity_engine-rendering-listpool_1_2-types")]
21pub use __types::*;
22
23#[cfg(feature = "unity_engine-rendering-listpool_1_2")]
24#[::unity::methods]
25impl<T0: ::unity::ClassIdentity> ListPool_1_2<T0> {
26    #[doc = "`Get()` overload"]
27    #[method(name = "Get", args = 0)]
28    pub fn get() -> crate::system::collections::generic::list_1::List_1<T0>;
29
30    #[doc = "`Get(*mutcrate::system::collections::generic::list_1::List_1<T0>)` overload"]
31    #[method(name = "Get", args = 1)]
32    pub fn get_2(
33        value: *mut crate::system::collections::generic::list_1::List_1<T0>,
34    ) -> crate::unity_engine::rendering::objectpool_1_2::ObjectPool_1_PooledObject<crate::system::collections::generic::list_1::List_1<T0>>;
35
36    #[doc = "`Release(crate::system::collections::generic::list_1::List_1<T0>)` overload"]
37    #[method(name = "Release", args = 1)]
38    pub fn release(to_release: crate::system::collections::generic::list_1::List_1<T0>) -> ();
39
40    #[doc = "`.cctor()` overload"]
41    #[method(name = ".cctor", args = 0)]
42    pub fn cctor() -> ();
43}
44
45#[cfg(feature = "unity_engine-rendering-listpool_1_2")]
46#[doc(hidden)]
47pub mod prelude {
48    pub use super::{IListPool_1_2, ListPool_1_2};
49    pub use crate::system::object::IObject;
50    #[cfg(feature = "system-object")]
51    pub use crate::system::object::IObjectMethods;
52}