[−][src]Struct qt_3d_render::QBlendEquation
The QBlendEquation class specifies the equation used for both the RGB blend equation and the Alpha blend equation
C++ class: Qt3DRender::QBlendEquation
.
The QBlendEquation class specifies the equation used for both the RGB blend equation and the Alpha blend equation
The blend equation is used to determine how a new pixel is combined with a pixel already in the framebuffer.
Methods
impl QBlendEquation
[src]
pub fn slot_set_blend_function(&self) -> Receiver<(BlendFunction,)>
[src]
Holds the blend function, which determines how source and destination colors are combined.
Returns a built-in Qt slot Qt3DRender::QBlendEquation::setBlendFunction
that can be passed to qt_core::Signal::connect
.
Holds the blend function, which determines how source and destination colors are combined.
Access functions:
BlendFunction | blendFunction() const |
void | setBlendFunction(BlendFunction blendFunction) |
Notifier signal:
void | blendFunctionChanged(BlendFunction blendFunction) |
pub fn blend_function_changed(&self) -> Signal<(BlendFunction,)>
[src]
Holds the blend function, which determines how source and destination colors are combined.
Returns a built-in Qt signal Qt3DRender::QBlendEquation::blendFunctionChanged
that can be passed to qt_core::Signal::connect
.
Holds the blend function, which determines how source and destination colors are combined.
Access functions:
BlendFunction | blendFunction() const |
void | setBlendFunction(BlendFunction blendFunction) |
Notifier signal:
void | blendFunctionChanged(BlendFunction blendFunction) |
pub unsafe fn blend_function(&self) -> BlendFunction
[src]
Holds the blend function, which determines how source and destination colors are combined.
Calls C++ function: Qt3DRender::QBlendEquation::BlendFunction Qt3DRender::QBlendEquation::blendFunction() const
.
Holds the blend function, which determines how source and destination colors are combined.
Access functions:
BlendFunction | blendFunction() const |
void | setBlendFunction(BlendFunction blendFunction) |
Notifier signal:
void | blendFunctionChanged(BlendFunction blendFunction) |
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DRender::QBlendEquation::metaObject() const
.
pub unsafe fn new_1a(parent: impl CastInto<Ptr<QNode>>) -> QBox<QBlendEquation>
[src]
Default constructs an instance of QBlendEquation.
Calls C++ function: [constructor] void Qt3DRender::QBlendEquation::QBlendEquation(Qt3DCore::QNode* parent = …)
.
Default constructs an instance of QBlendEquation.
pub unsafe fn new_0a() -> QBox<QBlendEquation>
[src]
The QBlendEquation class specifies the equation used for both the RGB blend equation and the Alpha blend equation
Calls C++ function: [constructor] void Qt3DRender::QBlendEquation::QBlendEquation()
.
The QBlendEquation class specifies the equation used for both the RGB blend equation and the Alpha blend equation
The blend equation is used to determine how a new pixel is combined with a pixel already in the framebuffer.
pub unsafe fn qt_metacall(
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
[src]
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
Calls C++ function: virtual int Qt3DRender::QBlendEquation::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::QBlendEquation::qt_metacast(const char* arg1)
.
pub unsafe fn set_blend_function(&self, blend_function: BlendFunction)
[src]
Holds the blend function, which determines how source and destination colors are combined.
Calls C++ function: [slot] void Qt3DRender::QBlendEquation::setBlendFunction(Qt3DRender::QBlendEquation::BlendFunction blendFunction)
.
Holds the blend function, which determines how source and destination colors are combined.
Access functions:
BlendFunction | blendFunction() const |
void | setBlendFunction(BlendFunction blendFunction) |
Notifier signal:
void | blendFunctionChanged(BlendFunction blendFunction) |
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]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DRender::QBlendEquation::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]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DRender::QBlendEquation::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]
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
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 QBlendEquation
[src]
unsafe fn delete(&self)
[src]
Calls C++ function: virtual [destructor] void Qt3DRender::QBlendEquation::~QBlendEquation()
.
impl Deref for QBlendEquation
[src]
type Target = QRenderState
The resulting type after dereferencing.
fn deref(&self) -> &QRenderState
[src]
Calls C++ function: Qt3DRender::QRenderState* static_cast<Qt3DRender::QRenderState*>(Qt3DRender::QBlendEquation* ptr)
.
impl DynamicCast<QBlendEquation> for QRenderState
[src]
unsafe fn dynamic_cast(ptr: Ptr<QRenderState>) -> Ptr<QBlendEquation>
[src]
Calls C++ function: Qt3DRender::QBlendEquation* dynamic_cast<Qt3DRender::QBlendEquation*>(Qt3DRender::QRenderState* ptr)
.
impl DynamicCast<QBlendEquation> for QNode
[src]
unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QBlendEquation>
[src]
Calls C++ function: Qt3DRender::QBlendEquation* dynamic_cast<Qt3DRender::QBlendEquation*>(Qt3DCore::QNode* ptr)
.
impl DynamicCast<QBlendEquation> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QBlendEquation>
[src]
Calls C++ function: Qt3DRender::QBlendEquation* dynamic_cast<Qt3DRender::QBlendEquation*>(QObject* ptr)
.
impl StaticDowncast<QBlendEquation> for QRenderState
[src]
unsafe fn static_downcast(ptr: Ptr<QRenderState>) -> Ptr<QBlendEquation>
[src]
Calls C++ function: Qt3DRender::QBlendEquation* static_cast<Qt3DRender::QBlendEquation*>(Qt3DRender::QRenderState* ptr)
.
impl StaticDowncast<QBlendEquation> for QNode
[src]
unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QBlendEquation>
[src]
Calls C++ function: Qt3DRender::QBlendEquation* static_cast<Qt3DRender::QBlendEquation*>(Qt3DCore::QNode* ptr)
.
impl StaticDowncast<QBlendEquation> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QBlendEquation>
[src]
Calls C++ function: Qt3DRender::QBlendEquation* static_cast<Qt3DRender::QBlendEquation*>(QObject* ptr)
.
impl StaticUpcast<QNode> for QBlendEquation
[src]
unsafe fn static_upcast(ptr: Ptr<QBlendEquation>) -> Ptr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DRender::QBlendEquation* ptr)
.
impl StaticUpcast<QObject> for QBlendEquation
[src]
unsafe fn static_upcast(ptr: Ptr<QBlendEquation>) -> Ptr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(Qt3DRender::QBlendEquation* ptr)
.
impl StaticUpcast<QRenderState> for QBlendEquation
[src]
unsafe fn static_upcast(ptr: Ptr<QBlendEquation>) -> Ptr<QRenderState>
[src]
Calls C++ function: Qt3DRender::QRenderState* static_cast<Qt3DRender::QRenderState*>(Qt3DRender::QBlendEquation* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QBlendEquation
impl Send for QBlendEquation
impl Sync for QBlendEquation
impl Unpin for QBlendEquation
impl UnwindSafe for QBlendEquation
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]
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>,