[][src]Struct qt_3d_render::QStencilOperationArguments

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

The QStencilOperationArguments class sets the actions to be taken when stencil and depth tests fail.

C++ class: Qt3DRender::QStencilOperationArguments.

C++ documentation:

The QStencilOperationArguments class sets the actions to be taken when stencil and depth tests fail.

The Qt3DRender::QStencilOperationArguments class specifies the arguments for the stencil operations.

Methods

impl QStencilOperationArguments[src]

pub fn slot_set_stencil_test_failure_operation(&self) -> Receiver<(Operation,)>[src]

Holds the stencil test operation for when the stencil test fails. Default is StencilOperationArguments.Keep.

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

C++ documentation:

Holds the stencil test operation for when the stencil test fails. Default is StencilOperationArguments.Keep.

Access functions:

Operation stencilTestFailureOperation() const
void setStencilTestFailureOperation(Operation operation)

Notifier signal:

void stencilTestFailureOperationChanged(Operation stencilFail)

pub fn slot_set_depth_test_failure_operation(&self) -> Receiver<(Operation,)>[src]

Holds the stencil test operation for when the stencil test passes, but depth test fails. Default is StencilOperationArguments.Keep.

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

C++ documentation:

Holds the stencil test operation for when the stencil test passes, but depth test fails. Default is StencilOperationArguments.Keep.

Access functions:

Operation depthTestFailureOperation() const
void setDepthTestFailureOperation(Operation operation)

Notifier signal:

void depthTestFailureOperationChanged(Operation depthFail)

pub fn slot_set_all_tests_pass_operation(&self) -> Receiver<(Operation,)>[src]

Holds the stencil test operation for when depth and stencil test pass. Default is StencilOperationArguments.Keep.

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

C++ documentation:

Holds the stencil test operation for when depth and stencil test pass. Default is StencilOperationArguments.Keep.

Access functions:

Operation allTestsPassOperation() const
void setAllTestsPassOperation(Operation operation)

Notifier signal:

void allTestsPassOperationChanged(Operation stencilDepthPass)

pub fn stencil_test_failure_operation_changed(&self) -> Signal<(Operation,)>[src]

Holds the stencil test operation for when the stencil test fails. Default is StencilOperationArguments.Keep.

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

C++ documentation:

Holds the stencil test operation for when the stencil test fails. Default is StencilOperationArguments.Keep.

Access functions:

Operation stencilTestFailureOperation() const
void setStencilTestFailureOperation(Operation operation)

Notifier signal:

void stencilTestFailureOperationChanged(Operation stencilFail)

pub fn depth_test_failure_operation_changed(&self) -> Signal<(Operation,)>[src]

Holds the stencil test operation for when the stencil test passes, but depth test fails. Default is StencilOperationArguments.Keep.

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

C++ documentation:

Holds the stencil test operation for when the stencil test passes, but depth test fails. Default is StencilOperationArguments.Keep.

Access functions:

Operation depthTestFailureOperation() const
void setDepthTestFailureOperation(Operation operation)

Notifier signal:

void depthTestFailureOperationChanged(Operation depthFail)

pub fn all_tests_pass_operation_changed(&self) -> Signal<(Operation,)>[src]

Holds the stencil test operation for when depth and stencil test pass. Default is StencilOperationArguments.Keep.

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

C++ documentation:

Holds the stencil test operation for when depth and stencil test pass. Default is StencilOperationArguments.Keep.

Access functions:

Operation allTestsPassOperation() const
void setAllTestsPassOperation(Operation operation)

Notifier signal:

void allTestsPassOperationChanged(Operation stencilDepthPass)

pub fn face_mode_changed(&self) -> Signal<(FaceMode,)>[src]

Holds the faces the arguments are applied to.

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

C++ documentation:

Holds the faces the arguments are applied to.

Access functions:

FaceMode faceMode() const

Notifier signal:

void faceModeChanged(FaceMode faceMode)

pub unsafe fn all_tests_pass_operation(&self) -> Operation[src]

Holds the stencil test operation for when depth and stencil test pass. Default is StencilOperationArguments.Keep.

Calls C++ function: Qt3DRender::QStencilOperationArguments::Operation Qt3DRender::QStencilOperationArguments::allTestsPassOperation() const.

C++ documentation:

Holds the stencil test operation for when depth and stencil test pass. Default is StencilOperationArguments.Keep.

Access functions:

Operation allTestsPassOperation() const
void setAllTestsPassOperation(Operation operation)

Notifier signal:

void allTestsPassOperationChanged(Operation stencilDepthPass)

pub unsafe fn depth_test_failure_operation(&self) -> Operation[src]

Holds the stencil test operation for when the stencil test passes, but depth test fails. Default is StencilOperationArguments.Keep.

Calls C++ function: Qt3DRender::QStencilOperationArguments::Operation Qt3DRender::QStencilOperationArguments::depthTestFailureOperation() const.

C++ documentation:

Holds the stencil test operation for when the stencil test passes, but depth test fails. Default is StencilOperationArguments.Keep.

Access functions:

Operation depthTestFailureOperation() const
void setDepthTestFailureOperation(Operation operation)

Notifier signal:

void depthTestFailureOperationChanged(Operation depthFail)

pub unsafe fn face_mode(&self) -> FaceMode[src]

Holds the faces the arguments are applied to.

Calls C++ function: Qt3DRender::QStencilOperationArguments::FaceMode Qt3DRender::QStencilOperationArguments::faceMode() const.

C++ documentation:

Holds the faces the arguments are applied to.

Access functions:

FaceMode faceMode() const

Notifier signal:

void faceModeChanged(FaceMode faceMode)

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

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

pub unsafe fn set_all_tests_pass_operation(&self, operation: Operation)[src]

Holds the stencil test operation for when depth and stencil test pass. Default is StencilOperationArguments.Keep.

Calls C++ function: [slot] void Qt3DRender::QStencilOperationArguments::setAllTestsPassOperation(Qt3DRender::QStencilOperationArguments::Operation operation).

C++ documentation:

Holds the stencil test operation for when depth and stencil test pass. Default is StencilOperationArguments.Keep.

Access functions:

Operation allTestsPassOperation() const
void setAllTestsPassOperation(Operation operation)

Notifier signal:

void allTestsPassOperationChanged(Operation stencilDepthPass)

pub unsafe fn set_depth_test_failure_operation(&self, operation: Operation)[src]

Holds the stencil test operation for when the stencil test passes, but depth test fails. Default is StencilOperationArguments.Keep.

Calls C++ function: [slot] void Qt3DRender::QStencilOperationArguments::setDepthTestFailureOperation(Qt3DRender::QStencilOperationArguments::Operation operation).

C++ documentation:

Holds the stencil test operation for when the stencil test passes, but depth test fails. Default is StencilOperationArguments.Keep.

Access functions:

Operation depthTestFailureOperation() const
void setDepthTestFailureOperation(Operation operation)

Notifier signal:

void depthTestFailureOperationChanged(Operation depthFail)

pub unsafe fn set_stencil_test_failure_operation(&self, operation: Operation)[src]

Holds the stencil test operation for when the stencil test fails. Default is StencilOperationArguments.Keep.

Calls C++ function: [slot] void Qt3DRender::QStencilOperationArguments::setStencilTestFailureOperation(Qt3DRender::QStencilOperationArguments::Operation operation).

C++ documentation:

Holds the stencil test operation for when the stencil test fails. Default is StencilOperationArguments.Keep.

Access functions:

Operation stencilTestFailureOperation() const
void setStencilTestFailureOperation(Operation operation)

Notifier signal:

void stencilTestFailureOperationChanged(Operation stencilFail)

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

Returns a reference to the staticMetaObject field.

pub unsafe fn stencil_test_failure_operation(&self) -> Operation[src]

Holds the stencil test operation for when the stencil test fails. Default is StencilOperationArguments.Keep.

Calls C++ function: Qt3DRender::QStencilOperationArguments::Operation Qt3DRender::QStencilOperationArguments::stencilTestFailureOperation() const.

C++ documentation:

Holds the stencil test operation for when the stencil test fails. Default is StencilOperationArguments.Keep.

Access functions:

Operation stencilTestFailureOperation() const
void setStencilTestFailureOperation(Operation operation)

Notifier signal:

void stencilTestFailureOperationChanged(Operation stencilFail)

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

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

Trait Implementations

impl CppDeletable for QStencilOperationArguments[src]

unsafe fn delete(&self)[src]

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

impl Deref for QStencilOperationArguments[src]

type Target = QObject

The resulting type after dereferencing.

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

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

impl DynamicCast<QStencilOperationArguments> for QObject[src]

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

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

impl StaticDowncast<QStencilOperationArguments> for QObject[src]

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

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

impl StaticUpcast<QObject> for QStencilOperationArguments[src]

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

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