Skip to main content

engage/generated/unity_engine/rendering/
stencilstate.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-rendering-stencilstate-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        object::{IObject, Object},
10        valuetype::{IValueType, ValueType},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/rendering/stencilstate/StencilState.md"))]
14    #[repr(C)]
15    #[derive(::core::clone::Clone, ::core::marker::Copy)]
16    pub struct StencilState {
17        pub m_enabled: u8,
18        pub m_read_mask: u8,
19        pub m_write_mask: u8,
20        pub m_padding: u8,
21        pub m_compare_function_front: u8,
22        pub m_pass_operation_front: u8,
23        pub m_fail_operation_front: u8,
24        pub m_z_fail_operation_front: u8,
25        pub m_compare_function_back: u8,
26        pub m_pass_operation_back: u8,
27        pub m_fail_operation_back: u8,
28        pub m_z_fail_operation_back: u8,
29    }
30    impl ::unity::ClassIdentity for StencilState {
31        const NAME: &'static str = "StencilState";
32        const NAMESPACE: &'static str = "UnityEngine.Rendering";
33
34        fn class() -> ::unity::Class {
35            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
36            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
37        }
38    }
39    impl ::unity::IlType for StencilState {
40        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
41            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
42        }
43    }
44}
45
46#[cfg(feature = "unity_engine-rendering-stencilstate-types")]
47pub use __types::*;
48
49#[cfg(feature = "unity_engine-rendering-stencilstate")]
50impl StencilState {
51    #[doc = "`get_defaultValue()` overload"]
52    pub fn get_default_value() -> crate::unity_engine::rendering::stencilstate::StencilState {
53        unsafe {
54            ::unity::il2cpp_call!((::unity::module_base()+0x2f83610usize)as*mut u8,crate::unity_engine::rendering::stencilstate::StencilState;
55            )
56        }
57    }
58}
59
60#[cfg(feature = "unity_engine-rendering-stencilstate")]
61impl StencilState {
62    #[doc = "`.ctor(bool, u8, u8, crate::unity_engine::rendering::comparefunction::CompareFunction, crate::unity_engine::rendering::stencilop::StencilOp, crate::unity_engine::rendering::stencilop::StencilOp, crate::unity_engine::rendering::stencilop::StencilOp)` overload"]
63    pub fn ctor(
64        &mut self,
65        enabled: impl ::core::convert::Into<bool>,
66        read_mask: impl ::core::convert::Into<u8>,
67        write_mask: impl ::core::convert::Into<u8>,
68        compare_function: impl ::core::convert::Into<crate::unity_engine::rendering::comparefunction::CompareFunction>,
69        pass_operation: impl ::core::convert::Into<crate::unity_engine::rendering::stencilop::StencilOp>,
70        fail_operation: impl ::core::convert::Into<crate::unity_engine::rendering::stencilop::StencilOp>,
71        z_fail_operation: impl ::core::convert::Into<crate::unity_engine::rendering::stencilop::StencilOp>,
72    ) -> () {
73        unsafe {
74            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a440usize)as*mut u8,();
75(*mut StencilState)self as*mut StencilState,(bool)::core::convert::Into::into(enabled),(u8)::core::convert::Into::into(read_mask),(u8)::core::convert::Into::into(write_mask),(crate::unity_engine::rendering::comparefunction::CompareFunction)::core::convert::Into::into(compare_function),(crate::unity_engine::rendering::stencilop::StencilOp)::core::convert::Into::into(pass_operation),(crate::unity_engine::rendering::stencilop::StencilOp)::core::convert::Into::into(fail_operation),(crate::unity_engine::rendering::stencilop::StencilOp)::core::convert::Into::into(z_fail_operation))
76        }
77    }
78
79    #[doc = "`.ctor(bool, u8, u8, crate::unity_engine::rendering::comparefunction::CompareFunction, crate::unity_engine::rendering::stencilop::StencilOp, crate::unity_engine::rendering::stencilop::StencilOp, crate::unity_engine::rendering::stencilop::StencilOp, crate::unity_engine::rendering::comparefunction::CompareFunction, crate::unity_engine::rendering::stencilop::StencilOp, crate::unity_engine::rendering::stencilop::StencilOp, crate::unity_engine::rendering::stencilop::StencilOp)` overload"]
80    pub fn ctor_2(
81        &mut self,
82        enabled: impl ::core::convert::Into<bool>,
83        read_mask: impl ::core::convert::Into<u8>,
84        write_mask: impl ::core::convert::Into<u8>,
85        compare_function_front: impl ::core::convert::Into<crate::unity_engine::rendering::comparefunction::CompareFunction>,
86        pass_operation_front: impl ::core::convert::Into<crate::unity_engine::rendering::stencilop::StencilOp>,
87        fail_operation_front: impl ::core::convert::Into<crate::unity_engine::rendering::stencilop::StencilOp>,
88        z_fail_operation_front: impl ::core::convert::Into<crate::unity_engine::rendering::stencilop::StencilOp>,
89        compare_function_back: impl ::core::convert::Into<crate::unity_engine::rendering::comparefunction::CompareFunction>,
90        pass_operation_back: impl ::core::convert::Into<crate::unity_engine::rendering::stencilop::StencilOp>,
91        fail_operation_back: impl ::core::convert::Into<crate::unity_engine::rendering::stencilop::StencilOp>,
92        z_fail_operation_back: impl ::core::convert::Into<crate::unity_engine::rendering::stencilop::StencilOp>,
93    ) -> () {
94        unsafe {
95            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a520usize)as*mut u8,();
96(*mut StencilState)self as*mut StencilState,(bool)::core::convert::Into::into(enabled),(u8)::core::convert::Into::into(read_mask),(u8)::core::convert::Into::into(write_mask),(crate::unity_engine::rendering::comparefunction::CompareFunction)::core::convert::Into::into(compare_function_front),(crate::unity_engine::rendering::stencilop::StencilOp)::core::convert::Into::into(pass_operation_front),(crate::unity_engine::rendering::stencilop::StencilOp)::core::convert::Into::into(fail_operation_front),(crate::unity_engine::rendering::stencilop::StencilOp)::core::convert::Into::into(z_fail_operation_front),(crate::unity_engine::rendering::comparefunction::CompareFunction)::core::convert::Into::into(compare_function_back),(crate::unity_engine::rendering::stencilop::StencilOp)::core::convert::Into::into(pass_operation_back),(crate::unity_engine::rendering::stencilop::StencilOp)::core::convert::Into::into(fail_operation_back),(crate::unity_engine::rendering::stencilop::StencilOp)::core::convert::Into::into(z_fail_operation_back))
97        }
98    }
99
100    #[doc = "`get_enabled()` overload"]
101    pub fn get_enabled(&mut self) -> bool {
102        unsafe {
103            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a620usize)as*mut u8,bool;
104(*mut StencilState)self as*mut StencilState)
105        }
106    }
107
108    #[doc = "`set_enabled(bool)` overload"]
109    pub fn set_enabled(&mut self, value: impl ::core::convert::Into<bool>) -> () {
110        unsafe {
111            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a690usize)as*mut u8,();
112(*mut StencilState)self as*mut StencilState,(bool)::core::convert::Into::into(value))
113        }
114    }
115
116    #[doc = "`get_readMask()` overload"]
117    pub fn get_read_mask(&mut self) -> u8 {
118        unsafe {
119            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a710usize)as*mut u8,u8;
120(*mut StencilState)self as*mut StencilState)
121        }
122    }
123
124    #[doc = "`get_writeMask()` overload"]
125    pub fn get_write_mask(&mut self) -> u8 {
126        unsafe {
127            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a720usize)as*mut u8,u8;
128(*mut StencilState)self as*mut StencilState)
129        }
130    }
131
132    #[doc = "`SetCompareFunction(crate::unity_engine::rendering::comparefunction::CompareFunction)` overload"]
133    pub fn set_compare_function(
134        &mut self,
135        value: impl ::core::convert::Into<crate::unity_engine::rendering::comparefunction::CompareFunction>,
136    ) -> () {
137        unsafe {
138            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a730usize)as*mut u8,();
139(*mut StencilState)self as*mut StencilState,(crate::unity_engine::rendering::comparefunction::CompareFunction)::core::convert::Into::into(value))
140        }
141    }
142
143    #[doc = "`SetPassOperation(crate::unity_engine::rendering::stencilop::StencilOp)` overload"]
144    pub fn set_pass_operation(&mut self, value: impl ::core::convert::Into<crate::unity_engine::rendering::stencilop::StencilOp>) -> () {
145        unsafe {
146            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a760usize)as*mut u8,();
147(*mut StencilState)self as*mut StencilState,(crate::unity_engine::rendering::stencilop::StencilOp)::core::convert::Into::into(value))
148        }
149    }
150
151    #[doc = "`SetFailOperation(crate::unity_engine::rendering::stencilop::StencilOp)` overload"]
152    pub fn set_fail_operation(&mut self, value: impl ::core::convert::Into<crate::unity_engine::rendering::stencilop::StencilOp>) -> () {
153        unsafe {
154            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a790usize)as*mut u8,();
155(*mut StencilState)self as*mut StencilState,(crate::unity_engine::rendering::stencilop::StencilOp)::core::convert::Into::into(value))
156        }
157    }
158
159    #[doc = "`SetZFailOperation(crate::unity_engine::rendering::stencilop::StencilOp)` overload"]
160    pub fn set_z_fail_operation(&mut self, value: impl ::core::convert::Into<crate::unity_engine::rendering::stencilop::StencilOp>) -> () {
161        unsafe {
162            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a7c0usize)as*mut u8,();
163(*mut StencilState)self as*mut StencilState,(crate::unity_engine::rendering::stencilop::StencilOp)::core::convert::Into::into(value))
164        }
165    }
166
167    #[doc = "`get_compareFunctionFront()` overload"]
168    pub fn get_compare_function_front(&mut self) -> crate::unity_engine::rendering::comparefunction::CompareFunction {
169        unsafe {
170            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a7f0usize)as*mut u8,crate::unity_engine::rendering::comparefunction::CompareFunction;
171(*mut StencilState)self as*mut StencilState)
172        }
173    }
174
175    #[doc = "`set_compareFunctionFront(crate::unity_engine::rendering::comparefunction::CompareFunction)` overload"]
176    pub fn set_compare_function_front(
177        &mut self,
178        value: impl ::core::convert::Into<crate::unity_engine::rendering::comparefunction::CompareFunction>,
179    ) -> () {
180        unsafe {
181            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a740usize)as*mut u8,();
182(*mut StencilState)self as*mut StencilState,(crate::unity_engine::rendering::comparefunction::CompareFunction)::core::convert::Into::into(value))
183        }
184    }
185
186    #[doc = "`get_passOperationFront()` overload"]
187    pub fn get_pass_operation_front(&mut self) -> crate::unity_engine::rendering::stencilop::StencilOp {
188        unsafe {
189            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a800usize)as*mut u8,crate::unity_engine::rendering::stencilop::StencilOp;
190(*mut StencilState)self as*mut StencilState)
191        }
192    }
193
194    #[doc = "`set_passOperationFront(crate::unity_engine::rendering::stencilop::StencilOp)` overload"]
195    pub fn set_pass_operation_front(&mut self, value: impl ::core::convert::Into<crate::unity_engine::rendering::stencilop::StencilOp>) -> () {
196        unsafe {
197            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a770usize)as*mut u8,();
198(*mut StencilState)self as*mut StencilState,(crate::unity_engine::rendering::stencilop::StencilOp)::core::convert::Into::into(value))
199        }
200    }
201
202    #[doc = "`get_failOperationFront()` overload"]
203    pub fn get_fail_operation_front(&mut self) -> crate::unity_engine::rendering::stencilop::StencilOp {
204        unsafe {
205            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a810usize)as*mut u8,crate::unity_engine::rendering::stencilop::StencilOp;
206(*mut StencilState)self as*mut StencilState)
207        }
208    }
209
210    #[doc = "`set_failOperationFront(crate::unity_engine::rendering::stencilop::StencilOp)` overload"]
211    pub fn set_fail_operation_front(&mut self, value: impl ::core::convert::Into<crate::unity_engine::rendering::stencilop::StencilOp>) -> () {
212        unsafe {
213            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a7a0usize)as*mut u8,();
214(*mut StencilState)self as*mut StencilState,(crate::unity_engine::rendering::stencilop::StencilOp)::core::convert::Into::into(value))
215        }
216    }
217
218    #[doc = "`get_zFailOperationFront()` overload"]
219    pub fn get_z_fail_operation_front(&mut self) -> crate::unity_engine::rendering::stencilop::StencilOp {
220        unsafe {
221            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a820usize)as*mut u8,crate::unity_engine::rendering::stencilop::StencilOp;
222(*mut StencilState)self as*mut StencilState)
223        }
224    }
225
226    #[doc = "`set_zFailOperationFront(crate::unity_engine::rendering::stencilop::StencilOp)` overload"]
227    pub fn set_z_fail_operation_front(&mut self, value: impl ::core::convert::Into<crate::unity_engine::rendering::stencilop::StencilOp>) -> () {
228        unsafe {
229            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a7d0usize)as*mut u8,();
230(*mut StencilState)self as*mut StencilState,(crate::unity_engine::rendering::stencilop::StencilOp)::core::convert::Into::into(value))
231        }
232    }
233
234    #[doc = "`get_compareFunctionBack()` overload"]
235    pub fn get_compare_function_back(&mut self) -> crate::unity_engine::rendering::comparefunction::CompareFunction {
236        unsafe {
237            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a830usize)as*mut u8,crate::unity_engine::rendering::comparefunction::CompareFunction;
238(*mut StencilState)self as*mut StencilState)
239        }
240    }
241
242    #[doc = "`set_compareFunctionBack(crate::unity_engine::rendering::comparefunction::CompareFunction)` overload"]
243    pub fn set_compare_function_back(
244        &mut self,
245        value: impl ::core::convert::Into<crate::unity_engine::rendering::comparefunction::CompareFunction>,
246    ) -> () {
247        unsafe {
248            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a750usize)as*mut u8,();
249(*mut StencilState)self as*mut StencilState,(crate::unity_engine::rendering::comparefunction::CompareFunction)::core::convert::Into::into(value))
250        }
251    }
252
253    #[doc = "`get_passOperationBack()` overload"]
254    pub fn get_pass_operation_back(&mut self) -> crate::unity_engine::rendering::stencilop::StencilOp {
255        unsafe {
256            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a840usize)as*mut u8,crate::unity_engine::rendering::stencilop::StencilOp;
257(*mut StencilState)self as*mut StencilState)
258        }
259    }
260
261    #[doc = "`set_passOperationBack(crate::unity_engine::rendering::stencilop::StencilOp)` overload"]
262    pub fn set_pass_operation_back(&mut self, value: impl ::core::convert::Into<crate::unity_engine::rendering::stencilop::StencilOp>) -> () {
263        unsafe {
264            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a780usize)as*mut u8,();
265(*mut StencilState)self as*mut StencilState,(crate::unity_engine::rendering::stencilop::StencilOp)::core::convert::Into::into(value))
266        }
267    }
268
269    #[doc = "`get_failOperationBack()` overload"]
270    pub fn get_fail_operation_back(&mut self) -> crate::unity_engine::rendering::stencilop::StencilOp {
271        unsafe {
272            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a850usize)as*mut u8,crate::unity_engine::rendering::stencilop::StencilOp;
273(*mut StencilState)self as*mut StencilState)
274        }
275    }
276
277    #[doc = "`set_failOperationBack(crate::unity_engine::rendering::stencilop::StencilOp)` overload"]
278    pub fn set_fail_operation_back(&mut self, value: impl ::core::convert::Into<crate::unity_engine::rendering::stencilop::StencilOp>) -> () {
279        unsafe {
280            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a7b0usize)as*mut u8,();
281(*mut StencilState)self as*mut StencilState,(crate::unity_engine::rendering::stencilop::StencilOp)::core::convert::Into::into(value))
282        }
283    }
284
285    #[doc = "`get_zFailOperationBack()` overload"]
286    pub fn get_z_fail_operation_back(&mut self) -> crate::unity_engine::rendering::stencilop::StencilOp {
287        unsafe {
288            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a860usize)as*mut u8,crate::unity_engine::rendering::stencilop::StencilOp;
289(*mut StencilState)self as*mut StencilState)
290        }
291    }
292
293    #[doc = "`set_zFailOperationBack(crate::unity_engine::rendering::stencilop::StencilOp)` overload"]
294    pub fn set_z_fail_operation_back(&mut self, value: impl ::core::convert::Into<crate::unity_engine::rendering::stencilop::StencilOp>) -> () {
295        unsafe {
296            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a7e0usize)as*mut u8,();
297(*mut StencilState)self as*mut StencilState,(crate::unity_engine::rendering::stencilop::StencilOp)::core::convert::Into::into(value))
298        }
299    }
300
301    #[doc = "`Equals(crate::unity_engine::rendering::stencilstate::StencilState)` overload"]
302    pub fn equals(&mut self, other: impl ::core::convert::Into<crate::unity_engine::rendering::stencilstate::StencilState>) -> bool {
303        unsafe {
304            ::unity::il2cpp_call!((::unity::module_base()+0x2f838b0usize)as*mut u8,bool;
305(*mut StencilState)self as*mut StencilState,(crate::unity_engine::rendering::stencilstate::StencilState)::core::convert::Into::into(other))
306        }
307    }
308
309    #[doc = "`Equals(crate::system::object::Object)` overload"]
310    pub fn equals_2(&mut self, obj: impl ::core::convert::Into<crate::system::object::Object>) -> bool {
311        unsafe {
312            ::unity::il2cpp_call!((::unity::module_base()+0x2f9a870usize)as*mut u8,bool;
313(*mut StencilState)self as*mut StencilState,(crate::system::object::Object)::core::convert::Into::into(obj))
314        }
315    }
316
317    #[doc = "`GetHashCode()` overload"]
318    pub fn get_hash_code(&mut self) -> i32 {
319        unsafe {
320            ::unity::il2cpp_call!((::unity::module_base()+0x2f83af0usize)as*mut u8,i32;
321(*mut StencilState)self as*mut StencilState)
322        }
323    }
324}
325
326#[cfg(feature = "unity_engine-rendering-stencilstate")]
327impl StencilState {
328    pub fn get_default_value_method_info() -> &'static ::unity::il2cpp::MethodInfo {
329        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
330    }
331
332    pub fn ctor_method_info() -> &'static ::unity::il2cpp::MethodInfo {
333        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[1]
334    }
335
336    pub fn ctor_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
337        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[2]
338    }
339
340    pub fn get_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
341        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[3]
342    }
343
344    pub fn set_enabled_method_info() -> &'static ::unity::il2cpp::MethodInfo {
345        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[4]
346    }
347
348    pub fn get_read_mask_method_info() -> &'static ::unity::il2cpp::MethodInfo {
349        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[5]
350    }
351
352    pub fn get_write_mask_method_info() -> &'static ::unity::il2cpp::MethodInfo {
353        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[6]
354    }
355
356    pub fn set_compare_function_method_info() -> &'static ::unity::il2cpp::MethodInfo {
357        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[7]
358    }
359
360    pub fn set_pass_operation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
361        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[8]
362    }
363
364    pub fn set_fail_operation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
365        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[9]
366    }
367
368    pub fn set_z_fail_operation_method_info() -> &'static ::unity::il2cpp::MethodInfo {
369        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[10]
370    }
371
372    pub fn get_compare_function_front_method_info() -> &'static ::unity::il2cpp::MethodInfo {
373        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[11]
374    }
375
376    pub fn set_compare_function_front_method_info() -> &'static ::unity::il2cpp::MethodInfo {
377        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[12]
378    }
379
380    pub fn get_pass_operation_front_method_info() -> &'static ::unity::il2cpp::MethodInfo {
381        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[13]
382    }
383
384    pub fn set_pass_operation_front_method_info() -> &'static ::unity::il2cpp::MethodInfo {
385        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[14]
386    }
387
388    pub fn get_fail_operation_front_method_info() -> &'static ::unity::il2cpp::MethodInfo {
389        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[15]
390    }
391
392    pub fn set_fail_operation_front_method_info() -> &'static ::unity::il2cpp::MethodInfo {
393        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[16]
394    }
395
396    pub fn get_z_fail_operation_front_method_info() -> &'static ::unity::il2cpp::MethodInfo {
397        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[17]
398    }
399
400    pub fn set_z_fail_operation_front_method_info() -> &'static ::unity::il2cpp::MethodInfo {
401        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[18]
402    }
403
404    pub fn get_compare_function_back_method_info() -> &'static ::unity::il2cpp::MethodInfo {
405        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[19]
406    }
407
408    pub fn set_compare_function_back_method_info() -> &'static ::unity::il2cpp::MethodInfo {
409        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[20]
410    }
411
412    pub fn get_pass_operation_back_method_info() -> &'static ::unity::il2cpp::MethodInfo {
413        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[21]
414    }
415
416    pub fn set_pass_operation_back_method_info() -> &'static ::unity::il2cpp::MethodInfo {
417        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[22]
418    }
419
420    pub fn get_fail_operation_back_method_info() -> &'static ::unity::il2cpp::MethodInfo {
421        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[23]
422    }
423
424    pub fn set_fail_operation_back_method_info() -> &'static ::unity::il2cpp::MethodInfo {
425        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[24]
426    }
427
428    pub fn get_z_fail_operation_back_method_info() -> &'static ::unity::il2cpp::MethodInfo {
429        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[25]
430    }
431
432    pub fn set_z_fail_operation_back_method_info() -> &'static ::unity::il2cpp::MethodInfo {
433        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[26]
434    }
435
436    pub fn equals_method_info() -> &'static ::unity::il2cpp::MethodInfo {
437        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[27]
438    }
439
440    pub fn equals_2_method_info() -> &'static ::unity::il2cpp::MethodInfo {
441        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[28]
442    }
443
444    pub fn get_hash_code_method_info() -> &'static ::unity::il2cpp::MethodInfo {
445        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[29]
446    }
447}
448
449#[cfg(feature = "unity_engine-rendering-stencilstate")]
450#[doc(hidden)]
451pub mod prelude {
452    pub use super::StencilState;
453    #[cfg(feature = "system-object")]
454    pub use crate::system::object::IObjectMethods;
455    #[cfg(feature = "system-valuetype")]
456    pub use crate::system::valuetype::IValueTypeMethods;
457    pub use crate::system::{object::IObject, valuetype::IValueType};
458}