[][src]Struct qt_3d_extras::QForwardRenderer

#[repr(C)]pub struct QForwardRenderer { /* fields omitted */ }

The QForwardRenderer provides a default FrameGraph implementation of a forward renderer.

C++ class: Qt3DExtras::QForwardRenderer.

C++ documentation:

The QForwardRenderer provides a default FrameGraph implementation of a forward renderer.

Forward rendering is what OpenGL traditionally uses. It renders directly to the backbuffer one object at a time shading each one as it goes.

QForwardRenderer is a single leaf FrameGraph tree which contains a Qt3DRender::QViewport, a Qt3DRender::QCameraSelector, and a Qt3DRender::QClearBuffers. The QForwardRenderer 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.

By default the viewport occupies the whole screen and the clear color is white. Frustum culling is also enabled.

Methods

impl QForwardRenderer[src]

pub fn slot_set_viewport_rect(&self) -> Receiver<(*const QRectF,)>[src]

Holds the current normalized viewport rectangle.

Returns a built-in Qt slot Qt3DExtras::QForwardRenderer::setViewportRect that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the current normalized viewport rectangle.

Access functions:

QRectF viewportRect() const
void setViewportRect(const QRectF &viewportRect)

Notifier signal:

void viewportRectChanged(const QRectF &viewportRect)

pub fn slot_set_clear_color(&self) -> Receiver<(*const QColor,)>[src]

Holds the current clear color of the scene. The frame buffer is initialized to the clear color before rendering.

Returns a built-in Qt slot Qt3DExtras::QForwardRenderer::setClearColor that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the current clear color of the scene. The frame buffer is initialized to the clear color before rendering.

Access functions:

QColor clearColor() const
void setClearColor(const QColor &clearColor)

Notifier signal:

void clearColorChanged(const QColor &clearColor)

pub fn slot_set_camera(&self) -> Receiver<(*mut QEntity,)>[src]

Holds the current camera entity used to render the scene.

Returns a built-in Qt slot Qt3DExtras::QForwardRenderer::setCamera that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the current camera entity used to render the scene.

Note: A camera is a QEntity that has a QCameraLens as one of its components.

Access functions:

Qt3DCore::QEntity *camera() const
void setCamera(Qt3DCore::QEntity *camera)

Notifier signal:

void cameraChanged(Qt3DCore::QEntity *camera)

pub fn slot_set_surface(&self) -> Receiver<(*mut QObject,)>[src]

Returns a built-in Qt slot Qt3DExtras::QForwardRenderer::setSurface that can be passed to qt_core::Signal::connect.

pub fn slot_set_external_render_target_size(&self) -> Receiver<(*const QSize,)>[src]

Contains the size of the external render target. External render targets are relevant when rendering does not target a window surface (as set in surface()).

Returns a built-in Qt slot Qt3DExtras::QForwardRenderer::setExternalRenderTargetSize that can be passed to qt_core::Signal::connect.

C++ documentation:

Contains the size of the external render target. External render targets are relevant when rendering does not target a window surface (as set in surface()).

Access functions:

QSize externalRenderTargetSize() const
void setExternalRenderTargetSize(const QSize &size)

Notifier signal:

void externalRenderTargetSizeChanged(const QSize &size)

pub fn slot_set_frustum_culling_enabled(&self) -> Receiver<(bool,)>[src]

Indicates if the renderer applies frustum culling to the scene.

Returns a built-in Qt slot Qt3DExtras::QForwardRenderer::setFrustumCullingEnabled that can be passed to qt_core::Signal::connect.

C++ documentation:

Indicates if the renderer applies frustum culling to the scene.

Access functions:

bool isFrustumCullingEnabled() const
void setFrustumCullingEnabled(bool enabled)

Notifier signal:

void frustumCullingEnabledChanged(bool enabled)

pub fn slot_set_gamma(&self) -> Receiver<(c_float,)>[src]

Holds the gamma value the renderer applies to the scene.

Returns a built-in Qt slot Qt3DExtras::QForwardRenderer::setGamma that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the gamma value the renderer applies to the scene.

Access functions:

float gamma() const
void setGamma(float gamma)

Notifier signal:

void gammaChanged(float gamma)

pub fn viewport_rect_changed(&self) -> Signal<(*const QRectF,)>[src]

Holds the current normalized viewport rectangle.

Returns a built-in Qt signal Qt3DExtras::QForwardRenderer::viewportRectChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the current normalized viewport rectangle.

Access functions:

QRectF viewportRect() const
void setViewportRect(const QRectF &viewportRect)

Notifier signal:

void viewportRectChanged(const QRectF &viewportRect)

pub fn clear_color_changed(&self) -> Signal<(*const QColor,)>[src]

Holds the current clear color of the scene. The frame buffer is initialized to the clear color before rendering.

Returns a built-in Qt signal Qt3DExtras::QForwardRenderer::clearColorChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the current clear color of the scene. The frame buffer is initialized to the clear color before rendering.

Access functions:

QColor clearColor() const
void setClearColor(const QColor &clearColor)

Notifier signal:

void clearColorChanged(const QColor &clearColor)

pub fn camera_changed(&self) -> Signal<(*mut QEntity,)>[src]

Holds the current camera entity used to render the scene.

Returns a built-in Qt signal Qt3DExtras::QForwardRenderer::cameraChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the current camera entity used to render the scene.

Note: A camera is a QEntity that has a QCameraLens as one of its components.

Access functions:

Qt3DCore::QEntity *camera() const
void setCamera(Qt3DCore::QEntity *camera)

Notifier signal:

void cameraChanged(Qt3DCore::QEntity *camera)

pub fn surface_changed(&self) -> Signal<(*mut QObject,)>[src]

Returns a built-in Qt signal Qt3DExtras::QForwardRenderer::surfaceChanged that can be passed to qt_core::Signal::connect.

pub fn external_render_target_size_changed(&self) -> Signal<(*const QSize,)>[src]

Contains the size of the external render target. External render targets are relevant when rendering does not target a window surface (as set in surface()).

Returns a built-in Qt signal Qt3DExtras::QForwardRenderer::externalRenderTargetSizeChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Contains the size of the external render target. External render targets are relevant when rendering does not target a window surface (as set in surface()).

Access functions:

QSize externalRenderTargetSize() const
void setExternalRenderTargetSize(const QSize &size)

Notifier signal:

void externalRenderTargetSizeChanged(const QSize &size)

pub fn frustum_culling_enabled_changed(&self) -> Signal<(bool,)>[src]

Indicates if the renderer applies frustum culling to the scene.

Returns a built-in Qt signal Qt3DExtras::QForwardRenderer::frustumCullingEnabledChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Indicates if the renderer applies frustum culling to the scene.

Access functions:

bool isFrustumCullingEnabled() const
void setFrustumCullingEnabled(bool enabled)

Notifier signal:

void frustumCullingEnabledChanged(bool enabled)

pub fn gamma_changed(&self) -> Signal<(c_float,)>[src]

Holds the gamma value the renderer applies to the scene.

Returns a built-in Qt signal Qt3DExtras::QForwardRenderer::gammaChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the gamma value the renderer applies to the scene.

Access functions:

float gamma() const
void setGamma(float gamma)

Notifier signal:

void gammaChanged(float gamma)

pub unsafe fn buffers_to_clear(&self) -> BufferType[src]

This is supported on cpp_lib_version="5.14.0" only.

Holds the current buffers to be cleared. Default value is ColorDepthBuffer

Calls C++ function: Qt3DRender::QClearBuffers::BufferType Qt3DExtras::QForwardRenderer::buffersToClear() const.

C++ documentation:

Holds the current buffers to be cleared. Default value is ColorDepthBuffer

This property was introduced in Qt 5.14.

Access functions:

Qt3DRender::QClearBuffers::BufferType buffersToClear() const
void setBuffersToClear(Qt3DRender::QClearBuffers::BufferType)

Notifier signal:

void buffersToClearChanged(Qt3DRender::QClearBuffers::BufferType)

pub unsafe fn buffers_to_clear_changed(&self, arg1: BufferType)[src]

This is supported on cpp_lib_version="5.14.0" only.

Holds the current buffers to be cleared. Default value is ColorDepthBuffer

Calls C++ function: void Qt3DExtras::QForwardRenderer::buffersToClearChanged(Qt3DRender::QClearBuffers::BufferType arg1).

C++ documentation:

Holds the current buffers to be cleared. Default value is ColorDepthBuffer

This property was introduced in Qt 5.14.

Access functions:

Qt3DRender::QClearBuffers::BufferType buffersToClear() const
void setBuffersToClear(Qt3DRender::QClearBuffers::BufferType)

Notifier signal:

void buffersToClearChanged(Qt3DRender::QClearBuffers::BufferType)

pub unsafe fn camera(&self) -> QPtr<QEntity>[src]

Holds the current camera entity used to render the scene.

Calls C++ function: Qt3DCore::QEntity* Qt3DExtras::QForwardRenderer::camera() const.

C++ documentation:

Holds the current camera entity used to render the scene.

Note: A camera is a QEntity that has a QCameraLens as one of its components.

Access functions:

Qt3DCore::QEntity *camera() const
void setCamera(Qt3DCore::QEntity *camera)

Notifier signal:

void cameraChanged(Qt3DCore::QEntity *camera)

pub unsafe fn clear_color(&self) -> CppBox<QColor>[src]

Holds the current clear color of the scene. The frame buffer is initialized to the clear color before rendering.

Calls C++ function: QColor Qt3DExtras::QForwardRenderer::clearColor() const.

C++ documentation:

Holds the current clear color of the scene. The frame buffer is initialized to the clear color before rendering.

Access functions:

QColor clearColor() const
void setClearColor(const QColor &clearColor)

Notifier signal:

void clearColorChanged(const QColor &clearColor)

pub unsafe fn external_render_target_size(&self) -> CppBox<QSize>[src]

Contains the size of the external render target. External render targets are relevant when rendering does not target a window surface (as set in surface()).

Calls C++ function: QSize Qt3DExtras::QForwardRenderer::externalRenderTargetSize() const.

C++ documentation:

Contains the size of the external render target. External render targets are relevant when rendering does not target a window surface (as set in surface()).

Access functions:

QSize externalRenderTargetSize() const
void setExternalRenderTargetSize(const QSize &size)

Notifier signal:

void externalRenderTargetSizeChanged(const QSize &size)

pub unsafe fn gamma(&self) -> c_float[src]

Holds the gamma value the renderer applies to the scene.

Calls C++ function: float Qt3DExtras::QForwardRenderer::gamma() const.

C++ documentation:

Holds the gamma value the renderer applies to the scene.

Access functions:

float gamma() const
void setGamma(float gamma)

Notifier signal:

void gammaChanged(float gamma)

pub unsafe fn is_frustum_culling_enabled(&self) -> bool[src]

Indicates if the renderer applies frustum culling to the scene.

Calls C++ function: bool Qt3DExtras::QForwardRenderer::isFrustumCullingEnabled() const.

C++ documentation:

Indicates if the renderer applies frustum culling to the scene.

Access functions:

bool isFrustumCullingEnabled() const
void setFrustumCullingEnabled(bool enabled)

Notifier signal:

void frustumCullingEnabledChanged(bool enabled)

pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>[src]

Calls C++ function: virtual const QMetaObject* Qt3DExtras::QForwardRenderer::metaObject() const.

pub unsafe fn new_1a(
    parent: impl CastInto<Ptr<QNode>>
) -> QBox<QForwardRenderer>
[src]

Default constructs an instance of QForwardRenderer.

Calls C++ function: [constructor] void Qt3DExtras::QForwardRenderer::QForwardRenderer(Qt3DCore::QNode* parent = …).

C++ documentation:

Default constructs an instance of QForwardRenderer.

pub unsafe fn new_0a() -> QBox<QForwardRenderer>[src]

The QForwardRenderer provides a default FrameGraph implementation of a forward renderer.

Calls C++ function: [constructor] void Qt3DExtras::QForwardRenderer::QForwardRenderer().

C++ documentation:

The QForwardRenderer provides a default FrameGraph implementation of a forward renderer.

Forward rendering is what OpenGL traditionally uses. It renders directly to the backbuffer one object at a time shading each one as it goes.

QForwardRenderer is a single leaf FrameGraph tree which contains a Qt3DRender::QViewport, a Qt3DRender::QCameraSelector, and a Qt3DRender::QClearBuffers. The QForwardRenderer 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.

By default the viewport occupies the whole screen and the clear color is white. Frustum culling is also enabled.

pub unsafe fn qt_metacall(
    &self,
    arg1: Call,
    arg2: c_int,
    arg3: *mut *mut c_void
) -> c_int
[src]

Calls C++ function: virtual int Qt3DExtras::QForwardRenderer::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3).

pub unsafe fn qt_metacast(&self, arg1: *const c_char) -> *mut c_void[src]

Calls C++ function: virtual void* Qt3DExtras::QForwardRenderer::qt_metacast(const char* arg1).

pub unsafe fn set_buffers_to_clear(&self, arg1: BufferType)[src]

This is supported on cpp_lib_version="5.14.0" only.

Holds the current buffers to be cleared. Default value is ColorDepthBuffer

Calls C++ function: void Qt3DExtras::QForwardRenderer::setBuffersToClear(Qt3DRender::QClearBuffers::BufferType arg1).

C++ documentation:

Holds the current buffers to be cleared. Default value is ColorDepthBuffer

This property was introduced in Qt 5.14.

Access functions:

Qt3DRender::QClearBuffers::BufferType buffersToClear() const
void setBuffersToClear(Qt3DRender::QClearBuffers::BufferType)

Notifier signal:

void buffersToClearChanged(Qt3DRender::QClearBuffers::BufferType)

pub unsafe fn set_camera(&self, camera: impl CastInto<Ptr<QEntity>>)[src]

Holds the current camera entity used to render the scene.

Calls C++ function: [slot] void Qt3DExtras::QForwardRenderer::setCamera(Qt3DCore::QEntity* camera).

C++ documentation:

Holds the current camera entity used to render the scene.

Note: A camera is a QEntity that has a QCameraLens as one of its components.

Access functions:

Qt3DCore::QEntity *camera() const
void setCamera(Qt3DCore::QEntity *camera)

Notifier signal:

void cameraChanged(Qt3DCore::QEntity *camera)

pub unsafe fn set_clear_color(&self, clear_color: impl CastInto<Ref<QColor>>)[src]

Holds the current clear color of the scene. The frame buffer is initialized to the clear color before rendering.

Calls C++ function: [slot] void Qt3DExtras::QForwardRenderer::setClearColor(const QColor& clearColor).

C++ documentation:

Holds the current clear color of the scene. The frame buffer is initialized to the clear color before rendering.

Access functions:

QColor clearColor() const
void setClearColor(const QColor &clearColor)

Notifier signal:

void clearColorChanged(const QColor &clearColor)

pub unsafe fn set_external_render_target_size(
    &self,
    size: impl CastInto<Ref<QSize>>
)
[src]

Contains the size of the external render target. External render targets are relevant when rendering does not target a window surface (as set in surface()).

Calls C++ function: [slot] void Qt3DExtras::QForwardRenderer::setExternalRenderTargetSize(const QSize& size).

C++ documentation:

Contains the size of the external render target. External render targets are relevant when rendering does not target a window surface (as set in surface()).

Access functions:

QSize externalRenderTargetSize() const
void setExternalRenderTargetSize(const QSize &size)

Notifier signal:

void externalRenderTargetSizeChanged(const QSize &size)

pub unsafe fn set_frustum_culling_enabled(&self, enabled: bool)[src]

Indicates if the renderer applies frustum culling to the scene.

Calls C++ function: [slot] void Qt3DExtras::QForwardRenderer::setFrustumCullingEnabled(bool enabled).

C++ documentation:

Indicates if the renderer applies frustum culling to the scene.

Access functions:

bool isFrustumCullingEnabled() const
void setFrustumCullingEnabled(bool enabled)

Notifier signal:

void frustumCullingEnabledChanged(bool enabled)

pub unsafe fn set_gamma(&self, gamma: c_float)[src]

Holds the gamma value the renderer applies to the scene.

Calls C++ function: [slot] void Qt3DExtras::QForwardRenderer::setGamma(float gamma).

C++ documentation:

Holds the gamma value the renderer applies to the scene.

Access functions:

float gamma() const
void setGamma(float gamma)

Notifier signal:

void gammaChanged(float gamma)

pub unsafe fn set_surface(&self, surface: impl CastInto<Ptr<QObject>>)[src]

Calls C++ function: [slot] void Qt3DExtras::QForwardRenderer::setSurface(QObject* surface).

pub unsafe fn set_viewport_rect(
    &self,
    viewport_rect: impl CastInto<Ref<QRectF>>
)
[src]

Holds the current normalized viewport rectangle.

Calls C++ function: [slot] void Qt3DExtras::QForwardRenderer::setViewportRect(const QRectF& viewportRect).

C++ documentation:

Holds the current normalized viewport rectangle.

Access functions:

QRectF viewportRect() const
void setViewportRect(const QRectF &viewportRect)

Notifier signal:

void viewportRectChanged(const QRectF &viewportRect)

pub unsafe fn static_meta_object() -> Ref<QMetaObject>[src]

Returns a reference to the staticMetaObject field.

pub unsafe fn surface(&self) -> QPtr<QObject>[src]

Holds the current render surface.

Calls C++ function: QObject* Qt3DExtras::QForwardRenderer::surface() const.

C++ documentation:

Holds the current render surface.

Access functions:

QObject *surface() const
void setSurface(QObject *surface)

Notifier signal:

void surfaceChanged(QObject *surface)

pub unsafe fn tr(
    s: *const c_char,
    c: *const c_char,
    n: c_int
) -> CppBox<QString>
[src]

Calls C++ function: static QString Qt3DExtras::QForwardRenderer::tr(const char* s, const char* c, int n).

pub unsafe fn tr_utf8(
    s: *const c_char,
    c: *const c_char,
    n: c_int
) -> CppBox<QString>
[src]

Calls C++ function: static QString Qt3DExtras::QForwardRenderer::trUtf8(const char* s, const char* c, int n).

pub unsafe fn viewport_rect(&self) -> CppBox<QRectF>[src]

Holds the current normalized viewport rectangle.

Calls C++ function: QRectF Qt3DExtras::QForwardRenderer::viewportRect() const.

C++ documentation:

Holds the current normalized viewport rectangle.

Access functions:

QRectF viewportRect() const
void setViewportRect(const QRectF &viewportRect)

Notifier signal:

void viewportRectChanged(const QRectF &viewportRect)

Methods from Deref<Target = QTechniqueFilter>

pub unsafe fn add_match(&self, filter_key: impl CastInto<Ptr<QFilterKey>>)[src]

Add the filterKey to the match vector.

Calls C++ function: void Qt3DRender::QTechniqueFilter::addMatch(Qt3DRender::QFilterKey* filterKey).

C++ documentation:

Add the filterKey to the match vector.

pub unsafe fn add_parameter(&self, p: impl CastInto<Ptr<QParameter>>)[src]

Add parameter to the vector of parameters that will be passed to the graphics pipeline.

Calls C++ function: void Qt3DRender::QTechniqueFilter::addParameter(Qt3DRender::QParameter* p).

C++ documentation:

Add parameter to the vector of parameters that will be passed to the graphics pipeline.

pub unsafe fn match_all(&self) -> CppBox<QVectorOfQFilterKey>[src]

Returns a vector of the current keys for the filter.

Calls C++ function: QVector<Qt3DRender::QFilterKey*> Qt3DRender::QTechniqueFilter::matchAll() const.

C++ documentation:

Returns a vector of the current keys for the filter.

pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>[src]

Calls C++ function: virtual const QMetaObject* Qt3DRender::QTechniqueFilter::metaObject() const.

pub unsafe fn parameters(&self) -> CppBox<QVectorOfQParameter>[src]

Returns the current vector of parameters.

Calls C++ function: QVector<Qt3DRender::QParameter*> Qt3DRender::QTechniqueFilter::parameters() const.

C++ documentation:

Returns the current vector of parameters.

pub unsafe fn qt_metacall(
    &self,
    arg1: Call,
    arg2: i32,
    arg3: *mut *mut c_void
) -> i32
[src]

Calls C++ function: virtual int Qt3DRender::QTechniqueFilter::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3).

pub unsafe fn qt_metacast(&self, arg1: *const i8) -> *mut c_void[src]

Calls C++ function: virtual void* Qt3DRender::QTechniqueFilter::qt_metacast(const char* arg1).

pub unsafe fn remove_match(&self, filter_key: impl CastInto<Ptr<QFilterKey>>)[src]

Remove the filterKey from the match vector.

Calls C++ function: void Qt3DRender::QTechniqueFilter::removeMatch(Qt3DRender::QFilterKey* filterKey).

C++ documentation:

Remove the filterKey from the match vector.

pub unsafe fn remove_parameter(&self, p: impl CastInto<Ptr<QParameter>>)[src]

Remove parameter from the vector of parameters passed to the graphics pipeline.

Calls C++ function: void Qt3DRender::QTechniqueFilter::removeParameter(Qt3DRender::QParameter* p).

C++ documentation:

Remove parameter from the vector of parameters passed to the graphics pipeline.

Trait Implementations

impl CppDeletable for QForwardRenderer[src]

unsafe fn delete(&self)[src]

Destroys the instance of QForwardRenderer.

Calls C++ function: virtual [destructor] void Qt3DExtras::QForwardRenderer::~QForwardRenderer().

C++ documentation:

Destroys the instance of QForwardRenderer.

impl Deref for QForwardRenderer[src]

type Target = QTechniqueFilter

The resulting type after dereferencing.

fn deref(&self) -> &QTechniqueFilter[src]

Calls C++ function: Qt3DRender::QTechniqueFilter* static_cast<Qt3DRender::QTechniqueFilter*>(Qt3DExtras::QForwardRenderer* ptr).

impl DynamicCast<QForwardRenderer> for QTechniqueFilter[src]

unsafe fn dynamic_cast(ptr: Ptr<QTechniqueFilter>) -> Ptr<QForwardRenderer>[src]

Calls C++ function: Qt3DExtras::QForwardRenderer* dynamic_cast<Qt3DExtras::QForwardRenderer*>(Qt3DRender::QTechniqueFilter* ptr).

impl DynamicCast<QForwardRenderer> for QFrameGraphNode[src]

unsafe fn dynamic_cast(ptr: Ptr<QFrameGraphNode>) -> Ptr<QForwardRenderer>[src]

Calls C++ function: Qt3DExtras::QForwardRenderer* dynamic_cast<Qt3DExtras::QForwardRenderer*>(Qt3DRender::QFrameGraphNode* ptr).

impl DynamicCast<QForwardRenderer> for QNode[src]

unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QForwardRenderer>[src]

Calls C++ function: Qt3DExtras::QForwardRenderer* dynamic_cast<Qt3DExtras::QForwardRenderer*>(Qt3DCore::QNode* ptr).

impl DynamicCast<QForwardRenderer> for QObject[src]

unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QForwardRenderer>[src]

Calls C++ function: Qt3DExtras::QForwardRenderer* dynamic_cast<Qt3DExtras::QForwardRenderer*>(QObject* ptr).

impl StaticDowncast<QForwardRenderer> for QTechniqueFilter[src]

unsafe fn static_downcast(ptr: Ptr<QTechniqueFilter>) -> Ptr<QForwardRenderer>[src]

Calls C++ function: Qt3DExtras::QForwardRenderer* static_cast<Qt3DExtras::QForwardRenderer*>(Qt3DRender::QTechniqueFilter* ptr).

impl StaticDowncast<QForwardRenderer> for QFrameGraphNode[src]

unsafe fn static_downcast(ptr: Ptr<QFrameGraphNode>) -> Ptr<QForwardRenderer>[src]

Calls C++ function: Qt3DExtras::QForwardRenderer* static_cast<Qt3DExtras::QForwardRenderer*>(Qt3DRender::QFrameGraphNode* ptr).

impl StaticDowncast<QForwardRenderer> for QNode[src]

unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QForwardRenderer>[src]

Calls C++ function: Qt3DExtras::QForwardRenderer* static_cast<Qt3DExtras::QForwardRenderer*>(Qt3DCore::QNode* ptr).

impl StaticDowncast<QForwardRenderer> for QObject[src]

unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QForwardRenderer>[src]

Calls C++ function: Qt3DExtras::QForwardRenderer* static_cast<Qt3DExtras::QForwardRenderer*>(QObject* ptr).

impl StaticUpcast<QFrameGraphNode> for QForwardRenderer[src]

unsafe fn static_upcast(ptr: Ptr<QForwardRenderer>) -> Ptr<QFrameGraphNode>[src]

Calls C++ function: Qt3DRender::QFrameGraphNode* static_cast<Qt3DRender::QFrameGraphNode*>(Qt3DExtras::QForwardRenderer* ptr).

impl StaticUpcast<QNode> for QForwardRenderer[src]

unsafe fn static_upcast(ptr: Ptr<QForwardRenderer>) -> Ptr<QNode>[src]

Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DExtras::QForwardRenderer* ptr).

impl StaticUpcast<QObject> for QForwardRenderer[src]

unsafe fn static_upcast(ptr: Ptr<QForwardRenderer>) -> Ptr<QObject>[src]

Calls C++ function: QObject* static_cast<QObject*>(Qt3DExtras::QForwardRenderer* ptr).

impl StaticUpcast<QTechniqueFilter> for QForwardRenderer[src]

unsafe fn static_upcast(ptr: Ptr<QForwardRenderer>) -> Ptr<QTechniqueFilter>[src]

Calls C++ function: Qt3DRender::QTechniqueFilter* static_cast<Qt3DRender::QTechniqueFilter*>(Qt3DExtras::QForwardRenderer* ptr).

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.