Skip to main content

engage/generated/unity_engine/experimental/rendering/
graphicsformat.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "unity_engine-experimental-rendering-graphicsformat-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        object::{IObject, Object},
10        r#enum::{Enum, IEnum},
11        valuetype::{IValueType, ValueType},
12    };
13
14    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/unity_engine/experimental/rendering/graphicsformat/GraphicsFormat.md"))]
15    #[repr(C)]
16    #[derive(::core::clone::Clone, ::core::marker::Copy, ::core::fmt::Debug, ::core::cmp::PartialEq, ::core::cmp::Eq)]
17    pub struct GraphicsFormat {
18        pub value: i32,
19    }
20    impl ::unity::ClassIdentity for GraphicsFormat {
21        const NAME: &'static str = "GraphicsFormat";
22        const NAMESPACE: &'static str = "UnityEngine.Experimental.Rendering";
23
24        fn class() -> ::unity::Class {
25            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
26            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
27        }
28    }
29    impl ::unity::IlType for GraphicsFormat {
30        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
31            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
32        }
33    }
34    impl GraphicsFormat {
35        pub fn none() -> Self {
36            Self { value: 0 }
37        }
38
39        pub fn r8_srgb() -> Self {
40            Self { value: 1 }
41        }
42
43        pub fn r8g8_srgb() -> Self {
44            Self { value: 2 }
45        }
46
47        pub fn r8g8b8_srgb() -> Self {
48            Self { value: 3 }
49        }
50
51        pub fn r8g8b8a8_srgb() -> Self {
52            Self { value: 4 }
53        }
54
55        pub fn r8_u_norm() -> Self {
56            Self { value: 5 }
57        }
58
59        pub fn r8g8_u_norm() -> Self {
60            Self { value: 6 }
61        }
62
63        pub fn r8g8b8_u_norm() -> Self {
64            Self { value: 7 }
65        }
66
67        pub fn r8g8b8a8_u_norm() -> Self {
68            Self { value: 8 }
69        }
70
71        pub fn r8_s_norm() -> Self {
72            Self { value: 9 }
73        }
74
75        pub fn r8g8_s_norm() -> Self {
76            Self { value: 10 }
77        }
78
79        pub fn r8g8b8_s_norm() -> Self {
80            Self { value: 11 }
81        }
82
83        pub fn r8g8b8a8_s_norm() -> Self {
84            Self { value: 12 }
85        }
86
87        pub fn r8_u_int() -> Self {
88            Self { value: 13 }
89        }
90
91        pub fn r8g8_u_int() -> Self {
92            Self { value: 14 }
93        }
94
95        pub fn r8g8b8_u_int() -> Self {
96            Self { value: 15 }
97        }
98
99        pub fn r8g8b8a8_u_int() -> Self {
100            Self { value: 16 }
101        }
102
103        pub fn r8_s_int() -> Self {
104            Self { value: 17 }
105        }
106
107        pub fn r8g8_s_int() -> Self {
108            Self { value: 18 }
109        }
110
111        pub fn r8g8b8_s_int() -> Self {
112            Self { value: 19 }
113        }
114
115        pub fn r8g8b8a8_s_int() -> Self {
116            Self { value: 20 }
117        }
118
119        pub fn r16_u_norm() -> Self {
120            Self { value: 21 }
121        }
122
123        pub fn r16g16_u_norm() -> Self {
124            Self { value: 22 }
125        }
126
127        pub fn r16g16b16_u_norm() -> Self {
128            Self { value: 23 }
129        }
130
131        pub fn r16g16b16a16_u_norm() -> Self {
132            Self { value: 24 }
133        }
134
135        pub fn r16_s_norm() -> Self {
136            Self { value: 25 }
137        }
138
139        pub fn r16g16_s_norm() -> Self {
140            Self { value: 26 }
141        }
142
143        pub fn r16g16b16_s_norm() -> Self {
144            Self { value: 27 }
145        }
146
147        pub fn r16g16b16a16_s_norm() -> Self {
148            Self { value: 28 }
149        }
150
151        pub fn r16_u_int() -> Self {
152            Self { value: 29 }
153        }
154
155        pub fn r16g16_u_int() -> Self {
156            Self { value: 30 }
157        }
158
159        pub fn r16g16b16_u_int() -> Self {
160            Self { value: 31 }
161        }
162
163        pub fn r16g16b16a16_u_int() -> Self {
164            Self { value: 32 }
165        }
166
167        pub fn r16_s_int() -> Self {
168            Self { value: 33 }
169        }
170
171        pub fn r16g16_s_int() -> Self {
172            Self { value: 34 }
173        }
174
175        pub fn r16g16b16_s_int() -> Self {
176            Self { value: 35 }
177        }
178
179        pub fn r16g16b16a16_s_int() -> Self {
180            Self { value: 36 }
181        }
182
183        pub fn r32_u_int() -> Self {
184            Self { value: 37 }
185        }
186
187        pub fn r32g32_u_int() -> Self {
188            Self { value: 38 }
189        }
190
191        pub fn r32g32b32_u_int() -> Self {
192            Self { value: 39 }
193        }
194
195        pub fn r32g32b32a32_u_int() -> Self {
196            Self { value: 40 }
197        }
198
199        pub fn r32_s_int() -> Self {
200            Self { value: 41 }
201        }
202
203        pub fn r32g32_s_int() -> Self {
204            Self { value: 42 }
205        }
206
207        pub fn r32g32b32_s_int() -> Self {
208            Self { value: 43 }
209        }
210
211        pub fn r32g32b32a32_s_int() -> Self {
212            Self { value: 44 }
213        }
214
215        pub fn r16_s_float() -> Self {
216            Self { value: 45 }
217        }
218
219        pub fn r16g16_s_float() -> Self {
220            Self { value: 46 }
221        }
222
223        pub fn r16g16b16_s_float() -> Self {
224            Self { value: 47 }
225        }
226
227        pub fn r16g16b16a16_s_float() -> Self {
228            Self { value: 48 }
229        }
230
231        pub fn r32_s_float() -> Self {
232            Self { value: 49 }
233        }
234
235        pub fn r32g32_s_float() -> Self {
236            Self { value: 50 }
237        }
238
239        pub fn r32g32b32_s_float() -> Self {
240            Self { value: 51 }
241        }
242
243        pub fn r32g32b32a32_s_float() -> Self {
244            Self { value: 52 }
245        }
246
247        pub fn b8g8r8_srgb() -> Self {
248            Self { value: 56 }
249        }
250
251        pub fn b8g8r8a8_srgb() -> Self {
252            Self { value: 57 }
253        }
254
255        pub fn b8g8r8_u_norm() -> Self {
256            Self { value: 58 }
257        }
258
259        pub fn b8g8r8a8_u_norm() -> Self {
260            Self { value: 59 }
261        }
262
263        pub fn b8g8r8_s_norm() -> Self {
264            Self { value: 60 }
265        }
266
267        pub fn b8g8r8a8_s_norm() -> Self {
268            Self { value: 61 }
269        }
270
271        pub fn b8g8r8_u_int() -> Self {
272            Self { value: 62 }
273        }
274
275        pub fn b8g8r8a8_u_int() -> Self {
276            Self { value: 63 }
277        }
278
279        pub fn b8g8r8_s_int() -> Self {
280            Self { value: 64 }
281        }
282
283        pub fn b8g8r8a8_s_int() -> Self {
284            Self { value: 65 }
285        }
286
287        pub fn r4g4b4a4_u_norm_pack16() -> Self {
288            Self { value: 66 }
289        }
290
291        pub fn b4g4r4a4_u_norm_pack16() -> Self {
292            Self { value: 67 }
293        }
294
295        pub fn r5g6b5_u_norm_pack16() -> Self {
296            Self { value: 68 }
297        }
298
299        pub fn b5g6r5_u_norm_pack16() -> Self {
300            Self { value: 69 }
301        }
302
303        pub fn r5g5b5a1_u_norm_pack16() -> Self {
304            Self { value: 70 }
305        }
306
307        pub fn b5g5r5a1_u_norm_pack16() -> Self {
308            Self { value: 71 }
309        }
310
311        pub fn a1r5g5b5_u_norm_pack16() -> Self {
312            Self { value: 72 }
313        }
314
315        pub fn e5b9g9r9_u_float_pack32() -> Self {
316            Self { value: 73 }
317        }
318
319        pub fn b10g11r11_u_float_pack32() -> Self {
320            Self { value: 74 }
321        }
322
323        pub fn a2b10g10r10_u_norm_pack32() -> Self {
324            Self { value: 75 }
325        }
326
327        pub fn a2b10g10r10_u_int_pack32() -> Self {
328            Self { value: 76 }
329        }
330
331        pub fn a2b10g10r10_s_int_pack32() -> Self {
332            Self { value: 77 }
333        }
334
335        pub fn a2r10g10b10_u_norm_pack32() -> Self {
336            Self { value: 78 }
337        }
338
339        pub fn a2r10g10b10_u_int_pack32() -> Self {
340            Self { value: 79 }
341        }
342
343        pub fn a2r10g10b10_s_int_pack32() -> Self {
344            Self { value: 80 }
345        }
346
347        pub fn a2r10g10b10_xrsrgb_pack32() -> Self {
348            Self { value: 81 }
349        }
350
351        pub fn a2r10g10b10_xru_norm_pack32() -> Self {
352            Self { value: 82 }
353        }
354
355        pub fn r10g10b10_xrsrgb_pack32() -> Self {
356            Self { value: 83 }
357        }
358
359        pub fn r10g10b10_xru_norm_pack32() -> Self {
360            Self { value: 84 }
361        }
362
363        pub fn a10r10g10b10_xrsrgb_pack32() -> Self {
364            Self { value: 85 }
365        }
366
367        pub fn a10r10g10b10_xru_norm_pack32() -> Self {
368            Self { value: 86 }
369        }
370
371        pub fn rgb_dxt1_srgb() -> Self {
372            Self { value: 96 }
373        }
374
375        pub fn rgba_dxt1_srgb() -> Self {
376            Self { value: 96 }
377        }
378
379        pub fn rgb_dxt1_u_norm() -> Self {
380            Self { value: 97 }
381        }
382
383        pub fn rgba_dxt1_u_norm() -> Self {
384            Self { value: 97 }
385        }
386
387        pub fn rgba_dxt3_srgb() -> Self {
388            Self { value: 98 }
389        }
390
391        pub fn rgba_dxt3_u_norm() -> Self {
392            Self { value: 99 }
393        }
394
395        pub fn rgba_dxt5_srgb() -> Self {
396            Self { value: 100 }
397        }
398
399        pub fn rgba_dxt5_u_norm() -> Self {
400            Self { value: 101 }
401        }
402
403        pub fn r_bc4_u_norm() -> Self {
404            Self { value: 102 }
405        }
406
407        pub fn r_bc4_s_norm() -> Self {
408            Self { value: 103 }
409        }
410
411        pub fn rg_bc5_u_norm() -> Self {
412            Self { value: 104 }
413        }
414
415        pub fn rg_bc5_s_norm() -> Self {
416            Self { value: 105 }
417        }
418
419        pub fn rgb_bc6h_u_float() -> Self {
420            Self { value: 106 }
421        }
422
423        pub fn rgb_bc6h_s_float() -> Self {
424            Self { value: 107 }
425        }
426
427        pub fn rgba_bc7_srgb() -> Self {
428            Self { value: 108 }
429        }
430
431        pub fn rgba_bc7_u_norm() -> Self {
432            Self { value: 109 }
433        }
434
435        pub fn rgb_pvrtc_2bpp_srgb() -> Self {
436            Self { value: 110 }
437        }
438
439        pub fn rgb_pvrtc_2bpp_u_norm() -> Self {
440            Self { value: 111 }
441        }
442
443        pub fn rgb_pvrtc_4bpp_srgb() -> Self {
444            Self { value: 112 }
445        }
446
447        pub fn rgb_pvrtc_4bpp_u_norm() -> Self {
448            Self { value: 113 }
449        }
450
451        pub fn rgba_pvrtc_2bpp_srgb() -> Self {
452            Self { value: 114 }
453        }
454
455        pub fn rgba_pvrtc_2bpp_u_norm() -> Self {
456            Self { value: 115 }
457        }
458
459        pub fn rgba_pvrtc_4bpp_srgb() -> Self {
460            Self { value: 116 }
461        }
462
463        pub fn rgba_pvrtc_4bpp_u_norm() -> Self {
464            Self { value: 117 }
465        }
466
467        pub fn rgb_etc_u_norm() -> Self {
468            Self { value: 118 }
469        }
470
471        pub fn rgb_etc2_srgb() -> Self {
472            Self { value: 119 }
473        }
474
475        pub fn rgb_etc2_u_norm() -> Self {
476            Self { value: 120 }
477        }
478
479        pub fn rgb_a1_etc2_srgb() -> Self {
480            Self { value: 121 }
481        }
482
483        pub fn rgb_a1_etc2_u_norm() -> Self {
484            Self { value: 122 }
485        }
486
487        pub fn rgba_etc2_srgb() -> Self {
488            Self { value: 123 }
489        }
490
491        pub fn rgba_etc2_u_norm() -> Self {
492            Self { value: 124 }
493        }
494
495        pub fn r_eac_u_norm() -> Self {
496            Self { value: 125 }
497        }
498
499        pub fn r_eac_s_norm() -> Self {
500            Self { value: 126 }
501        }
502
503        pub fn rg_eac_u_norm() -> Self {
504            Self { value: 127 }
505        }
506
507        pub fn rg_eac_s_norm() -> Self {
508            Self { value: 128 }
509        }
510
511        pub fn rgba_astc4x4_srgb() -> Self {
512            Self { value: 129 }
513        }
514
515        pub fn rgba_astc4x4_u_norm() -> Self {
516            Self { value: 130 }
517        }
518
519        pub fn rgba_astc5x5_srgb() -> Self {
520            Self { value: 131 }
521        }
522
523        pub fn rgba_astc5x5_u_norm() -> Self {
524            Self { value: 132 }
525        }
526
527        pub fn rgba_astc6x6_srgb() -> Self {
528            Self { value: 133 }
529        }
530
531        pub fn rgba_astc6x6_u_norm() -> Self {
532            Self { value: 134 }
533        }
534
535        pub fn rgba_astc8x8_srgb() -> Self {
536            Self { value: 135 }
537        }
538
539        pub fn rgba_astc8x8_u_norm() -> Self {
540            Self { value: 136 }
541        }
542
543        pub fn rgba_astc10x10_srgb() -> Self {
544            Self { value: 137 }
545        }
546
547        pub fn rgba_astc10x10_u_norm() -> Self {
548            Self { value: 138 }
549        }
550
551        pub fn rgba_astc12x12_srgb() -> Self {
552            Self { value: 139 }
553        }
554
555        pub fn rgba_astc12x12_u_norm() -> Self {
556            Self { value: 140 }
557        }
558
559        pub fn rgba_astc4x4_u_float() -> Self {
560            Self { value: 145 }
561        }
562
563        pub fn rgba_astc5x5_u_float() -> Self {
564            Self { value: 146 }
565        }
566
567        pub fn rgba_astc6x6_u_float() -> Self {
568            Self { value: 147 }
569        }
570
571        pub fn rgba_astc8x8_u_float() -> Self {
572            Self { value: 148 }
573        }
574
575        pub fn rgba_astc10x10_u_float() -> Self {
576            Self { value: 149 }
577        }
578
579        pub fn rgba_astc12x12_u_float() -> Self {
580            Self { value: 150 }
581        }
582    }
583}
584
585#[cfg(feature = "unity_engine-experimental-rendering-graphicsformat-types")]
586pub use __types::*;
587
588#[cfg(feature = "unity_engine-experimental-rendering-graphicsformat")]
589#[doc(hidden)]
590pub mod prelude {
591    pub use super::GraphicsFormat;
592    #[cfg(feature = "system-object")]
593    pub use crate::system::object::IObjectMethods;
594    #[cfg(feature = "system-enum")]
595    pub use crate::system::r#enum::IEnumMethods;
596    #[cfg(feature = "system-valuetype")]
597    pub use crate::system::valuetype::IValueTypeMethods;
598    pub use crate::system::{object::IObject, r#enum::IEnum, valuetype::IValueType};
599}