qt_3d_extras 0.2.3

Bindings for Qt3DExtras C++ library (generated automatically with cpp_to_rust project)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
/// C++ type: <span style='color: green;'>```Qt3DExtras::QPhongAlphaMaterial```</span>
///
/// <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>The <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html">QPhongAlphaMaterial</a> class provides a default implementation of the phong lighting effect with alpha.</p>
/// <p>The phong lighting effect is based on the combination of 3 lighting components ambient, diffuse and specular. The relative strengths of these components are controlled by means of their reflectivity coefficients which are modelled as RGB triplets:</p>
/// <ul>
/// <li>Ambient is the color that is emitted by an object without any other light source.</li>
/// <li>Diffuse is the color that is emitted for rought surface reflections with the lights.</li>
/// <li>Specular is the color emitted for shiny surface reflections with the lights.</li>
/// <li>The shininess of a surface is controlled by a float property.</li>
/// <li>Alpha is the transparency of the surface between 0 (fully transparent) and 1 (opaque).</li>
/// </ul>
/// <p>This material uses an effect with a single render pass approach and performs per fragment lighting. Techniques are provided for OpenGL 2, OpenGL 3 or above as well as OpenGL ES 2.</p></div>
#[repr(C)]
pub struct PhongAlphaMaterial(u8);

impl PhongAlphaMaterial {
  /// C++ method: <span style='color: green;'>```float Qt3DExtras::QPhongAlphaMaterial::alpha() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html#alpha-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the alpha component of the object which varies between 0 and 1.</p>
  /// <p>The default value is 0.5f.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> float </td><td class="memItemRight bottomAlign"><span class="name"><b>alpha</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setAlpha</b></span>(float <i>alpha</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>alphaChanged</b></span>(float <i>alpha</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn alpha(&self) -> ::libc::c_float {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_alpha(self as *const ::phong_alpha_material::PhongAlphaMaterial) }
  }

  /// C++ method: <span style='color: green;'>```QColor Qt3DExtras::QPhongAlphaMaterial::ambient() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html#ambient-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the ambient color.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> QColor </td><td class="memItemRight bottomAlign"><span class="name"><b>ambient</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setAmbient</b></span>(const QColor &amp;<i>ambient</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>ambientChanged</b></span>(const QColor &amp;<i>ambient</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn ambient(&self) -> ::qt_gui::color::Color {
    {
      let mut object: ::qt_gui::color::Color =
        unsafe { ::cpp_utils::new_uninitialized::NewUninitialized::new_uninitialized() };
      unsafe {
        ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_ambient_to_output(self as *const ::phong_alpha_material::PhongAlphaMaterial, &mut object);
      }
      object
    }
  }

  /// C++ method: <span style='color: green;'>```Qt3DRender::QBlendEquation::BlendFunction Qt3DExtras::QPhongAlphaMaterial::blendFunctionArg() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html#blendFunctionArg-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the blend equation function argument.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QBlendEquation::BlendFunction </td><td class="memItemRight bottomAlign"><span class="name"><b>blendFunctionArg</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setBlendFunctionArg</b></span>(Qt3DRender::QBlendEquation::BlendFunction <i>blendFunctionArg</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>blendFunctionArgChanged</b></span>(Qt3DRender::QBlendEquation::BlendFunction <i>blendFunctionArg</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qt3drender-qblendequation.html#BlendFunction-enum">Qt3DRender::QBlendEquation::BlendFunction</a>.</p></div>
  pub fn blend_function_arg(&self) -> ::qt_3d_render::blend_equation::BlendFunction {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_blendFunctionArg(self as *const ::phong_alpha_material::PhongAlphaMaterial) }
  }

  /// C++ method: <span style='color: green;'>```Qt3DRender::QBlendEquationArguments::Blending Qt3DExtras::QPhongAlphaMaterial::destinationAlphaArg() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html#destinationAlphaArg-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the blend equation destination alpha blending argument.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QBlendEquationArguments::Blending </td><td class="memItemRight bottomAlign"><span class="name"><b>destinationAlphaArg</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setDestinationAlphaArg</b></span>(Qt3DRender::QBlendEquationArguments::Blending <i>destinationAlphaArg</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>destinationAlphaArgChanged</b></span>(Qt3DRender::QBlendEquationArguments::Blending <i>destinationAlphaArg</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qt3drender-qblendequationarguments.html#Blending-enum">Qt3DRender::QBlendEquationArguments::Blending</a>.</p></div>
  pub fn destination_alpha_arg(&self) -> ::qt_3d_render::blend_equation_arguments::Blending {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_destinationAlphaArg(self as *const ::phong_alpha_material::PhongAlphaMaterial) }
  }

  /// C++ method: <span style='color: green;'>```Qt3DRender::QBlendEquationArguments::Blending Qt3DExtras::QPhongAlphaMaterial::destinationRgbArg() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html#destinationRgbArg-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the blend equation destination RGB blending argument.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QBlendEquationArguments::Blending </td><td class="memItemRight bottomAlign"><span class="name"><b>destinationRgbArg</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setDestinationRgbArg</b></span>(Qt3DRender::QBlendEquationArguments::Blending <i>destinationRgbArg</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>destinationRgbArgChanged</b></span>(Qt3DRender::QBlendEquationArguments::Blending <i>destinationRgbArg</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qt3drender-qblendequationarguments.html#Blending-enum">Qt3DRender::QBlendEquationArguments::Blending</a>.</p></div>
  pub fn destination_rgb_arg(&self) -> ::qt_3d_render::blend_equation_arguments::Blending {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_destinationRgbArg(self as *const ::phong_alpha_material::PhongAlphaMaterial) }
  }

  /// C++ method: <span style='color: green;'>```QColor Qt3DExtras::QPhongAlphaMaterial::diffuse() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html#diffuse-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the diffuse color.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> QColor </td><td class="memItemRight bottomAlign"><span class="name"><b>diffuse</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setDiffuse</b></span>(const QColor &amp;<i>diffuse</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>diffuseChanged</b></span>(const QColor &amp;<i>diffuse</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn diffuse(&self) -> ::qt_gui::color::Color {
    {
      let mut object: ::qt_gui::color::Color =
        unsafe { ::cpp_utils::new_uninitialized::NewUninitialized::new_uninitialized() };
      unsafe {
        ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_diffuse_to_output(self as *const ::phong_alpha_material::PhongAlphaMaterial, &mut object);
      }
      object
    }
  }

  /// C++ method: <span style='color: green;'>```virtual const QMetaObject* Qt3DExtras::QPhongAlphaMaterial::metaObject() const```</span>
  ///
  ///
  pub fn meta_object(&self) -> *const ::qt_core::meta_object::MetaObject {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_metaObject(self as *const ::phong_alpha_material::PhongAlphaMaterial) }
  }

  /// C++ method: <span style='color: green;'>```[constructor] void Qt3DExtras::QPhongAlphaMaterial::QPhongAlphaMaterial()```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html#QPhongAlphaMaterial">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Default constructs an instance of QPhongAlphaMaterial.</p></div>
  pub fn new() -> ::cpp_utils::CppBox<::phong_alpha_material::PhongAlphaMaterial> {
    let ffi_result = unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_new_no_args() };
    unsafe { ::cpp_utils::CppBox::new(ffi_result) }
  }

  /// C++ method: <span style='color: green;'>```[constructor] void Qt3DExtras::QPhongAlphaMaterial::QPhongAlphaMaterial(Qt3DCore::QNode* parent = ?)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html#QPhongAlphaMaterial">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Default constructs an instance of QPhongAlphaMaterial.</p></div>
  pub unsafe fn new_unsafe(parent: *mut ::qt_3d_core::node::Node)
                           -> ::cpp_utils::CppBox<::phong_alpha_material::PhongAlphaMaterial> {
    let ffi_result = ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_new_parent(parent);
    ::cpp_utils::CppBox::new(ffi_result)
  }

  /// C++ method: <span style='color: green;'>```virtual int Qt3DExtras::QPhongAlphaMaterial::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)```</span>
  ///
  ///
  pub unsafe fn qt_metacall(&mut self,
                            arg1: ::qt_core::meta_object::Call,
                            arg2: ::libc::c_int,
                            arg3: *mut *mut ::libc::c_void)
                            -> ::libc::c_int {
    ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_qt_metacall(self as *mut ::phong_alpha_material::PhongAlphaMaterial, arg1, arg2, arg3)
  }

  /// C++ method: <span style='color: green;'>```virtual void* Qt3DExtras::QPhongAlphaMaterial::qt_metacast(const char* arg1)```</span>
  ///
  ///
  pub unsafe fn qt_metacast(&mut self, arg1: *const ::libc::c_char) -> *mut ::libc::c_void {
    ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_qt_metacast(self as *mut ::phong_alpha_material::PhongAlphaMaterial, arg1)
  }

  /// C++ method: <span style='color: green;'>```[slot] void Qt3DExtras::QPhongAlphaMaterial::setAlpha(float alpha)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html#alpha-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the alpha component of the object which varies between 0 and 1.</p>
  /// <p>The default value is 0.5f.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> float </td><td class="memItemRight bottomAlign"><span class="name"><b>alpha</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setAlpha</b></span>(float <i>alpha</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>alphaChanged</b></span>(float <i>alpha</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn set_alpha(&mut self, alpha: ::libc::c_float) {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_setAlpha(self as *mut ::phong_alpha_material::PhongAlphaMaterial, alpha) }
  }

  /// C++ method: <span style='color: green;'>```[slot] void Qt3DExtras::QPhongAlphaMaterial::setAmbient(const QColor& ambient)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html#ambient-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the ambient color.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> QColor </td><td class="memItemRight bottomAlign"><span class="name"><b>ambient</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setAmbient</b></span>(const QColor &amp;<i>ambient</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>ambientChanged</b></span>(const QColor &amp;<i>ambient</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn set_ambient(&mut self, ambient: &::qt_gui::color::Color) {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_setAmbient(self as *mut ::phong_alpha_material::PhongAlphaMaterial, ambient as *const ::qt_gui::color::Color) }
  }

  /// C++ method: <span style='color: green;'>```[slot] void Qt3DExtras::QPhongAlphaMaterial::setBlendFunctionArg(Qt3DRender::QBlendEquation::BlendFunction blendFunctionArg)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html#blendFunctionArg-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the blend equation function argument.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QBlendEquation::BlendFunction </td><td class="memItemRight bottomAlign"><span class="name"><b>blendFunctionArg</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setBlendFunctionArg</b></span>(Qt3DRender::QBlendEquation::BlendFunction <i>blendFunctionArg</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>blendFunctionArgChanged</b></span>(Qt3DRender::QBlendEquation::BlendFunction <i>blendFunctionArg</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qt3drender-qblendequation.html#BlendFunction-enum">Qt3DRender::QBlendEquation::BlendFunction</a>.</p></div>
  pub fn set_blend_function_arg(&mut self, blend_function_arg: ::qt_3d_render::blend_equation::BlendFunction) {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_setBlendFunctionArg(self as *mut ::phong_alpha_material::PhongAlphaMaterial, blend_function_arg) }
  }

  /// C++ method: <span style='color: green;'>```[slot] void Qt3DExtras::QPhongAlphaMaterial::setDestinationAlphaArg(Qt3DRender::QBlendEquationArguments::Blending destinationAlphaArg)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html#destinationAlphaArg-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the blend equation destination alpha blending argument.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QBlendEquationArguments::Blending </td><td class="memItemRight bottomAlign"><span class="name"><b>destinationAlphaArg</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setDestinationAlphaArg</b></span>(Qt3DRender::QBlendEquationArguments::Blending <i>destinationAlphaArg</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>destinationAlphaArgChanged</b></span>(Qt3DRender::QBlendEquationArguments::Blending <i>destinationAlphaArg</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qt3drender-qblendequationarguments.html#Blending-enum">Qt3DRender::QBlendEquationArguments::Blending</a>.</p></div>
  pub fn set_destination_alpha_arg(&mut self,
                                   destination_alpha_arg: ::qt_3d_render::blend_equation_arguments::Blending) {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_setDestinationAlphaArg(self as *mut ::phong_alpha_material::PhongAlphaMaterial, destination_alpha_arg) }
  }

  /// C++ method: <span style='color: green;'>```[slot] void Qt3DExtras::QPhongAlphaMaterial::setDestinationRgbArg(Qt3DRender::QBlendEquationArguments::Blending destinationRgbArg)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html#destinationRgbArg-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the blend equation destination RGB blending argument.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QBlendEquationArguments::Blending </td><td class="memItemRight bottomAlign"><span class="name"><b>destinationRgbArg</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setDestinationRgbArg</b></span>(Qt3DRender::QBlendEquationArguments::Blending <i>destinationRgbArg</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>destinationRgbArgChanged</b></span>(Qt3DRender::QBlendEquationArguments::Blending <i>destinationRgbArg</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qt3drender-qblendequationarguments.html#Blending-enum">Qt3DRender::QBlendEquationArguments::Blending</a>.</p></div>
  pub fn set_destination_rgb_arg(&mut self, destination_rgb_arg: ::qt_3d_render::blend_equation_arguments::Blending) {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_setDestinationRgbArg(self as *mut ::phong_alpha_material::PhongAlphaMaterial, destination_rgb_arg) }
  }

  /// C++ method: <span style='color: green;'>```[slot] void Qt3DExtras::QPhongAlphaMaterial::setDiffuse(const QColor& diffuse)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html#diffuse-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the diffuse color.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> QColor </td><td class="memItemRight bottomAlign"><span class="name"><b>diffuse</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setDiffuse</b></span>(const QColor &amp;<i>diffuse</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>diffuseChanged</b></span>(const QColor &amp;<i>diffuse</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn set_diffuse(&mut self, diffuse: &::qt_gui::color::Color) {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_setDiffuse(self as *mut ::phong_alpha_material::PhongAlphaMaterial, diffuse as *const ::qt_gui::color::Color) }
  }

  /// C++ method: <span style='color: green;'>```[slot] void Qt3DExtras::QPhongAlphaMaterial::setShininess(float shininess)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html#shininess-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the shininess exponent.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> float </td><td class="memItemRight bottomAlign"><span class="name"><b>shininess</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setShininess</b></span>(float <i>shininess</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>shininessChanged</b></span>(float <i>shininess</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn set_shininess(&mut self, shininess: ::libc::c_float) {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_setShininess(self as *mut ::phong_alpha_material::PhongAlphaMaterial, shininess) }
  }

  /// C++ method: <span style='color: green;'>```[slot] void Qt3DExtras::QPhongAlphaMaterial::setSourceAlphaArg(Qt3DRender::QBlendEquationArguments::Blending sourceAlphaArg)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html#sourceAlphaArg-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the blend equation source alpha blending argument.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QBlendEquationArguments::Blending </td><td class="memItemRight bottomAlign"><span class="name"><b>sourceAlphaArg</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setSourceAlphaArg</b></span>(Qt3DRender::QBlendEquationArguments::Blending <i>sourceAlphaArg</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>sourceAlphaArgChanged</b></span>(Qt3DRender::QBlendEquationArguments::Blending <i>sourceAlphaArg</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qt3drender-qblendequationarguments.html#Blending-enum">Qt3DRender::QBlendEquationArguments::Blending</a>.</p></div>
  pub fn set_source_alpha_arg(&mut self, source_alpha_arg: ::qt_3d_render::blend_equation_arguments::Blending) {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_setSourceAlphaArg(self as *mut ::phong_alpha_material::PhongAlphaMaterial, source_alpha_arg) }
  }

  /// C++ method: <span style='color: green;'>```[slot] void Qt3DExtras::QPhongAlphaMaterial::setSourceRgbArg(Qt3DRender::QBlendEquationArguments::Blending sourceRgbArg)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html#sourceRgbArg-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the blend equation source RGB blending argument.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QBlendEquationArguments::Blending </td><td class="memItemRight bottomAlign"><span class="name"><b>sourceRgbArg</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setSourceRgbArg</b></span>(Qt3DRender::QBlendEquationArguments::Blending <i>sourceRgbArg</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>sourceRgbArgChanged</b></span>(Qt3DRender::QBlendEquationArguments::Blending <i>sourceRgbArg</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qt3drender-qblendequationarguments.html#Blending-enum">Qt3DRender::QBlendEquationArguments::Blending</a>.</p></div>
  pub fn set_source_rgb_arg(&mut self, source_rgb_arg: ::qt_3d_render::blend_equation_arguments::Blending) {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_setSourceRgbArg(self as *mut ::phong_alpha_material::PhongAlphaMaterial, source_rgb_arg) }
  }

  /// C++ method: <span style='color: green;'>```[slot] void Qt3DExtras::QPhongAlphaMaterial::setSpecular(const QColor& specular)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html#specular-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the specular color.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> QColor </td><td class="memItemRight bottomAlign"><span class="name"><b>specular</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setSpecular</b></span>(const QColor &amp;<i>specular</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>specularChanged</b></span>(const QColor &amp;<i>specular</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn set_specular(&mut self, specular: &::qt_gui::color::Color) {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_setSpecular(self as *mut ::phong_alpha_material::PhongAlphaMaterial, specular as *const ::qt_gui::color::Color) }
  }

  /// C++ method: <span style='color: green;'>```float Qt3DExtras::QPhongAlphaMaterial::shininess() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html#shininess-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the shininess exponent.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> float </td><td class="memItemRight bottomAlign"><span class="name"><b>shininess</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setShininess</b></span>(float <i>shininess</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>shininessChanged</b></span>(float <i>shininess</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn shininess(&self) -> ::libc::c_float {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_shininess(self as *const ::phong_alpha_material::PhongAlphaMaterial) }
  }

  /// C++ method: <span style='color: green;'>```Qt3DRender::QBlendEquationArguments::Blending Qt3DExtras::QPhongAlphaMaterial::sourceAlphaArg() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html#sourceAlphaArg-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the blend equation source alpha blending argument.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QBlendEquationArguments::Blending </td><td class="memItemRight bottomAlign"><span class="name"><b>sourceAlphaArg</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setSourceAlphaArg</b></span>(Qt3DRender::QBlendEquationArguments::Blending <i>sourceAlphaArg</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>sourceAlphaArgChanged</b></span>(Qt3DRender::QBlendEquationArguments::Blending <i>sourceAlphaArg</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qt3drender-qblendequationarguments.html#Blending-enum">Qt3DRender::QBlendEquationArguments::Blending</a>.</p></div>
  pub fn source_alpha_arg(&self) -> ::qt_3d_render::blend_equation_arguments::Blending {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_sourceAlphaArg(self as *const ::phong_alpha_material::PhongAlphaMaterial) }
  }

  /// C++ method: <span style='color: green;'>```Qt3DRender::QBlendEquationArguments::Blending Qt3DExtras::QPhongAlphaMaterial::sourceRgbArg() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html#sourceRgbArg-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the blend equation source RGB blending argument.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QBlendEquationArguments::Blending </td><td class="memItemRight bottomAlign"><span class="name"><b>sourceRgbArg</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setSourceRgbArg</b></span>(Qt3DRender::QBlendEquationArguments::Blending <i>sourceRgbArg</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>sourceRgbArgChanged</b></span>(Qt3DRender::QBlendEquationArguments::Blending <i>sourceRgbArg</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>See also </b><a href="http://doc.qt.io/qt-5/qt3drender-qblendequationarguments.html#Blending-enum">Qt3DRender::QBlendEquationArguments::Blending</a>.</p></div>
  pub fn source_rgb_arg(&self) -> ::qt_3d_render::blend_equation_arguments::Blending {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_sourceRgbArg(self as *const ::phong_alpha_material::PhongAlphaMaterial) }
  }

  /// C++ method: <span style='color: green;'>```QColor Qt3DExtras::QPhongAlphaMaterial::specular() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qphongalphamaterial.html#specular-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the specular color.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> QColor </td><td class="memItemRight bottomAlign"><span class="name"><b>specular</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setSpecular</b></span>(const QColor &amp;<i>specular</i>)</td></tr>
  /// </tbody></table></div>
  /// <p><b>Notifier signal:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>specularChanged</b></span>(const QColor &amp;<i>specular</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn specular(&self) -> ::qt_gui::color::Color {
    {
      let mut object: ::qt_gui::color::Color =
        unsafe { ::cpp_utils::new_uninitialized::NewUninitialized::new_uninitialized() };
      unsafe {
        ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_specular_to_output(self as *const ::phong_alpha_material::PhongAlphaMaterial, &mut object);
      }
      object
    }
  }

  /// C++ method: <span style='color: green;'>```static QString Qt3DExtras::QPhongAlphaMaterial::tr(const char* s, const char* c, int n)```</span>
  ///
  ///
  pub unsafe fn tr(s: *const ::libc::c_char, c: *const ::libc::c_char, n: ::libc::c_int) -> ::qt_core::string::String {
    {
      let mut object: ::qt_core::string::String =
        ::cpp_utils::new_uninitialized::NewUninitialized::new_uninitialized();
      ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_tr_to_output(s, c, n, &mut object);
      object
    }
  }

  /// C++ method: <span style='color: green;'>```static QString Qt3DExtras::QPhongAlphaMaterial::trUtf8(const char* s, const char* c, int n)```</span>
  ///
  ///
  pub unsafe fn tr_utf8(s: *const ::libc::c_char,
                        c: *const ::libc::c_char,
                        n: ::libc::c_int)
                        -> ::qt_core::string::String {
    {
      let mut object: ::qt_core::string::String =
        ::cpp_utils::new_uninitialized::NewUninitialized::new_uninitialized();
      ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_trUtf8_to_output(s, c, n, &mut object);
      object
    }
  }
}

impl ::cpp_utils::CppDeletable for ::phong_alpha_material::PhongAlphaMaterial {
  fn deleter() -> ::cpp_utils::Deleter<Self> {
    ::ffi::qt_3d_extras_c_Qt3DExtras_QPhongAlphaMaterial_delete
  }
}

/// Types for accessing built-in Qt signals and slots present in this module
pub mod connection {
  use ::cpp_utils::StaticCast;
  /// Provides access to built-in Qt signals of `PhongAlphaMaterial`.
  pub struct Signals<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  /// Represents a built-in Qt signal `Qt3DExtras::QPhongAlphaMaterial::ambientChanged`.
  ///
  /// An object of this type can be created from `PhongAlphaMaterial` with `object.signals().ambient_changed()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `PhongAlphaMaterial` object.
  pub struct AmbientChanged<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  impl<'a> ::qt_core::connection::Receiver for AmbientChanged<'a> {
    type Arguments = (&'static ::qt_gui::color::Color,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2ambientChanged(const QColor&)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for AmbientChanged<'a> {}
  /// Represents a built-in Qt signal `Qt3DExtras::QPhongAlphaMaterial::shininessChanged`.
  ///
  /// An object of this type can be created from `PhongAlphaMaterial` with `object.signals().shininess_changed()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `PhongAlphaMaterial` object.
  pub struct ShininessChanged<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  impl<'a> ::qt_core::connection::Receiver for ShininessChanged<'a> {
    type Arguments = (::libc::c_float,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2shininessChanged(float)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for ShininessChanged<'a> {}
  /// Represents a built-in Qt signal `Qt3DExtras::QPhongAlphaMaterial::blendFunctionArgChanged`.
  ///
  /// An object of this type can be created from `PhongAlphaMaterial` with `object.signals().blend_function_arg_changed()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `PhongAlphaMaterial` object.
  pub struct BlendFunctionArgChanged<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  impl<'a> ::qt_core::connection::Receiver for BlendFunctionArgChanged<'a> {
    type Arguments = (::qt_3d_render::blend_equation::BlendFunction,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2blendFunctionArgChanged(Qt3DRender::QBlendEquation::BlendFunction)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for BlendFunctionArgChanged<'a> {}
  /// Represents a built-in Qt signal `Qt3DExtras::QPhongAlphaMaterial::sourceAlphaArgChanged`.
  ///
  /// An object of this type can be created from `PhongAlphaMaterial` with `object.signals().source_alpha_arg_changed()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `PhongAlphaMaterial` object.
  pub struct SourceAlphaArgChanged<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  impl<'a> ::qt_core::connection::Receiver for SourceAlphaArgChanged<'a> {
    type Arguments = (::qt_3d_render::blend_equation_arguments::Blending,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2sourceAlphaArgChanged(Qt3DRender::QBlendEquationArguments::Blending)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for SourceAlphaArgChanged<'a> {}
  /// Represents a built-in Qt signal `Qt3DExtras::QPhongAlphaMaterial::diffuseChanged`.
  ///
  /// An object of this type can be created from `PhongAlphaMaterial` with `object.signals().diffuse_changed()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `PhongAlphaMaterial` object.
  pub struct DiffuseChanged<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  impl<'a> ::qt_core::connection::Receiver for DiffuseChanged<'a> {
    type Arguments = (&'static ::qt_gui::color::Color,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2diffuseChanged(const QColor&)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for DiffuseChanged<'a> {}
  /// Represents a built-in Qt signal `Qt3DExtras::QPhongAlphaMaterial::destinationRgbArgChanged`.
  ///
  /// An object of this type can be created from `PhongAlphaMaterial` with `object.signals().destination_rgb_arg_changed()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `PhongAlphaMaterial` object.
  pub struct DestinationRgbArgChanged<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  impl<'a> ::qt_core::connection::Receiver for DestinationRgbArgChanged<'a> {
    type Arguments = (::qt_3d_render::blend_equation_arguments::Blending,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2destinationRgbArgChanged(Qt3DRender::QBlendEquationArguments::Blending)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for DestinationRgbArgChanged<'a> {}
  /// Represents a built-in Qt signal `Qt3DExtras::QPhongAlphaMaterial::sourceRgbArgChanged`.
  ///
  /// An object of this type can be created from `PhongAlphaMaterial` with `object.signals().source_rgb_arg_changed()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `PhongAlphaMaterial` object.
  pub struct SourceRgbArgChanged<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  impl<'a> ::qt_core::connection::Receiver for SourceRgbArgChanged<'a> {
    type Arguments = (::qt_3d_render::blend_equation_arguments::Blending,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2sourceRgbArgChanged(Qt3DRender::QBlendEquationArguments::Blending)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for SourceRgbArgChanged<'a> {}
  /// Represents a built-in Qt signal `Qt3DExtras::QPhongAlphaMaterial::effectChanged`.
  ///
  /// An object of this type can be created from `PhongAlphaMaterial` with `object.signals().effect_changed()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `PhongAlphaMaterial` object.
  pub struct EffectChanged<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  impl<'a> ::qt_core::connection::Receiver for EffectChanged<'a> {
    type Arguments = (*mut ::qt_3d_render::effect::Effect,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2effectChanged(Qt3DRender::QEffect*)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for EffectChanged<'a> {}
  /// Represents a built-in Qt signal `Qt3DExtras::QPhongAlphaMaterial::alphaChanged`.
  ///
  /// An object of this type can be created from `PhongAlphaMaterial` with `object.signals().alpha_changed()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `PhongAlphaMaterial` object.
  pub struct AlphaChanged<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  impl<'a> ::qt_core::connection::Receiver for AlphaChanged<'a> {
    type Arguments = (::libc::c_float,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2alphaChanged(float)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for AlphaChanged<'a> {}
  /// Represents a built-in Qt signal `Qt3DExtras::QPhongAlphaMaterial::destinationAlphaArgChanged`.
  ///
  /// An object of this type can be created from `PhongAlphaMaterial` with `object.signals().destination_alpha_arg_changed()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `PhongAlphaMaterial` object.
  pub struct DestinationAlphaArgChanged<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  impl<'a> ::qt_core::connection::Receiver for DestinationAlphaArgChanged<'a> {
    type Arguments = (::qt_3d_render::blend_equation_arguments::Blending,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2destinationAlphaArgChanged(Qt3DRender::QBlendEquationArguments::Blending)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for DestinationAlphaArgChanged<'a> {}
  /// Represents a built-in Qt signal `Qt3DExtras::QPhongAlphaMaterial::specularChanged`.
  ///
  /// An object of this type can be created from `PhongAlphaMaterial` with `object.signals().specular_changed()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `PhongAlphaMaterial` object.
  pub struct SpecularChanged<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  impl<'a> ::qt_core::connection::Receiver for SpecularChanged<'a> {
    type Arguments = (&'static ::qt_gui::color::Color,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2specularChanged(const QColor&)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for SpecularChanged<'a> {}
  impl<'a> Signals<'a> {
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QPhongAlphaMaterial::ambientChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn ambient_changed(&self) -> AmbientChanged {
      AmbientChanged(self.0)
    }
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QPhongAlphaMaterial::shininessChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn shininess_changed(&self) -> ShininessChanged {
      ShininessChanged(self.0)
    }
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QPhongAlphaMaterial::blendFunctionArgChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn blend_function_arg_changed(&self) -> BlendFunctionArgChanged {
      BlendFunctionArgChanged(self.0)
    }
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QPhongAlphaMaterial::sourceAlphaArgChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn source_alpha_arg_changed(&self) -> SourceAlphaArgChanged {
      SourceAlphaArgChanged(self.0)
    }
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QPhongAlphaMaterial::diffuseChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn diffuse_changed(&self) -> DiffuseChanged {
      DiffuseChanged(self.0)
    }
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QPhongAlphaMaterial::destinationRgbArgChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn destination_rgb_arg_changed(&self) -> DestinationRgbArgChanged {
      DestinationRgbArgChanged(self.0)
    }
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QPhongAlphaMaterial::sourceRgbArgChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn source_rgb_arg_changed(&self) -> SourceRgbArgChanged {
      SourceRgbArgChanged(self.0)
    }
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QPhongAlphaMaterial::effectChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn effect_changed(&self) -> EffectChanged {
      EffectChanged(self.0)
    }
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QPhongAlphaMaterial::alphaChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn alpha_changed(&self) -> AlphaChanged {
      AlphaChanged(self.0)
    }
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QPhongAlphaMaterial::destinationAlphaArgChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn destination_alpha_arg_changed(&self) -> DestinationAlphaArgChanged {
      DestinationAlphaArgChanged(self.0)
    }
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QPhongAlphaMaterial::specularChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn specular_changed(&self) -> SpecularChanged {
      SpecularChanged(self.0)
    }
  }
  /// Provides access to built-in Qt slots of `PhongAlphaMaterial`.
  pub struct Slots<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  /// Represents a built-in Qt slot `Qt3DExtras::QPhongAlphaMaterial::setDiffuse`.
  ///
  /// An object of this type can be created from `PhongAlphaMaterial` with `object.slots().set_diffuse()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `PhongAlphaMaterial` object.
  pub struct SetDiffuse<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  impl<'a> ::qt_core::connection::Receiver for SetDiffuse<'a> {
    type Arguments = (&'static ::qt_gui::color::Color,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setDiffuse(const QColor&)\0"
    }
  }
  /// Represents a built-in Qt slot `Qt3DExtras::QPhongAlphaMaterial::setSourceAlphaArg`.
  ///
  /// An object of this type can be created from `PhongAlphaMaterial` with `object.slots().set_source_alpha_arg()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `PhongAlphaMaterial` object.
  pub struct SetSourceAlphaArg<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  impl<'a> ::qt_core::connection::Receiver for SetSourceAlphaArg<'a> {
    type Arguments = (::qt_3d_render::blend_equation_arguments::Blending,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setSourceAlphaArg(Qt3DRender::QBlendEquationArguments::Blending)\0"
    }
  }
  /// Represents a built-in Qt slot `Qt3DExtras::QPhongAlphaMaterial::setShininess`.
  ///
  /// An object of this type can be created from `PhongAlphaMaterial` with `object.slots().set_shininess()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `PhongAlphaMaterial` object.
  pub struct SetShininess<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  impl<'a> ::qt_core::connection::Receiver for SetShininess<'a> {
    type Arguments = (::libc::c_float,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setShininess(float)\0"
    }
  }
  /// Represents a built-in Qt slot `Qt3DExtras::QPhongAlphaMaterial::setBlendFunctionArg`.
  ///
  /// An object of this type can be created from `PhongAlphaMaterial` with `object.slots().set_blend_function_arg()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `PhongAlphaMaterial` object.
  pub struct SetBlendFunctionArg<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  impl<'a> ::qt_core::connection::Receiver for SetBlendFunctionArg<'a> {
    type Arguments = (::qt_3d_render::blend_equation::BlendFunction,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setBlendFunctionArg(Qt3DRender::QBlendEquation::BlendFunction)\0"
    }
  }
  /// Represents a built-in Qt slot `Qt3DExtras::QPhongAlphaMaterial::setAmbient`.
  ///
  /// An object of this type can be created from `PhongAlphaMaterial` with `object.slots().set_ambient()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `PhongAlphaMaterial` object.
  pub struct SetAmbient<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  impl<'a> ::qt_core::connection::Receiver for SetAmbient<'a> {
    type Arguments = (&'static ::qt_gui::color::Color,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setAmbient(const QColor&)\0"
    }
  }
  /// Represents a built-in Qt slot `Qt3DExtras::QPhongAlphaMaterial::setEffect`.
  ///
  /// An object of this type can be created from `PhongAlphaMaterial` with `object.slots().set_effect()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `PhongAlphaMaterial` object.
  pub struct SetEffect<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  impl<'a> ::qt_core::connection::Receiver for SetEffect<'a> {
    type Arguments = (*mut ::qt_3d_render::effect::Effect,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setEffect(Qt3DRender::QEffect*)\0"
    }
  }
  /// Represents a built-in Qt slot `Qt3DExtras::QPhongAlphaMaterial::setDestinationRgbArg`.
  ///
  /// An object of this type can be created from `PhongAlphaMaterial` with `object.slots().set_destination_rgb_arg()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `PhongAlphaMaterial` object.
  pub struct SetDestinationRgbArg<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  impl<'a> ::qt_core::connection::Receiver for SetDestinationRgbArg<'a> {
    type Arguments = (::qt_3d_render::blend_equation_arguments::Blending,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setDestinationRgbArg(Qt3DRender::QBlendEquationArguments::Blending)\0"
    }
  }
  /// Represents a built-in Qt slot `Qt3DExtras::QPhongAlphaMaterial::setAlpha`.
  ///
  /// An object of this type can be created from `PhongAlphaMaterial` with `object.slots().set_alpha()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `PhongAlphaMaterial` object.
  pub struct SetAlpha<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  impl<'a> ::qt_core::connection::Receiver for SetAlpha<'a> {
    type Arguments = (::libc::c_float,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setAlpha(float)\0"
    }
  }
  /// Represents a built-in Qt slot `Qt3DExtras::QPhongAlphaMaterial::setDestinationAlphaArg`.
  ///
  /// An object of this type can be created from `PhongAlphaMaterial` with `object.slots().set_destination_alpha_arg()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `PhongAlphaMaterial` object.
  pub struct SetDestinationAlphaArg<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  impl<'a> ::qt_core::connection::Receiver for SetDestinationAlphaArg<'a> {
    type Arguments = (::qt_3d_render::blend_equation_arguments::Blending,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setDestinationAlphaArg(Qt3DRender::QBlendEquationArguments::Blending)\0"
    }
  }
  /// Represents a built-in Qt slot `Qt3DExtras::QPhongAlphaMaterial::setSpecular`.
  ///
  /// An object of this type can be created from `PhongAlphaMaterial` with `object.slots().set_specular()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `PhongAlphaMaterial` object.
  pub struct SetSpecular<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  impl<'a> ::qt_core::connection::Receiver for SetSpecular<'a> {
    type Arguments = (&'static ::qt_gui::color::Color,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setSpecular(const QColor&)\0"
    }
  }
  /// Represents a built-in Qt slot `Qt3DExtras::QPhongAlphaMaterial::setSourceRgbArg`.
  ///
  /// An object of this type can be created from `PhongAlphaMaterial` with `object.slots().set_source_rgb_arg()` and used for creating Qt connections using `qt_core::connection` API. After the connection is made, the object can (should) be dropped. The connection will remain active until sender or receiver are destroyed or until a manual disconnection is made.
  ///
  /// An object of this type contains a reference to the original `PhongAlphaMaterial` object.
  pub struct SetSourceRgbArg<'a>(&'a ::phong_alpha_material::PhongAlphaMaterial);
  impl<'a> ::qt_core::connection::Receiver for SetSourceRgbArg<'a> {
    type Arguments = (::qt_3d_render::blend_equation_arguments::Blending,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setSourceRgbArg(Qt3DRender::QBlendEquationArguments::Blending)\0"
    }
  }
  impl<'a> Slots<'a> {
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QPhongAlphaMaterial::setDiffuse`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_diffuse(&self) -> SetDiffuse {
      SetDiffuse(self.0)
    }
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QPhongAlphaMaterial::setSourceAlphaArg`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_source_alpha_arg(&self) -> SetSourceAlphaArg {
      SetSourceAlphaArg(self.0)
    }
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QPhongAlphaMaterial::setShininess`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_shininess(&self) -> SetShininess {
      SetShininess(self.0)
    }
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QPhongAlphaMaterial::setBlendFunctionArg`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_blend_function_arg(&self) -> SetBlendFunctionArg {
      SetBlendFunctionArg(self.0)
    }
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QPhongAlphaMaterial::setAmbient`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_ambient(&self) -> SetAmbient {
      SetAmbient(self.0)
    }
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QPhongAlphaMaterial::setEffect`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_effect(&self) -> SetEffect {
      SetEffect(self.0)
    }
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QPhongAlphaMaterial::setDestinationRgbArg`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_destination_rgb_arg(&self) -> SetDestinationRgbArg {
      SetDestinationRgbArg(self.0)
    }
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QPhongAlphaMaterial::setAlpha`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_alpha(&self) -> SetAlpha {
      SetAlpha(self.0)
    }
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QPhongAlphaMaterial::setDestinationAlphaArg`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_destination_alpha_arg(&self) -> SetDestinationAlphaArg {
      SetDestinationAlphaArg(self.0)
    }
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QPhongAlphaMaterial::setSpecular`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_specular(&self) -> SetSpecular {
      SetSpecular(self.0)
    }
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QPhongAlphaMaterial::setSourceRgbArg`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_source_rgb_arg(&self) -> SetSourceRgbArg {
      SetSourceRgbArg(self.0)
    }
  }
  impl ::phong_alpha_material::PhongAlphaMaterial {
    /// Provides access to built-in Qt signals of this type
    pub fn signals(&self) -> Signals {
      Signals(self)
    }
    /// Provides access to built-in Qt slots of this type
    pub fn slots(&self) -> Slots {
      Slots(self)
    }
  }

}

impl ::cpp_utils::StaticCast<::qt_3d_core::component::Component> for ::phong_alpha_material::PhongAlphaMaterial {
  fn static_cast_mut(&mut self) -> &mut ::qt_3d_core::component::Component {
    let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QPhongAlphaMaterial_G_static_cast_Qt3DCore_QComponent_ptr(self as *mut ::phong_alpha_material::PhongAlphaMaterial) };
    unsafe { ffi_result.as_mut() }.expect("Attempted to convert null pointer to reference")
  }

  fn static_cast(&self) -> &::qt_3d_core::component::Component {
    let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QPhongAlphaMaterial_G_static_cast_Qt3DCore_QComponent_ptr(self as *const ::phong_alpha_material::PhongAlphaMaterial as *mut ::phong_alpha_material::PhongAlphaMaterial) };
    unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")
  }
}

impl ::cpp_utils::StaticCast<::qt_3d_core::node::Node> for ::phong_alpha_material::PhongAlphaMaterial {
  fn static_cast_mut(&mut self) -> &mut ::qt_3d_core::node::Node {
    let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QPhongAlphaMaterial_G_static_cast_Qt3DCore_QNode_ptr(self as *mut ::phong_alpha_material::PhongAlphaMaterial) };
    unsafe { ffi_result.as_mut() }.expect("Attempted to convert null pointer to reference")
  }

  fn static_cast(&self) -> &::qt_3d_core::node::Node {
    let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QPhongAlphaMaterial_G_static_cast_Qt3DCore_QNode_ptr(self as *const ::phong_alpha_material::PhongAlphaMaterial as *mut ::phong_alpha_material::PhongAlphaMaterial) };
    unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")
  }
}

impl ::cpp_utils::StaticCast<::qt_3d_render::material::Material> for ::phong_alpha_material::PhongAlphaMaterial {
  fn static_cast_mut(&mut self) -> &mut ::qt_3d_render::material::Material {
    let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QPhongAlphaMaterial_G_static_cast_Qt3DRender_QMaterial_ptr(self as *mut ::phong_alpha_material::PhongAlphaMaterial) };
    unsafe { ffi_result.as_mut() }.expect("Attempted to convert null pointer to reference")
  }

  fn static_cast(&self) -> &::qt_3d_render::material::Material {
    let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QPhongAlphaMaterial_G_static_cast_Qt3DRender_QMaterial_ptr(self as *const ::phong_alpha_material::PhongAlphaMaterial as *mut ::phong_alpha_material::PhongAlphaMaterial) };
    unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")
  }
}

impl ::cpp_utils::StaticCast<::qt_core::object::Object> for ::phong_alpha_material::PhongAlphaMaterial {
  fn static_cast_mut(&mut self) -> &mut ::qt_core::object::Object {
    let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QPhongAlphaMaterial_G_static_cast_QObject_ptr(self as *mut ::phong_alpha_material::PhongAlphaMaterial) };
    unsafe { ffi_result.as_mut() }.expect("Attempted to convert null pointer to reference")
  }

  fn static_cast(&self) -> &::qt_core::object::Object {
    let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QPhongAlphaMaterial_G_static_cast_QObject_ptr(self as *const ::phong_alpha_material::PhongAlphaMaterial as *mut ::phong_alpha_material::PhongAlphaMaterial) };
    unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")
  }
}

impl ::cpp_utils::UnsafeStaticCast<::phong_alpha_material::PhongAlphaMaterial> for ::qt_core::object::Object {
  unsafe fn static_cast_mut(&mut self) -> &mut ::phong_alpha_material::PhongAlphaMaterial {
    let ffi_result = ::ffi::qt_3d_extras_c_QPhongAlphaMaterial_G_static_cast_Qt3DExtras_QPhongAlphaMaterial_ptr_QObject(self as *mut ::qt_core::object::Object);
    ffi_result.as_mut().expect("Attempted to convert null pointer to reference")
  }

  unsafe fn static_cast(&self) -> &::phong_alpha_material::PhongAlphaMaterial {
    let ffi_result = ::ffi::qt_3d_extras_c_QPhongAlphaMaterial_G_static_cast_Qt3DExtras_QPhongAlphaMaterial_ptr_QObject(self as *const ::qt_core::object::Object as *mut ::qt_core::object::Object);
    ffi_result.as_ref().expect("Attempted to convert null pointer to reference")
  }
}

impl ::cpp_utils::UnsafeStaticCast<::phong_alpha_material::PhongAlphaMaterial> for ::qt_3d_core::component::Component {
unsafe fn static_cast_mut(&mut self) -> &mut ::phong_alpha_material::PhongAlphaMaterial {
let ffi_result = ::ffi::qt_3d_extras_c_QPhongAlphaMaterial_G_static_cast_Qt3DExtras_QPhongAlphaMaterial_ptr_Qt3DCore_QComponent(self as *mut ::qt_3d_core::component::Component);
ffi_result.as_mut().expect("Attempted to convert null pointer to reference")}

unsafe fn static_cast(&self) -> &::phong_alpha_material::PhongAlphaMaterial {
let ffi_result = ::ffi::qt_3d_extras_c_QPhongAlphaMaterial_G_static_cast_Qt3DExtras_QPhongAlphaMaterial_ptr_Qt3DCore_QComponent(self as *const ::qt_3d_core::component::Component as *mut ::qt_3d_core::component::Component);
ffi_result.as_ref().expect("Attempted to convert null pointer to reference")}

}

impl ::cpp_utils::UnsafeStaticCast<::phong_alpha_material::PhongAlphaMaterial> for ::qt_3d_core::node::Node {
  unsafe fn static_cast_mut(&mut self) -> &mut ::phong_alpha_material::PhongAlphaMaterial {
    let ffi_result = ::ffi::qt_3d_extras_c_QPhongAlphaMaterial_G_static_cast_Qt3DExtras_QPhongAlphaMaterial_ptr_Qt3DCore_QNode(self as *mut ::qt_3d_core::node::Node);
    ffi_result.as_mut().expect("Attempted to convert null pointer to reference")
  }

  unsafe fn static_cast(&self) -> &::phong_alpha_material::PhongAlphaMaterial {
    let ffi_result = ::ffi::qt_3d_extras_c_QPhongAlphaMaterial_G_static_cast_Qt3DExtras_QPhongAlphaMaterial_ptr_Qt3DCore_QNode(self as *const ::qt_3d_core::node::Node as *mut ::qt_3d_core::node::Node);
    ffi_result.as_ref().expect("Attempted to convert null pointer to reference")
  }
}

impl ::cpp_utils::UnsafeStaticCast<::phong_alpha_material::PhongAlphaMaterial> for ::qt_3d_render::material::Material {
unsafe fn static_cast_mut(&mut self) -> &mut ::phong_alpha_material::PhongAlphaMaterial {
let ffi_result = ::ffi::qt_3d_extras_c_QPhongAlphaMaterial_G_static_cast_Qt3DExtras_QPhongAlphaMaterial_ptr_Qt3DRender_QMaterial(self as *mut ::qt_3d_render::material::Material);
ffi_result.as_mut().expect("Attempted to convert null pointer to reference")}

unsafe fn static_cast(&self) -> &::phong_alpha_material::PhongAlphaMaterial {
let ffi_result = ::ffi::qt_3d_extras_c_QPhongAlphaMaterial_G_static_cast_Qt3DExtras_QPhongAlphaMaterial_ptr_Qt3DRender_QMaterial(self as *const ::qt_3d_render::material::Material as *mut ::qt_3d_render::material::Material);
ffi_result.as_ref().expect("Attempted to convert null pointer to reference")}

}

impl ::std::ops::Deref for ::phong_alpha_material::PhongAlphaMaterial {
  type Target = ::qt_3d_render::material::Material;
  fn deref(&self) -> &::qt_3d_render::material::Material {
    let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QPhongAlphaMaterial_G_static_cast_Qt3DRender_QMaterial_ptr(self as *const ::phong_alpha_material::PhongAlphaMaterial as *mut ::phong_alpha_material::PhongAlphaMaterial) };
    unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")
  }
}

impl ::std::ops::DerefMut for ::phong_alpha_material::PhongAlphaMaterial {
  fn deref_mut(&mut self) -> &mut ::qt_3d_render::material::Material {
    let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QPhongAlphaMaterial_G_static_cast_Qt3DRender_QMaterial_ptr(self as *mut ::phong_alpha_material::PhongAlphaMaterial) };
    unsafe { ffi_result.as_mut() }.expect("Attempted to convert null pointer to reference")
  }
}