[][src]Struct qt_3d_render::QBlendEquationArguments

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

Encapsulates blending information: specifies how the incoming values (what's going to be drawn) are going to affect the existing values (what is already drawn).

C++ class: Qt3DRender::QBlendEquationArguments.

C++ documentation:

Encapsulates blending information: specifies how the incoming values (what's going to be drawn) are going to affect the existing values (what is already drawn).

OpenGL pre-3.0: Set the same blend state for all draw buffers (one QBlendEquationArguments) OpenGL 3.0-pre4.0: Set the same blend state for all draw buffers, but can disable blending for particular buffers (one QBlendEquationArguments for setting glBlendFunc, n QBlendEquationArgumentss for enabling/disabling Draw Buffers) OpenGL 4.0+: Can set blend state individually for each draw buffer.

Methods

impl QBlendEquationArguments[src]

pub fn slot_set_source_rgb(&self) -> Receiver<(Blending,)>[src]

Access functions:

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

C++ documentation:

Access functions:

Blending sourceRgb() const
void setSourceRgb(Blending sourceRgb)

Notifier signal:

void sourceRgbChanged(Blending sourceRgb)

pub fn slot_set_destination_rgb(&self) -> Receiver<(Blending,)>[src]

Access functions:

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

C++ documentation:

Access functions:

Blending destinationRgb() const
void setDestinationRgb(Blending destinationRgb)

Notifier signal:

void destinationRgbChanged(Blending destinationRgb)

pub fn slot_set_source_alpha(&self) -> Receiver<(Blending,)>[src]

Access functions:

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

C++ documentation:

Access functions:

Blending sourceAlpha() const
void setSourceAlpha(Blending sourceAlpha)

Notifier signal:

void sourceAlphaChanged(Blending sourceAlpha)

pub fn slot_set_destination_alpha(&self) -> Receiver<(Blending,)>[src]

Access functions:

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

C++ documentation:

Access functions:

Blending destinationAlpha() const
void setDestinationAlpha(Blending destinationAlpha)

Notifier signal:

void destinationAlphaChanged(Blending destinationAlpha)

pub fn slot_set_source_rgba(&self) -> Receiver<(Blending,)>[src]

Change both sourceRgb and sourceAlpha properties to sourceRgba.

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

C++ documentation:

Change both sourceRgb and sourceAlpha properties to sourceRgba.

pub fn slot_set_destination_rgba(&self) -> Receiver<(Blending,)>[src]

Change both destinationRgb and destinationAlpha properties to destinationRgba.

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

C++ documentation:

Change both destinationRgb and destinationAlpha properties to destinationRgba.

pub fn slot_set_buffer_index(&self) -> Receiver<(c_int,)>[src]

Specifies the index of the Draw Buffer that this BlendEquationArguments applies to. If negative, this will apply to all Draw Buffers.

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

C++ documentation:

Specifies the index of the Draw Buffer that this BlendEquationArguments applies to. If negative, this will apply to all Draw Buffers.

Access functions:

int bufferIndex() const
void setBufferIndex(int index)

Notifier signal:

void bufferIndexChanged(int index)

pub fn source_rgb_changed(&self) -> Signal<(Blending,)>[src]

Access functions:

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

C++ documentation:

Access functions:

Blending sourceRgb() const
void setSourceRgb(Blending sourceRgb)

Notifier signal:

void sourceRgbChanged(Blending sourceRgb)

pub fn source_alpha_changed(&self) -> Signal<(Blending,)>[src]

Access functions:

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

C++ documentation:

Access functions:

Blending sourceAlpha() const
void setSourceAlpha(Blending sourceAlpha)

Notifier signal:

void sourceAlphaChanged(Blending sourceAlpha)

pub fn destination_rgb_changed(&self) -> Signal<(Blending,)>[src]

Access functions:

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

C++ documentation:

Access functions:

Blending destinationRgb() const
void setDestinationRgb(Blending destinationRgb)

Notifier signal:

void destinationRgbChanged(Blending destinationRgb)

pub fn destination_alpha_changed(&self) -> Signal<(Blending,)>[src]

Access functions:

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

C++ documentation:

Access functions:

Blending destinationAlpha() const
void setDestinationAlpha(Blending destinationAlpha)

Notifier signal:

void destinationAlphaChanged(Blending destinationAlpha)

pub fn source_rgba_changed(&self) -> Signal<(Blending,)>[src]

Notify that both sourceRgb and sourceAlpha properties have changed to sourceRgba.

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

C++ documentation:

Notify that both sourceRgb and sourceAlpha properties have changed to sourceRgba.

pub fn destination_rgba_changed(&self) -> Signal<(Blending,)>[src]

Notify that both destinationRgb and destinationAlpha properties have changed to destinationRgba.

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

C++ documentation:

Notify that both destinationRgb and destinationAlpha properties have changed to destinationRgba.

pub fn buffer_index_changed(&self) -> Signal<(c_int,)>[src]

Specifies the index of the Draw Buffer that this BlendEquationArguments applies to. If negative, this will apply to all Draw Buffers.

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

C++ documentation:

Specifies the index of the Draw Buffer that this BlendEquationArguments applies to. If negative, this will apply to all Draw Buffers.

Access functions:

int bufferIndex() const
void setBufferIndex(int index)

Notifier signal:

void bufferIndexChanged(int index)

pub unsafe fn buffer_index(&self) -> c_int[src]

Specifies the index of the Draw Buffer that this BlendEquationArguments applies to. If negative, this will apply to all Draw Buffers.

Calls C++ function: int Qt3DRender::QBlendEquationArguments::bufferIndex() const.

C++ documentation:

Specifies the index of the Draw Buffer that this BlendEquationArguments applies to. If negative, this will apply to all Draw Buffers.

Access functions:

int bufferIndex() const
void setBufferIndex(int index)

Notifier signal:

void bufferIndexChanged(int index)

pub unsafe fn destination_alpha(&self) -> Blending[src]

Access functions:

Calls C++ function: Qt3DRender::QBlendEquationArguments::Blending Qt3DRender::QBlendEquationArguments::destinationAlpha() const.

C++ documentation:

Access functions:

Blending destinationAlpha() const
void setDestinationAlpha(Blending destinationAlpha)

Notifier signal:

void destinationAlphaChanged(Blending destinationAlpha)

pub unsafe fn destination_rgb(&self) -> Blending[src]

Access functions:

Calls C++ function: Qt3DRender::QBlendEquationArguments::Blending Qt3DRender::QBlendEquationArguments::destinationRgb() const.

C++ documentation:

Access functions:

Blending destinationRgb() const
void setDestinationRgb(Blending destinationRgb)

Notifier signal:

void destinationRgbChanged(Blending destinationRgb)

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

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

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

Default constructs an instance of QBlendEquationArguments.

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

C++ documentation:

Default constructs an instance of QBlendEquationArguments.

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

Encapsulates blending information: specifies how the incoming values (what's going to be drawn) are going to affect the existing values (what is already drawn).

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

C++ documentation:

Encapsulates blending information: specifies how the incoming values (what's going to be drawn) are going to affect the existing values (what is already drawn).

OpenGL pre-3.0: Set the same blend state for all draw buffers (one QBlendEquationArguments) OpenGL 3.0-pre4.0: Set the same blend state for all draw buffers, but can disable blending for particular buffers (one QBlendEquationArguments for setting glBlendFunc, n QBlendEquationArgumentss for enabling/disabling Draw Buffers) OpenGL 4.0+: Can set blend state individually for each draw buffer.

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::QBlendEquationArguments::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::QBlendEquationArguments::qt_metacast(const char* arg1).

pub unsafe fn set_buffer_index(&self, index: c_int)[src]

Specifies the index of the Draw Buffer that this BlendEquationArguments applies to. If negative, this will apply to all Draw Buffers.

Calls C++ function: [slot] void Qt3DRender::QBlendEquationArguments::setBufferIndex(int index).

C++ documentation:

Specifies the index of the Draw Buffer that this BlendEquationArguments applies to. If negative, this will apply to all Draw Buffers.

Access functions:

int bufferIndex() const
void setBufferIndex(int index)

Notifier signal:

void bufferIndexChanged(int index)

pub unsafe fn set_destination_alpha(&self, destination_alpha: Blending)[src]

Access functions:

Calls C++ function: [slot] void Qt3DRender::QBlendEquationArguments::setDestinationAlpha(Qt3DRender::QBlendEquationArguments::Blending destinationAlpha).

C++ documentation:

Access functions:

Blending destinationAlpha() const
void setDestinationAlpha(Blending destinationAlpha)

Notifier signal:

void destinationAlphaChanged(Blending destinationAlpha)

pub unsafe fn set_destination_rgb(&self, destination_rgb: Blending)[src]

Access functions:

Calls C++ function: [slot] void Qt3DRender::QBlendEquationArguments::setDestinationRgb(Qt3DRender::QBlendEquationArguments::Blending destinationRgb).

C++ documentation:

Access functions:

Blending destinationRgb() const
void setDestinationRgb(Blending destinationRgb)

Notifier signal:

void destinationRgbChanged(Blending destinationRgb)

pub unsafe fn set_destination_rgba(&self, destination_rgba: Blending)[src]

Change both destinationRgb and destinationAlpha properties to destinationRgba.

Calls C++ function: [slot] void Qt3DRender::QBlendEquationArguments::setDestinationRgba(Qt3DRender::QBlendEquationArguments::Blending destinationRgba).

C++ documentation:

Change both destinationRgb and destinationAlpha properties to destinationRgba.

pub unsafe fn set_source_alpha(&self, source_alpha: Blending)[src]

Access functions:

Calls C++ function: [slot] void Qt3DRender::QBlendEquationArguments::setSourceAlpha(Qt3DRender::QBlendEquationArguments::Blending sourceAlpha).

C++ documentation:

Access functions:

Blending sourceAlpha() const
void setSourceAlpha(Blending sourceAlpha)

Notifier signal:

void sourceAlphaChanged(Blending sourceAlpha)

pub unsafe fn set_source_rgb(&self, source_rgb: Blending)[src]

Access functions:

Calls C++ function: [slot] void Qt3DRender::QBlendEquationArguments::setSourceRgb(Qt3DRender::QBlendEquationArguments::Blending sourceRgb).

C++ documentation:

Access functions:

Blending sourceRgb() const
void setSourceRgb(Blending sourceRgb)

Notifier signal:

void sourceRgbChanged(Blending sourceRgb)

pub unsafe fn set_source_rgba(&self, source_rgba: Blending)[src]

Change both sourceRgb and sourceAlpha properties to sourceRgba.

Calls C++ function: [slot] void Qt3DRender::QBlendEquationArguments::setSourceRgba(Qt3DRender::QBlendEquationArguments::Blending sourceRgba).

C++ documentation:

Change both sourceRgb and sourceAlpha properties to sourceRgba.

pub unsafe fn source_alpha(&self) -> Blending[src]

Access functions:

Calls C++ function: Qt3DRender::QBlendEquationArguments::Blending Qt3DRender::QBlendEquationArguments::sourceAlpha() const.

C++ documentation:

Access functions:

Blending sourceAlpha() const
void setSourceAlpha(Blending sourceAlpha)

Notifier signal:

void sourceAlphaChanged(Blending sourceAlpha)

pub unsafe fn source_rgb(&self) -> Blending[src]

Access functions:

Calls C++ function: Qt3DRender::QBlendEquationArguments::Blending Qt3DRender::QBlendEquationArguments::sourceRgb() const.

C++ documentation:

Access functions:

Blending sourceRgb() const
void setSourceRgb(Blending sourceRgb)

Notifier signal:

void sourceRgbChanged(Blending sourceRgb)

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::QBlendEquationArguments::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::QBlendEquationArguments::trUtf8(const char* s, const char* c, int n).

Methods from Deref<Target = QRenderState>

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

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

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::QRenderState::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::QRenderState::qt_metacast(const char* arg1).

Trait Implementations

impl CppDeletable for QBlendEquationArguments[src]

unsafe fn delete(&self)[src]

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

impl Deref for QBlendEquationArguments[src]

type Target = QRenderState

The resulting type after dereferencing.

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

Calls C++ function: Qt3DRender::QRenderState* static_cast<Qt3DRender::QRenderState*>(Qt3DRender::QBlendEquationArguments* ptr).

impl DynamicCast<QBlendEquationArguments> for QRenderState[src]

unsafe fn dynamic_cast(ptr: Ptr<QRenderState>) -> Ptr<QBlendEquationArguments>[src]

Calls C++ function: Qt3DRender::QBlendEquationArguments* dynamic_cast<Qt3DRender::QBlendEquationArguments*>(Qt3DRender::QRenderState* ptr).

impl DynamicCast<QBlendEquationArguments> for QNode[src]

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

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

impl DynamicCast<QBlendEquationArguments> for QObject[src]

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

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

impl StaticDowncast<QBlendEquationArguments> for QRenderState[src]

unsafe fn static_downcast(
    ptr: Ptr<QRenderState>
) -> Ptr<QBlendEquationArguments>
[src]

Calls C++ function: Qt3DRender::QBlendEquationArguments* static_cast<Qt3DRender::QBlendEquationArguments*>(Qt3DRender::QRenderState* ptr).

impl StaticDowncast<QBlendEquationArguments> for QNode[src]

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

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

impl StaticDowncast<QBlendEquationArguments> for QObject[src]

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

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

impl StaticUpcast<QNode> for QBlendEquationArguments[src]

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

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

impl StaticUpcast<QObject> for QBlendEquationArguments[src]

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

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

impl StaticUpcast<QRenderState> for QBlendEquationArguments[src]

unsafe fn static_upcast(ptr: Ptr<QBlendEquationArguments>) -> Ptr<QRenderState>[src]

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