[−][src]Struct qt_3d_render::QStencilOperationArguments
The QStencilOperationArguments class sets the actions to be taken when stencil and depth tests fail.
C++ class: Qt3DRender::QStencilOperationArguments
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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
.
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]
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
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)
.
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)
.
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)
.
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
.
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]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
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]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
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
impl RefUnwindSafe for QStencilOperationArguments
impl Send for QStencilOperationArguments
impl Sync for QStencilOperationArguments
impl Unpin for QStencilOperationArguments
impl UnwindSafe for QStencilOperationArguments
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>,