[−][src]Struct qt_3d_extras::QForwardRenderer
The QForwardRenderer provides a default FrameGraph implementation of a forward renderer.
C++ class: Qt3DExtras::QForwardRenderer
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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]
Holds the current buffers to be cleared. Default value is ColorDepthBuffer
Calls C++ function: Qt3DRender::QClearBuffers::BufferType Qt3DExtras::QForwardRenderer::buffersToClear() const
.
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) |
This item is available if cpp_lib_version="5.14.0"
.
pub unsafe fn buffers_to_clear_changed(&mut self, arg1: BufferType)
[src]
Holds the current buffers to be cleared. Default value is ColorDepthBuffer
Calls C++ function: void Qt3DExtras::QForwardRenderer::buffersToClearChanged(Qt3DRender::QClearBuffers::BufferType arg1)
.
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) |
This item is available if cpp_lib_version="5.14.0"
.
pub unsafe fn camera(&self) -> QMutPtr<QEntity>
[src]
Holds the current camera entity used to render the scene.
Calls C++ function: Qt3DCore::QEntity* Qt3DExtras::QForwardRenderer::camera() const
.
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
.
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
.
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
.
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
.
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<MutPtr<QNode>>
) -> QBox<QForwardRenderer>
[src]
parent: impl CastInto<MutPtr<QNode>>
) -> QBox<QForwardRenderer>
Default constructs an instance of QForwardRenderer.
Calls C++ function: [constructor] void Qt3DExtras::QForwardRenderer::QForwardRenderer(Qt3DCore::QNode* parent = …)
.
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()
.
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(
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
[src]
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
Calls C++ function: virtual int Qt3DExtras::QForwardRenderer::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
pub unsafe fn qt_metacast(
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
[src]
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
Calls C++ function: virtual void* Qt3DExtras::QForwardRenderer::qt_metacast(const char* arg1)
.
pub unsafe fn set_buffers_to_clear(&mut self, arg1: BufferType)
[src]
Holds the current buffers to be cleared. Default value is ColorDepthBuffer
Calls C++ function: void Qt3DExtras::QForwardRenderer::setBuffersToClear(Qt3DRender::QClearBuffers::BufferType arg1)
.
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) |
This item is available if cpp_lib_version="5.14.0"
.
pub unsafe fn set_camera(&mut self, camera: impl CastInto<MutPtr<QEntity>>)
[src]
Holds the current camera entity used to render the scene.
Calls C++ function: [slot] void Qt3DExtras::QForwardRenderer::setCamera(Qt3DCore::QEntity* camera)
.
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(
&mut self,
clear_color: impl CastInto<Ref<QColor>>
)
[src]
&mut self,
clear_color: impl CastInto<Ref<QColor>>
)
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)
.
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(
&mut self,
size: impl CastInto<Ref<QSize>>
)
[src]
&mut self,
size: impl CastInto<Ref<QSize>>
)
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)
.
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(&mut self, enabled: bool)
[src]
Indicates if the renderer applies frustum culling to the scene.
Calls C++ function: [slot] void Qt3DExtras::QForwardRenderer::setFrustumCullingEnabled(bool enabled)
.
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(&mut 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)
.
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(&mut self, surface: impl CastInto<MutPtr<QObject>>)
[src]
Calls C++ function: [slot] void Qt3DExtras::QForwardRenderer::setSurface(QObject* surface)
.
pub unsafe fn set_viewport_rect(
&mut self,
viewport_rect: impl CastInto<Ref<QRectF>>
)
[src]
&mut self,
viewport_rect: impl CastInto<Ref<QRectF>>
)
Holds the current normalized viewport rectangle.
Calls C++ function: [slot] void Qt3DExtras::QForwardRenderer::setViewportRect(const QRectF& viewportRect)
.
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) -> QMutPtr<QObject>
[src]
Holds the current render surface.
Calls C++ function: QObject* Qt3DExtras::QForwardRenderer::surface() const
.
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: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
[src]
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DExtras::QForwardRenderer::tr(const char* s, const char* c, int n)
.
pub unsafe fn tr_utf8(
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
[src]
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
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
.
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(
&mut self,
filter_key: impl CastInto<MutPtr<QFilterKey>>
)
[src]
&mut self,
filter_key: impl CastInto<MutPtr<QFilterKey>>
)
Add the filterKey to the match vector.
Calls C++ function: void Qt3DRender::QTechniqueFilter::addMatch(Qt3DRender::QFilterKey* filterKey)
.
Add the filterKey to the match vector.
pub unsafe fn add_parameter(&mut self, p: impl CastInto<MutPtr<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)
.
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
.
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
.
Returns the current vector of parameters.
pub unsafe fn qt_metacall(
&mut self,
arg1: Call,
arg2: i32,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> i32
[src]
&mut self,
arg1: Call,
arg2: i32,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> i32
Calls C++ function: virtual int Qt3DRender::QTechniqueFilter::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
pub unsafe fn qt_metacast(
&mut self,
arg1: impl CastInto<Ptr<i8>>
) -> MutPtr<c_void>
[src]
&mut self,
arg1: impl CastInto<Ptr<i8>>
) -> MutPtr<c_void>
Calls C++ function: virtual void* Qt3DRender::QTechniqueFilter::qt_metacast(const char* arg1)
.
pub unsafe fn remove_match(
&mut self,
filter_key: impl CastInto<MutPtr<QFilterKey>>
)
[src]
&mut self,
filter_key: impl CastInto<MutPtr<QFilterKey>>
)
Remove the filterKey from the match vector.
Calls C++ function: void Qt3DRender::QTechniqueFilter::removeMatch(Qt3DRender::QFilterKey* filterKey)
.
Remove the filterKey from the match vector.
pub unsafe fn remove_parameter(&mut self, p: impl CastInto<MutPtr<QParameter>>)
[src]
Remove parameter from the vector of parameters passed to the graphics pipeline.
Calls C++ function: void Qt3DRender::QTechniqueFilter::removeParameter(Qt3DRender::QParameter* p)
.
Remove parameter from the vector of parameters passed to the graphics pipeline.
Trait Implementations
impl CppDeletable for QForwardRenderer
[src]
unsafe fn delete(&mut self)
[src]
Destroys the instance of QForwardRenderer.
Calls C++ function: virtual [destructor] void Qt3DExtras::QForwardRenderer::~QForwardRenderer()
.
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 DerefMut for QForwardRenderer
[src]
fn deref_mut(&mut self) -> &mut 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)
.
unsafe fn dynamic_cast_mut(
ptr: MutPtr<QTechniqueFilter>
) -> MutPtr<QForwardRenderer>
[src]
ptr: MutPtr<QTechniqueFilter>
) -> MutPtr<QForwardRenderer>
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)
.
unsafe fn dynamic_cast_mut(
ptr: MutPtr<QFrameGraphNode>
) -> MutPtr<QForwardRenderer>
[src]
ptr: MutPtr<QFrameGraphNode>
) -> MutPtr<QForwardRenderer>
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)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QNode>) -> MutPtr<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)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QObject>) -> MutPtr<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)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QTechniqueFilter>
) -> MutPtr<QForwardRenderer>
[src]
ptr: MutPtr<QTechniqueFilter>
) -> MutPtr<QForwardRenderer>
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)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QFrameGraphNode>
) -> MutPtr<QForwardRenderer>
[src]
ptr: MutPtr<QFrameGraphNode>
) -> MutPtr<QForwardRenderer>
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)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QNode>) -> MutPtr<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)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QObject>) -> MutPtr<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)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<QForwardRenderer>
) -> MutPtr<QFrameGraphNode>
[src]
ptr: MutPtr<QForwardRenderer>
) -> MutPtr<QFrameGraphNode>
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)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QForwardRenderer>) -> MutPtr<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)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QForwardRenderer>) -> MutPtr<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)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<QForwardRenderer>
) -> MutPtr<QTechniqueFilter>
[src]
ptr: MutPtr<QForwardRenderer>
) -> MutPtr<QTechniqueFilter>
Calls C++ function: Qt3DRender::QTechniqueFilter* static_cast<Qt3DRender::QTechniqueFilter*>(Qt3DExtras::QForwardRenderer* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QForwardRenderer
impl Send for QForwardRenderer
impl Sync for QForwardRenderer
impl Unpin for QForwardRenderer
impl UnwindSafe for QForwardRenderer
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,