[][src]Struct qt_3d_render::QStencilTest

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

The QStencilTest class specifies arguments for the stecil test

C++ class: Qt3DRender::QStencilTest.

C++ documentation:

The QStencilTest class specifies arguments for the stecil test

A Qt3DRender::QStencilTest class specifies argument for the stencil test. The stencil test comprises of three arguments: stencil test function, stencil test mask and stencil reference value. QStencilTest allows these arguments to be set for both front- and back-facing polygons separately.

Methods

impl QStencilTest[src]

pub unsafe fn back(&self) -> QPtr<QStencilTestArguments>[src]

Holds the stencil test arguments for back-facing polygons.

Calls C++ function: Qt3DRender::QStencilTestArguments* Qt3DRender::QStencilTest::back() const.

C++ documentation:

Holds the stencil test arguments for back-facing polygons.

Access functions:

QStencilTestArguments *back() const

pub unsafe fn front(&self) -> QPtr<QStencilTestArguments>[src]

Holds the stencil test arguments for front-facing polygons.

Calls C++ function: Qt3DRender::QStencilTestArguments* Qt3DRender::QStencilTest::front() const.

C++ documentation:

Holds the stencil test arguments for front-facing polygons.

Access functions:

QStencilTestArguments *front() const

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

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

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

Default constructs an instance of QStencilTest.

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

C++ documentation:

Default constructs an instance of QStencilTest.

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

The QStencilTest class specifies arguments for the stecil test

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

C++ documentation:

The QStencilTest class specifies arguments for the stecil test

A Qt3DRender::QStencilTest class specifies argument for the stencil test. The stencil test comprises of three arguments: stencil test function, stencil test mask and stencil reference value. QStencilTest allows these arguments to be set for both front- and back-facing polygons separately.

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

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::QStencilTest::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::QStencilTest::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 QStencilTest[src]

unsafe fn delete(&self)[src]

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

impl Deref for QStencilTest[src]

type Target = QRenderState

The resulting type after dereferencing.

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

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

impl DynamicCast<QStencilTest> for QRenderState[src]

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

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

impl DynamicCast<QStencilTest> for QNode[src]

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

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

impl DynamicCast<QStencilTest> for QObject[src]

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

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

impl StaticDowncast<QStencilTest> for QRenderState[src]

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

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

impl StaticDowncast<QStencilTest> for QNode[src]

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

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

impl StaticDowncast<QStencilTest> for QObject[src]

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

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

impl StaticUpcast<QNode> for QStencilTest[src]

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

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

impl StaticUpcast<QObject> for QStencilTest[src]

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

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

impl StaticUpcast<QRenderState> for QStencilTest[src]

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

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