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
/// C++ type: <span style='color: green;'>```Qt3DExtras::QForwardRenderer```</span>
///
/// <a href="http://doc.qt.io/qt-5/qt3dextras-qforwardrenderer.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-qforwardrenderer.html">QForwardRenderer</a> provides a default <a href="http://doc.qt.io/qt-5/qt3drender-framegraph.html">FrameGraph</a> implementation of a forward renderer.</p>
/// <p>Forward rendering is what OpenGL traditionally uses. It renders directly to the backbuffer one object at a time shading each one as it goes.</p>
/// <p><a href="http://doc.qt.io/qt-5/qt3dextras-qforwardrenderer.html">QForwardRenderer</a> is a single leaf <a href="http://doc.qt.io/qt-5/qt3drender-framegraph.html">FrameGraph</a> tree which contains a <a href="http://doc.qt.io/qt-5/qt3drender-qviewport.html">Qt3DRender::QViewport</a>, a <a href="http://doc.qt.io/qt-5/qt3drender-qcameraselector.html">Qt3DRender::QCameraSelector</a>, and a <a href="http://doc.qt.io/qt-5/qt3drender-qclearbuffers.html">Qt3DRender::QClearBuffers</a>. The <a href="http://doc.qt.io/qt-5/qt3dextras-qforwardrenderer.html">QForwardRenderer</a> has a default requirement filter key whose name is "renderingStyle" and value "forward". If you need to filter out your techniques, you should do so based on that filter key.</p>
/// <p>By default the viewport occupies the whole screen and the clear color is white. Frustum culling is also enabled.</p></div>
#[repr(C)]
pub struct ForwardRenderer(u8);

impl ForwardRenderer {
  /// C++ method: <span style='color: green;'>```Qt3DCore::QEntity* Qt3DExtras::QForwardRenderer::camera() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qforwardrenderer.html#camera-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the current camera entity used to render the scene.</p>
  /// <p><b>Note: </b>A camera is a QEntity that has a QCameraLens as one of its components.</p><p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> Qt3DCore::QEntity *</td><td class="memItemRight bottomAlign"><span class="name"><b>camera</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setCamera</b></span>(Qt3DCore::QEntity *<i>camera</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>cameraChanged</b></span>(Qt3DCore::QEntity *<i>camera</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn camera(&self) -> *mut ::qt_3d_core::entity::Entity {
    unsafe {
      ::ffi::qt_3d_extras_c_Qt3DExtras_QForwardRenderer_camera(self as *const ::forward_renderer::ForwardRenderer)
    }
  }

  /// C++ method: <span style='color: green;'>```QColor Qt3DExtras::QForwardRenderer::clearColor() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qforwardrenderer.html#clearColor-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the current clear color of the scene. The frame buffer is initialized to the clear color before rendering.</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>clearColor</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setClearColor</b></span>(const QColor &amp;<i>clearColor</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>clearColorChanged</b></span>(const QColor &amp;<i>clearColor</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn clear_color(&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_QForwardRenderer_clearColor_to_output(self as *const ::forward_renderer::ForwardRenderer, &mut object);
      }
      object
    }
  }

  /// C++ method: <span style='color: green;'>```QSize Qt3DExtras::QForwardRenderer::externalRenderTargetSize() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qforwardrenderer.html#externalRenderTargetSize-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> QSize </td><td class="memItemRight bottomAlign"><span class="name"><b>externalRenderTargetSize</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setExternalRenderTargetSize</b></span>(const QSize &amp;<i>size</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>externalRenderTargetSizeChanged</b></span>(const QSize &amp;<i>size</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn external_render_target_size(&self) -> ::qt_core::size::Size {
    {
      let mut object: ::qt_core::size::Size =
        unsafe { ::cpp_utils::new_uninitialized::NewUninitialized::new_uninitialized() };
      unsafe {
        ::ffi::qt_3d_extras_c_Qt3DExtras_QForwardRenderer_externalRenderTargetSize_to_output(self as *const ::forward_renderer::ForwardRenderer, &mut object);
      }
      object
    }
  }

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

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

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

  /// C++ method: <span style='color: green;'>```virtual int Qt3DExtras::QForwardRenderer::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_QForwardRenderer_qt_metacall(self as *mut ::forward_renderer::ForwardRenderer,
                                                                  arg1,
                                                                  arg2,
                                                                  arg3)
  }

  /// C++ method: <span style='color: green;'>```virtual void* Qt3DExtras::QForwardRenderer::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_QForwardRenderer_qt_metacast(self as *mut ::forward_renderer::ForwardRenderer,
                                                                  arg1)
  }

  /// C++ method: <span style='color: green;'>```[slot] void Qt3DExtras::QForwardRenderer::setCamera(Qt3DCore::QEntity* camera)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qforwardrenderer.html#camera-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the current camera entity used to render the scene.</p>
  /// <p><b>Note: </b>A camera is a QEntity that has a QCameraLens as one of its components.</p><p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> Qt3DCore::QEntity *</td><td class="memItemRight bottomAlign"><span class="name"><b>camera</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setCamera</b></span>(Qt3DCore::QEntity *<i>camera</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>cameraChanged</b></span>(Qt3DCore::QEntity *<i>camera</i>)</td></tr>
  /// </tbody></table></div></div>
  pub unsafe fn set_camera(&mut self, camera: *mut ::qt_3d_core::entity::Entity) {
    ::ffi::qt_3d_extras_c_Qt3DExtras_QForwardRenderer_setCamera(self as *mut ::forward_renderer::ForwardRenderer,
                                                                camera)
  }

  /// C++ method: <span style='color: green;'>```[slot] void Qt3DExtras::QForwardRenderer::setClearColor(const QColor& clearColor)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qforwardrenderer.html#clearColor-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the current clear color of the scene. The frame buffer is initialized to the clear color before rendering.</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>clearColor</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setClearColor</b></span>(const QColor &amp;<i>clearColor</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>clearColorChanged</b></span>(const QColor &amp;<i>clearColor</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn set_clear_color(&mut self, clear_color: &::qt_gui::color::Color) {
    unsafe {
      ::ffi::qt_3d_extras_c_Qt3DExtras_QForwardRenderer_setClearColor(self as *mut ::forward_renderer::ForwardRenderer, clear_color as *const ::qt_gui::color::Color)
    }
  }

  /// C++ method: <span style='color: green;'>```[slot] void Qt3DExtras::QForwardRenderer::setExternalRenderTargetSize(const QSize& size)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qforwardrenderer.html#externalRenderTargetSize-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> QSize </td><td class="memItemRight bottomAlign"><span class="name"><b>externalRenderTargetSize</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setExternalRenderTargetSize</b></span>(const QSize &amp;<i>size</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>externalRenderTargetSizeChanged</b></span>(const QSize &amp;<i>size</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn set_external_render_target_size(&mut self, size: &::qt_core::size::Size) {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QForwardRenderer_setExternalRenderTargetSize(self as *mut ::forward_renderer::ForwardRenderer, size as *const ::qt_core::size::Size) }
  }

  /// C++ method: <span style='color: green;'>```[slot] void Qt3DExtras::QForwardRenderer::setSurface(QObject* surface)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qforwardrenderer.html#surface-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the current render surface.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> QObject *</td><td class="memItemRight bottomAlign"><span class="name"><b>surface</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setSurface</b></span>(QObject *<i>surface</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>surfaceChanged</b></span>(QObject *<i>surface</i>)</td></tr>
  /// </tbody></table></div></div>
  pub unsafe fn set_surface(&mut self, surface: *mut ::qt_core::object::Object) {
    ::ffi::qt_3d_extras_c_Qt3DExtras_QForwardRenderer_setSurface(self as *mut ::forward_renderer::ForwardRenderer,
                                                                 surface)
  }

  /// C++ method: <span style='color: green;'>```[slot] void Qt3DExtras::QForwardRenderer::setViewportRect(const QRectF& viewportRect)```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qforwardrenderer.html#viewportRect-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the current normalized viewport rectangle.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> QRectF </td><td class="memItemRight bottomAlign"><span class="name"><b>viewportRect</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setViewportRect</b></span>(const QRectF &amp;<i>viewportRect</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>viewportRectChanged</b></span>(const QRectF &amp;<i>viewportRect</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn set_viewport_rect(&mut self, viewport_rect: &::qt_core::rect_f::RectF) {
    unsafe { ::ffi::qt_3d_extras_c_Qt3DExtras_QForwardRenderer_setViewportRect(self as *mut ::forward_renderer::ForwardRenderer, viewport_rect as *const ::qt_core::rect_f::RectF) }
  }

  /// C++ method: <span style='color: green;'>```QObject* Qt3DExtras::QForwardRenderer::surface() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qforwardrenderer.html#surface-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the current render surface.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> QObject *</td><td class="memItemRight bottomAlign"><span class="name"><b>surface</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setSurface</b></span>(QObject *<i>surface</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>surfaceChanged</b></span>(QObject *<i>surface</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn surface(&self) -> *mut ::qt_core::object::Object {
    unsafe {
      ::ffi::qt_3d_extras_c_Qt3DExtras_QForwardRenderer_surface(self as *const ::forward_renderer::ForwardRenderer)
    }
  }

  /// C++ method: <span style='color: green;'>```static QString Qt3DExtras::QForwardRenderer::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_QForwardRenderer_tr_to_output(s, c, n, &mut object);
      object
    }
  }

  /// C++ method: <span style='color: green;'>```static QString Qt3DExtras::QForwardRenderer::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_QForwardRenderer_trUtf8_to_output(s, c, n, &mut object);
      object
    }
  }

  /// C++ method: <span style='color: green;'>```QRectF Qt3DExtras::QForwardRenderer::viewportRect() const```</span>
  ///
  /// <a href="http://doc.qt.io/qt-5/qt3dextras-qforwardrenderer.html#viewportRect-prop">C++ documentation:</a> <div style='border: 1px solid #5CFF95; background: #D6FFE4; padding: 16px;'><p>Holds the current normalized viewport rectangle.</p>
  /// <p><b>Access functions:</b></p>
  /// <div class="table"><table class="alignedsummary">
  /// <tbody><tr><td class="memItemLeft topAlign rightAlign"> QRectF </td><td class="memItemRight bottomAlign"><span class="name"><b>viewportRect</b></span>() const</td></tr>
  /// <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setViewportRect</b></span>(const QRectF &amp;<i>viewportRect</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>viewportRectChanged</b></span>(const QRectF &amp;<i>viewportRect</i>)</td></tr>
  /// </tbody></table></div></div>
  pub fn viewport_rect(&self) -> ::qt_core::rect_f::RectF {
    {
      let mut object: ::qt_core::rect_f::RectF =
        unsafe { ::cpp_utils::new_uninitialized::NewUninitialized::new_uninitialized() };
      unsafe {
        ::ffi::qt_3d_extras_c_Qt3DExtras_QForwardRenderer_viewportRect_to_output(self as *const ::forward_renderer::ForwardRenderer, &mut object);
      }
      object
    }
  }
}

impl ::cpp_utils::CppDeletable for ::forward_renderer::ForwardRenderer {
  fn deleter() -> ::cpp_utils::Deleter<Self> {
    ::ffi::qt_3d_extras_c_Qt3DExtras_QForwardRenderer_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 `ForwardRenderer`.
  pub struct Signals<'a>(&'a ::forward_renderer::ForwardRenderer);
  /// Represents a built-in Qt signal `Qt3DExtras::QForwardRenderer::externalRenderTargetSizeChanged`.
  ///
  /// An object of this type can be created from `ForwardRenderer` with `object.signals().external_render_target_size_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 `ForwardRenderer` object.
  pub struct ExternalRenderTargetSizeChanged<'a>(&'a ::forward_renderer::ForwardRenderer);
  impl<'a> ::qt_core::connection::Receiver for ExternalRenderTargetSizeChanged<'a> {
    type Arguments = (&'static ::qt_core::size::Size,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2externalRenderTargetSizeChanged(const QSize&)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for ExternalRenderTargetSizeChanged<'a> {}
  /// Represents a built-in Qt signal `Qt3DExtras::QForwardRenderer::cameraChanged`.
  ///
  /// An object of this type can be created from `ForwardRenderer` with `object.signals().camera_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 `ForwardRenderer` object.
  pub struct CameraChanged<'a>(&'a ::forward_renderer::ForwardRenderer);
  impl<'a> ::qt_core::connection::Receiver for CameraChanged<'a> {
    type Arguments = (*mut ::qt_3d_core::entity::Entity,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2cameraChanged(Qt3DCore::QEntity*)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for CameraChanged<'a> {}
  /// Represents a built-in Qt signal `Qt3DExtras::QForwardRenderer::viewportRectChanged`.
  ///
  /// An object of this type can be created from `ForwardRenderer` with `object.signals().viewport_rect_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 `ForwardRenderer` object.
  pub struct ViewportRectChanged<'a>(&'a ::forward_renderer::ForwardRenderer);
  impl<'a> ::qt_core::connection::Receiver for ViewportRectChanged<'a> {
    type Arguments = (&'static ::qt_core::rect_f::RectF,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2viewportRectChanged(const QRectF&)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for ViewportRectChanged<'a> {}
  /// Represents a built-in Qt signal `Qt3DExtras::QForwardRenderer::surfaceChanged`.
  ///
  /// An object of this type can be created from `ForwardRenderer` with `object.signals().surface_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 `ForwardRenderer` object.
  pub struct SurfaceChanged<'a>(&'a ::forward_renderer::ForwardRenderer);
  impl<'a> ::qt_core::connection::Receiver for SurfaceChanged<'a> {
    type Arguments = (*mut ::qt_core::object::Object,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"2surfaceChanged(QObject*)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for SurfaceChanged<'a> {}
  /// Represents a built-in Qt signal `Qt3DExtras::QForwardRenderer::clearColorChanged`.
  ///
  /// An object of this type can be created from `ForwardRenderer` with `object.signals().clear_color_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 `ForwardRenderer` object.
  pub struct ClearColorChanged<'a>(&'a ::forward_renderer::ForwardRenderer);
  impl<'a> ::qt_core::connection::Receiver for ClearColorChanged<'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"2clearColorChanged(const QColor&)\0"
    }
  }
  impl<'a> ::qt_core::connection::Signal for ClearColorChanged<'a> {}
  impl<'a> Signals<'a> {
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QForwardRenderer::externalRenderTargetSizeChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn external_render_target_size_changed(&self) -> ExternalRenderTargetSizeChanged {
      ExternalRenderTargetSizeChanged(self.0)
    }
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QForwardRenderer::cameraChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn camera_changed(&self) -> CameraChanged {
      CameraChanged(self.0)
    }
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QForwardRenderer::viewportRectChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn viewport_rect_changed(&self) -> ViewportRectChanged {
      ViewportRectChanged(self.0)
    }
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QForwardRenderer::surfaceChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn surface_changed(&self) -> SurfaceChanged {
      SurfaceChanged(self.0)
    }
    /// Returns an object representing a built-in Qt signal `Qt3DExtras::QForwardRenderer::clearColorChanged`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn clear_color_changed(&self) -> ClearColorChanged {
      ClearColorChanged(self.0)
    }
  }
  /// Provides access to built-in Qt slots of `ForwardRenderer`.
  pub struct Slots<'a>(&'a ::forward_renderer::ForwardRenderer);
  /// Represents a built-in Qt slot `Qt3DExtras::QForwardRenderer::setClearColor`.
  ///
  /// An object of this type can be created from `ForwardRenderer` with `object.slots().set_clear_color()` 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 `ForwardRenderer` object.
  pub struct SetClearColor<'a>(&'a ::forward_renderer::ForwardRenderer);
  impl<'a> ::qt_core::connection::Receiver for SetClearColor<'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"1setClearColor(const QColor&)\0"
    }
  }
  /// Represents a built-in Qt slot `Qt3DExtras::QForwardRenderer::setCamera`.
  ///
  /// An object of this type can be created from `ForwardRenderer` with `object.slots().set_camera()` 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 `ForwardRenderer` object.
  pub struct SetCamera<'a>(&'a ::forward_renderer::ForwardRenderer);
  impl<'a> ::qt_core::connection::Receiver for SetCamera<'a> {
    type Arguments = (*mut ::qt_3d_core::entity::Entity,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setCamera(Qt3DCore::QEntity*)\0"
    }
  }
  /// Represents a built-in Qt slot `Qt3DExtras::QForwardRenderer::setExternalRenderTargetSize`.
  ///
  /// An object of this type can be created from `ForwardRenderer` with `object.slots().set_external_render_target_size()` 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 `ForwardRenderer` object.
  pub struct SetExternalRenderTargetSize<'a>(&'a ::forward_renderer::ForwardRenderer);
  impl<'a> ::qt_core::connection::Receiver for SetExternalRenderTargetSize<'a> {
    type Arguments = (&'static ::qt_core::size::Size,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setExternalRenderTargetSize(const QSize&)\0"
    }
  }
  /// Represents a built-in Qt slot `Qt3DExtras::QForwardRenderer::setViewportRect`.
  ///
  /// An object of this type can be created from `ForwardRenderer` with `object.slots().set_viewport_rect()` 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 `ForwardRenderer` object.
  pub struct SetViewportRect<'a>(&'a ::forward_renderer::ForwardRenderer);
  impl<'a> ::qt_core::connection::Receiver for SetViewportRect<'a> {
    type Arguments = (&'static ::qt_core::rect_f::RectF,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setViewportRect(const QRectF&)\0"
    }
  }
  /// Represents a built-in Qt slot `Qt3DExtras::QForwardRenderer::setSurface`.
  ///
  /// An object of this type can be created from `ForwardRenderer` with `object.slots().set_surface()` 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 `ForwardRenderer` object.
  pub struct SetSurface<'a>(&'a ::forward_renderer::ForwardRenderer);
  impl<'a> ::qt_core::connection::Receiver for SetSurface<'a> {
    type Arguments = (*mut ::qt_core::object::Object,);
    fn object(&self) -> &::qt_core::object::Object {
      self.0.static_cast()
    }
    fn receiver_id() -> &'static [u8] {
      b"1setSurface(QObject*)\0"
    }
  }
  impl<'a> Slots<'a> {
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QForwardRenderer::setClearColor`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_clear_color(&self) -> SetClearColor {
      SetClearColor(self.0)
    }
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QForwardRenderer::setCamera`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_camera(&self) -> SetCamera {
      SetCamera(self.0)
    }
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QForwardRenderer::setExternalRenderTargetSize`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_external_render_target_size(&self) -> SetExternalRenderTargetSize {
      SetExternalRenderTargetSize(self.0)
    }
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QForwardRenderer::setViewportRect`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_viewport_rect(&self) -> SetViewportRect {
      SetViewportRect(self.0)
    }
    /// Returns an object representing a built-in Qt slot `Qt3DExtras::QForwardRenderer::setSurface`.
    ///
    /// Return value of this function can be used for creating Qt connections using `qt_core::connection` API.
    pub fn set_surface(&self) -> SetSurface {
      SetSurface(self.0)
    }
  }
  impl ::forward_renderer::ForwardRenderer {
    /// 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::node::Node> for ::forward_renderer::ForwardRenderer {
  fn static_cast_mut(&mut self) -> &mut ::qt_3d_core::node::Node {
    let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QForwardRenderer_G_static_cast_Qt3DCore_QNode_ptr(self as *mut ::forward_renderer::ForwardRenderer) };
    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_QForwardRenderer_G_static_cast_Qt3DCore_QNode_ptr(self as *const ::forward_renderer::ForwardRenderer as *mut ::forward_renderer::ForwardRenderer) };
    unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")
  }
}

impl ::cpp_utils::StaticCast<::qt_3d_render::frame_graph_node::FrameGraphNode> for ::forward_renderer::ForwardRenderer {
fn static_cast_mut(&mut self) -> &mut ::qt_3d_render::frame_graph_node::FrameGraphNode {
let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QForwardRenderer_G_static_cast_Qt3DRender_QFrameGraphNode_ptr(self as *mut ::forward_renderer::ForwardRenderer) };
unsafe { ffi_result.as_mut() }.expect("Attempted to convert null pointer to reference")}

fn static_cast(&self) -> &::qt_3d_render::frame_graph_node::FrameGraphNode {
let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QForwardRenderer_G_static_cast_Qt3DRender_QFrameGraphNode_ptr(self as *const ::forward_renderer::ForwardRenderer as *mut ::forward_renderer::ForwardRenderer) };
unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")}

}

impl ::cpp_utils::StaticCast<::qt_3d_render::technique_filter::TechniqueFilter> for ::forward_renderer::ForwardRenderer {
fn static_cast_mut(&mut self) -> &mut ::qt_3d_render::technique_filter::TechniqueFilter {
let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QForwardRenderer_G_static_cast_Qt3DRender_QTechniqueFilter_ptr(self as *mut ::forward_renderer::ForwardRenderer) };
unsafe { ffi_result.as_mut() }.expect("Attempted to convert null pointer to reference")}

fn static_cast(&self) -> &::qt_3d_render::technique_filter::TechniqueFilter {
let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QForwardRenderer_G_static_cast_Qt3DRender_QTechniqueFilter_ptr(self as *const ::forward_renderer::ForwardRenderer as *mut ::forward_renderer::ForwardRenderer) };
unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")}

}

impl ::cpp_utils::StaticCast<::qt_core::object::Object> for ::forward_renderer::ForwardRenderer {
  fn static_cast_mut(&mut self) -> &mut ::qt_core::object::Object {
    let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QForwardRenderer_G_static_cast_QObject_ptr(self as *mut ::forward_renderer::ForwardRenderer) };
    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_QForwardRenderer_G_static_cast_QObject_ptr(self as *const ::forward_renderer::ForwardRenderer as *mut ::forward_renderer::ForwardRenderer) };
    unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")
  }
}

impl ::cpp_utils::UnsafeStaticCast<::forward_renderer::ForwardRenderer> for ::qt_core::object::Object {
  unsafe fn static_cast_mut(&mut self) -> &mut ::forward_renderer::ForwardRenderer {
    let ffi_result = ::ffi::qt_3d_extras_c_QForwardRenderer_G_static_cast_Qt3DExtras_QForwardRenderer_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) -> &::forward_renderer::ForwardRenderer {
    let ffi_result = ::ffi::qt_3d_extras_c_QForwardRenderer_G_static_cast_Qt3DExtras_QForwardRenderer_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<::forward_renderer::ForwardRenderer> for ::qt_3d_core::node::Node {
  unsafe fn static_cast_mut(&mut self) -> &mut ::forward_renderer::ForwardRenderer {
    let ffi_result = ::ffi::qt_3d_extras_c_QForwardRenderer_G_static_cast_Qt3DExtras_QForwardRenderer_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) -> &::forward_renderer::ForwardRenderer {
    let ffi_result = ::ffi::qt_3d_extras_c_QForwardRenderer_G_static_cast_Qt3DExtras_QForwardRenderer_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<::forward_renderer::ForwardRenderer> for ::qt_3d_render::frame_graph_node::FrameGraphNode {
unsafe fn static_cast_mut(&mut self) -> &mut ::forward_renderer::ForwardRenderer {
let ffi_result = ::ffi::qt_3d_extras_c_QForwardRenderer_G_static_cast_Qt3DExtras_QForwardRenderer_ptr_Qt3DRender_QFrameGraphNode(self as *mut ::qt_3d_render::frame_graph_node::FrameGraphNode);
ffi_result.as_mut().expect("Attempted to convert null pointer to reference")}

unsafe fn static_cast(&self) -> &::forward_renderer::ForwardRenderer {
let ffi_result = ::ffi::qt_3d_extras_c_QForwardRenderer_G_static_cast_Qt3DExtras_QForwardRenderer_ptr_Qt3DRender_QFrameGraphNode(self as *const ::qt_3d_render::frame_graph_node::FrameGraphNode as *mut ::qt_3d_render::frame_graph_node::FrameGraphNode);
ffi_result.as_ref().expect("Attempted to convert null pointer to reference")}

}

impl ::cpp_utils::UnsafeStaticCast<::forward_renderer::ForwardRenderer> for ::qt_3d_render::technique_filter::TechniqueFilter {
unsafe fn static_cast_mut(&mut self) -> &mut ::forward_renderer::ForwardRenderer {
let ffi_result = ::ffi::qt_3d_extras_c_QForwardRenderer_G_static_cast_Qt3DExtras_QForwardRenderer_ptr_Qt3DRender_QTechniqueFilter(self as *mut ::qt_3d_render::technique_filter::TechniqueFilter);
ffi_result.as_mut().expect("Attempted to convert null pointer to reference")}

unsafe fn static_cast(&self) -> &::forward_renderer::ForwardRenderer {
let ffi_result = ::ffi::qt_3d_extras_c_QForwardRenderer_G_static_cast_Qt3DExtras_QForwardRenderer_ptr_Qt3DRender_QTechniqueFilter(self as *const ::qt_3d_render::technique_filter::TechniqueFilter as *mut ::qt_3d_render::technique_filter::TechniqueFilter);
ffi_result.as_ref().expect("Attempted to convert null pointer to reference")}

}

impl ::std::ops::Deref for ::forward_renderer::ForwardRenderer {
  type Target = ::qt_3d_render::technique_filter::TechniqueFilter;
  fn deref(&self) -> &::qt_3d_render::technique_filter::TechniqueFilter {
    let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QForwardRenderer_G_static_cast_Qt3DRender_QTechniqueFilter_ptr(self as *const ::forward_renderer::ForwardRenderer as *mut ::forward_renderer::ForwardRenderer) };
    unsafe { ffi_result.as_ref() }.expect("Attempted to convert null pointer to reference")
  }
}

impl ::std::ops::DerefMut for ::forward_renderer::ForwardRenderer {
  fn deref_mut(&mut self) -> &mut ::qt_3d_render::technique_filter::TechniqueFilter {
    let ffi_result = unsafe { ::ffi::qt_3d_extras_c_QForwardRenderer_G_static_cast_Qt3DRender_QTechniqueFilter_ptr(self as *mut ::forward_renderer::ForwardRenderer) };
    unsafe { ffi_result.as_mut() }.expect("Attempted to convert null pointer to reference")
  }
}