[][src]Struct qt_3d_render::QRenderSettings

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

The QRenderSettings class holds settings related to rendering process and host the active FrameGraph.

C++ class: Qt3DRender::QRenderSettings.

C++ documentation:

The QRenderSettings class holds settings related to rendering process and host the active FrameGraph.

The QRenderSettings component must be set as a component of the scene root entity. It specifies render policy and picking settings, as well as hosts the active FrameGraph.

Methods

impl QRenderSettings[src]

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

Holds the currently active FrameGraph.

Returns a built-in Qt slot Qt3DRender::QRenderSettings::setActiveFrameGraph that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the currently active FrameGraph.

Access functions:

QFrameGraphNode *activeFrameGraph() const
void setActiveFrameGraph(QFrameGraphNode *activeFrameGraph)

Notifier signal:

void activeFrameGraphChanged(QFrameGraphNode *activeFrameGraph)

pub fn slot_set_render_policy(&self) -> Receiver<(RenderPolicy,)>[src]

Holds the current render policy.

Returns a built-in Qt slot Qt3DRender::QRenderSettings::setRenderPolicy that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the current render policy.

Access functions:

RenderPolicy renderPolicy() const
void setRenderPolicy(RenderPolicy renderPolicy)

Notifier signal:

void renderPolicyChanged(RenderPolicy renderPolicy)

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

Holds the currently active FrameGraph.

Returns a built-in Qt signal Qt3DRender::QRenderSettings::activeFrameGraphChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the currently active FrameGraph.

Access functions:

QFrameGraphNode *activeFrameGraph() const
void setActiveFrameGraph(QFrameGraphNode *activeFrameGraph)

Notifier signal:

void activeFrameGraphChanged(QFrameGraphNode *activeFrameGraph)

pub fn render_policy_changed(&self) -> Signal<(RenderPolicy,)>[src]

Holds the current render policy.

Returns a built-in Qt signal Qt3DRender::QRenderSettings::renderPolicyChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the current render policy.

Access functions:

RenderPolicy renderPolicy() const
void setRenderPolicy(RenderPolicy renderPolicy)

Notifier signal:

void renderPolicyChanged(RenderPolicy renderPolicy)

pub unsafe fn active_frame_graph(&self) -> QPtr<QFrameGraphNode>[src]

Holds the currently active FrameGraph.

Calls C++ function: Qt3DRender::QFrameGraphNode* Qt3DRender::QRenderSettings::activeFrameGraph() const.

C++ documentation:

Holds the currently active FrameGraph.

Access functions:

QFrameGraphNode *activeFrameGraph() const
void setActiveFrameGraph(QFrameGraphNode *activeFrameGraph)

Notifier signal:

void activeFrameGraphChanged(QFrameGraphNode *activeFrameGraph)

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

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

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

Default constructs an instance of QRenderSettings.

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

C++ documentation:

Default constructs an instance of QRenderSettings.

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

The QRenderSettings class holds settings related to rendering process and host the active FrameGraph.

Calls C++ function: [constructor] void Qt3DRender::QRenderSettings::QRenderSettings().

C++ documentation:

The QRenderSettings class holds settings related to rendering process and host the active FrameGraph.

The QRenderSettings component must be set as a component of the scene root entity. It specifies render policy and picking settings, as well as hosts the active FrameGraph.

pub unsafe fn picking_settings(&self) -> QPtr<QPickingSettings>[src]

Holds the current pick settings for the FrameGraph.

Calls C++ function: Qt3DRender::QPickingSettings* Qt3DRender::QRenderSettings::pickingSettings().

C++ documentation:

Holds the current pick settings for the FrameGraph.

Access functions:

QPickingSettings *pickingSettings()

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

Calls C++ function: virtual int Qt3DRender::QRenderSettings::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* Qt3DRender::QRenderSettings::qt_metacast(const char* arg1).

pub unsafe fn render_policy(&self) -> RenderPolicy[src]

Holds the current render policy.

Calls C++ function: Qt3DRender::QRenderSettings::RenderPolicy Qt3DRender::QRenderSettings::renderPolicy() const.

C++ documentation:

Holds the current render policy.

Access functions:

RenderPolicy renderPolicy() const
void setRenderPolicy(RenderPolicy renderPolicy)

Notifier signal:

void renderPolicyChanged(RenderPolicy renderPolicy)

pub unsafe fn set_active_frame_graph(
    &self,
    active_frame_graph: impl CastInto<Ptr<QFrameGraphNode>>
)
[src]

Holds the currently active FrameGraph.

Calls C++ function: [slot] void Qt3DRender::QRenderSettings::setActiveFrameGraph(Qt3DRender::QFrameGraphNode* activeFrameGraph).

C++ documentation:

Holds the currently active FrameGraph.

Access functions:

QFrameGraphNode *activeFrameGraph() const
void setActiveFrameGraph(QFrameGraphNode *activeFrameGraph)

Notifier signal:

void activeFrameGraphChanged(QFrameGraphNode *activeFrameGraph)

pub unsafe fn set_render_policy(&self, render_policy: RenderPolicy)[src]

Holds the current render policy.

Calls C++ function: [slot] void Qt3DRender::QRenderSettings::setRenderPolicy(Qt3DRender::QRenderSettings::RenderPolicy renderPolicy).

C++ documentation:

Holds the current render policy.

Access functions:

RenderPolicy renderPolicy() const
void setRenderPolicy(RenderPolicy renderPolicy)

Notifier signal:

void renderPolicyChanged(RenderPolicy renderPolicy)

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

Returns a reference to the staticMetaObject field.

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

Calls C++ function: static QString Qt3DRender::QRenderSettings::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 Qt3DRender::QRenderSettings::trUtf8(const char* s, const char* c, int n).

Trait Implementations

impl CppDeletable for QRenderSettings[src]

unsafe fn delete(&self)[src]

Calls C++ function: virtual [destructor] void Qt3DRender::QRenderSettings::~QRenderSettings().

impl Deref for QRenderSettings[src]

type Target = QComponent

The resulting type after dereferencing.

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

Calls C++ function: Qt3DCore::QComponent* static_cast<Qt3DCore::QComponent*>(Qt3DRender::QRenderSettings* ptr).

impl DynamicCast<QRenderSettings> for QComponent[src]

unsafe fn dynamic_cast(ptr: Ptr<QComponent>) -> Ptr<QRenderSettings>[src]

Calls C++ function: Qt3DRender::QRenderSettings* dynamic_cast<Qt3DRender::QRenderSettings*>(Qt3DCore::QComponent* ptr).

impl DynamicCast<QRenderSettings> for QNode[src]

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

Calls C++ function: Qt3DRender::QRenderSettings* dynamic_cast<Qt3DRender::QRenderSettings*>(Qt3DCore::QNode* ptr).

impl DynamicCast<QRenderSettings> for QObject[src]

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

Calls C++ function: Qt3DRender::QRenderSettings* dynamic_cast<Qt3DRender::QRenderSettings*>(QObject* ptr).

impl StaticDowncast<QRenderSettings> for QComponent[src]

unsafe fn static_downcast(ptr: Ptr<QComponent>) -> Ptr<QRenderSettings>[src]

Calls C++ function: Qt3DRender::QRenderSettings* static_cast<Qt3DRender::QRenderSettings*>(Qt3DCore::QComponent* ptr).

impl StaticDowncast<QRenderSettings> for QNode[src]

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

Calls C++ function: Qt3DRender::QRenderSettings* static_cast<Qt3DRender::QRenderSettings*>(Qt3DCore::QNode* ptr).

impl StaticDowncast<QRenderSettings> for QObject[src]

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

Calls C++ function: Qt3DRender::QRenderSettings* static_cast<Qt3DRender::QRenderSettings*>(QObject* ptr).

impl StaticUpcast<QComponent> for QRenderSettings[src]

unsafe fn static_upcast(ptr: Ptr<QRenderSettings>) -> Ptr<QComponent>[src]

Calls C++ function: Qt3DCore::QComponent* static_cast<Qt3DCore::QComponent*>(Qt3DRender::QRenderSettings* ptr).

impl StaticUpcast<QNode> for QRenderSettings[src]

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

Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DRender::QRenderSettings* ptr).

impl StaticUpcast<QObject> for QRenderSettings[src]

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

Calls C++ function: QObject* static_cast<QObject*>(Qt3DRender::QRenderSettings* 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.