[−][src]Struct qt_3d_render::QStencilMask
The QStencilMask class controls the front and back writing of individual bits in the stencil planes.
C++ class: Qt3DRender::QStencilMask
.
The QStencilMask class controls the front and back writing of individual bits in the stencil planes.
A Qt3DRender::QStencilMask class specifies a write mask for the stencil values after the stencil test. Mask can be specified separately for the front-facing and back-facing polygons. The fragment stencil value is and'd with the mask before it is written to the stencil buffer.
Methods
impl QStencilMask
[src]
pub fn slot_set_front_output_mask(&self) -> Receiver<(c_uint,)>
[src]
Holds the write mask for the fragment stencil values for front-facing polygons.
Returns a built-in Qt slot Qt3DRender::QStencilMask::setFrontOutputMask
that can be passed to qt_core::Signal::connect
.
Holds the write mask for the fragment stencil values for front-facing polygons.
Access functions:
uint | frontOutputMask() const |
void | setFrontOutputMask(uint frontOutputMask) |
Notifier signal:
void | frontOutputMaskChanged(uint frontOutputMask) |
pub fn slot_set_back_output_mask(&self) -> Receiver<(c_uint,)>
[src]
Holds the write mask for the fragment stencil values for back-facing polygons.
Returns a built-in Qt slot Qt3DRender::QStencilMask::setBackOutputMask
that can be passed to qt_core::Signal::connect
.
Holds the write mask for the fragment stencil values for back-facing polygons.
Access functions:
uint | backOutputMask() const |
void | setBackOutputMask(uint backOutputMask) |
Notifier signal:
void | backOutputMaskChanged(uint backOutputMask) |
pub fn front_output_mask_changed(&self) -> Signal<(c_uint,)>
[src]
Holds the write mask for the fragment stencil values for front-facing polygons.
Returns a built-in Qt signal Qt3DRender::QStencilMask::frontOutputMaskChanged
that can be passed to qt_core::Signal::connect
.
Holds the write mask for the fragment stencil values for front-facing polygons.
Access functions:
uint | frontOutputMask() const |
void | setFrontOutputMask(uint frontOutputMask) |
Notifier signal:
void | frontOutputMaskChanged(uint frontOutputMask) |
pub fn back_output_mask_changed(&self) -> Signal<(c_uint,)>
[src]
Holds the write mask for the fragment stencil values for back-facing polygons.
Returns a built-in Qt signal Qt3DRender::QStencilMask::backOutputMaskChanged
that can be passed to qt_core::Signal::connect
.
Holds the write mask for the fragment stencil values for back-facing polygons.
Access functions:
uint | backOutputMask() const |
void | setBackOutputMask(uint backOutputMask) |
Notifier signal:
void | backOutputMaskChanged(uint backOutputMask) |
pub unsafe fn back_output_mask(&self) -> c_uint
[src]
Holds the write mask for the fragment stencil values for back-facing polygons.
Calls C++ function: unsigned int Qt3DRender::QStencilMask::backOutputMask() const
.
Holds the write mask for the fragment stencil values for back-facing polygons.
Access functions:
uint | backOutputMask() const |
void | setBackOutputMask(uint backOutputMask) |
Notifier signal:
void | backOutputMaskChanged(uint backOutputMask) |
pub unsafe fn front_output_mask(&self) -> c_uint
[src]
Holds the write mask for the fragment stencil values for front-facing polygons.
Calls C++ function: unsigned int Qt3DRender::QStencilMask::frontOutputMask() const
.
Holds the write mask for the fragment stencil values for front-facing polygons.
Access functions:
uint | frontOutputMask() const |
void | setFrontOutputMask(uint frontOutputMask) |
Notifier signal:
void | frontOutputMaskChanged(uint frontOutputMask) |
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DRender::QStencilMask::metaObject() const
.
pub unsafe fn new_1a(parent: impl CastInto<MutPtr<QNode>>) -> QBox<QStencilMask>
[src]
Default constructs an instance of QStencilMask.
Calls C++ function: [constructor] void Qt3DRender::QStencilMask::QStencilMask(Qt3DCore::QNode* parent = …)
.
Default constructs an instance of QStencilMask.
pub unsafe fn new_0a() -> QBox<QStencilMask>
[src]
The QStencilMask class controls the front and back writing of individual bits in the stencil planes.
Calls C++ function: [constructor] void Qt3DRender::QStencilMask::QStencilMask()
.
The QStencilMask class controls the front and back writing of individual bits in the stencil planes.
A Qt3DRender::QStencilMask class specifies a write mask for the stencil values after the stencil test. Mask can be specified separately for the front-facing and back-facing polygons. The fragment stencil value is and'd with the mask before it is written to the stencil buffer.
pub unsafe fn qt_metacall(
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
[src]
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
Calls C++ function: virtual int Qt3DRender::QStencilMask::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
pub unsafe fn qt_metacast(
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
[src]
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
Calls C++ function: virtual void* Qt3DRender::QStencilMask::qt_metacast(const char* arg1)
.
pub unsafe fn set_back_output_mask(&mut self, back_output_mask: c_uint)
[src]
Holds the write mask for the fragment stencil values for back-facing polygons.
Calls C++ function: [slot] void Qt3DRender::QStencilMask::setBackOutputMask(unsigned int backOutputMask)
.
Holds the write mask for the fragment stencil values for back-facing polygons.
Access functions:
uint | backOutputMask() const |
void | setBackOutputMask(uint backOutputMask) |
Notifier signal:
void | backOutputMaskChanged(uint backOutputMask) |
pub unsafe fn set_front_output_mask(&mut self, front_output_mask: c_uint)
[src]
Holds the write mask for the fragment stencil values for front-facing polygons.
Calls C++ function: [slot] void Qt3DRender::QStencilMask::setFrontOutputMask(unsigned int frontOutputMask)
.
Holds the write mask for the fragment stencil values for front-facing polygons.
Access functions:
uint | frontOutputMask() const |
void | setFrontOutputMask(uint frontOutputMask) |
Notifier signal:
void | frontOutputMaskChanged(uint frontOutputMask) |
pub unsafe fn static_meta_object() -> Ref<QMetaObject>
[src]
Returns a reference to the staticMetaObject
field.
pub unsafe fn tr(
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
[src]
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DRender::QStencilMask::tr(const char* s, const char* c, int n)
.
pub unsafe fn tr_utf8(
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
[src]
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DRender::QStencilMask::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(
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
[src]
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*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(
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
[src]
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
Calls C++ function: virtual void* Qt3DRender::QRenderState::qt_metacast(const char* arg1)
.
Trait Implementations
impl CppDeletable for QStencilMask
[src]
unsafe fn delete(&mut self)
[src]
Calls C++ function: virtual [destructor] void Qt3DRender::QStencilMask::~QStencilMask()
.
impl Deref for QStencilMask
[src]
type Target = QRenderState
The resulting type after dereferencing.
fn deref(&self) -> &QRenderState
[src]
Calls C++ function: Qt3DRender::QRenderState* static_cast<Qt3DRender::QRenderState*>(Qt3DRender::QStencilMask* ptr)
.
impl DerefMut for QStencilMask
[src]
fn deref_mut(&mut self) -> &mut QRenderState
[src]
Calls C++ function: Qt3DRender::QRenderState* static_cast<Qt3DRender::QRenderState*>(Qt3DRender::QStencilMask* ptr)
.
impl DynamicCast<QStencilMask> for QRenderState
[src]
unsafe fn dynamic_cast(ptr: Ptr<QRenderState>) -> Ptr<QStencilMask>
[src]
Calls C++ function: Qt3DRender::QStencilMask* dynamic_cast<Qt3DRender::QStencilMask*>(Qt3DRender::QRenderState* ptr)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QRenderState>) -> MutPtr<QStencilMask>
[src]
Calls C++ function: Qt3DRender::QStencilMask* dynamic_cast<Qt3DRender::QStencilMask*>(Qt3DRender::QRenderState* ptr)
.
impl DynamicCast<QStencilMask> for QNode
[src]
unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QStencilMask>
[src]
Calls C++ function: Qt3DRender::QStencilMask* dynamic_cast<Qt3DRender::QStencilMask*>(Qt3DCore::QNode* ptr)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QNode>) -> MutPtr<QStencilMask>
[src]
Calls C++ function: Qt3DRender::QStencilMask* dynamic_cast<Qt3DRender::QStencilMask*>(Qt3DCore::QNode* ptr)
.
impl DynamicCast<QStencilMask> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QStencilMask>
[src]
Calls C++ function: Qt3DRender::QStencilMask* dynamic_cast<Qt3DRender::QStencilMask*>(QObject* ptr)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QObject>) -> MutPtr<QStencilMask>
[src]
Calls C++ function: Qt3DRender::QStencilMask* dynamic_cast<Qt3DRender::QStencilMask*>(QObject* ptr)
.
impl StaticDowncast<QStencilMask> for QRenderState
[src]
unsafe fn static_downcast(ptr: Ptr<QRenderState>) -> Ptr<QStencilMask>
[src]
Calls C++ function: Qt3DRender::QStencilMask* static_cast<Qt3DRender::QStencilMask*>(Qt3DRender::QRenderState* ptr)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QRenderState>) -> MutPtr<QStencilMask>
[src]
Calls C++ function: Qt3DRender::QStencilMask* static_cast<Qt3DRender::QStencilMask*>(Qt3DRender::QRenderState* ptr)
.
impl StaticDowncast<QStencilMask> for QNode
[src]
unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QStencilMask>
[src]
Calls C++ function: Qt3DRender::QStencilMask* static_cast<Qt3DRender::QStencilMask*>(Qt3DCore::QNode* ptr)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QNode>) -> MutPtr<QStencilMask>
[src]
Calls C++ function: Qt3DRender::QStencilMask* static_cast<Qt3DRender::QStencilMask*>(Qt3DCore::QNode* ptr)
.
impl StaticDowncast<QStencilMask> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QStencilMask>
[src]
Calls C++ function: Qt3DRender::QStencilMask* static_cast<Qt3DRender::QStencilMask*>(QObject* ptr)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QObject>) -> MutPtr<QStencilMask>
[src]
Calls C++ function: Qt3DRender::QStencilMask* static_cast<Qt3DRender::QStencilMask*>(QObject* ptr)
.
impl StaticUpcast<QNode> for QStencilMask
[src]
unsafe fn static_upcast(ptr: Ptr<QStencilMask>) -> Ptr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DRender::QStencilMask* ptr)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QStencilMask>) -> MutPtr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DRender::QStencilMask* ptr)
.
impl StaticUpcast<QObject> for QStencilMask
[src]
unsafe fn static_upcast(ptr: Ptr<QStencilMask>) -> Ptr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(Qt3DRender::QStencilMask* ptr)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QStencilMask>) -> MutPtr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(Qt3DRender::QStencilMask* ptr)
.
impl StaticUpcast<QRenderState> for QStencilMask
[src]
unsafe fn static_upcast(ptr: Ptr<QStencilMask>) -> Ptr<QRenderState>
[src]
Calls C++ function: Qt3DRender::QRenderState* static_cast<Qt3DRender::QRenderState*>(Qt3DRender::QStencilMask* ptr)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QStencilMask>) -> MutPtr<QRenderState>
[src]
Calls C++ function: Qt3DRender::QRenderState* static_cast<Qt3DRender::QRenderState*>(Qt3DRender::QStencilMask* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QStencilMask
impl Send for QStencilMask
impl Sync for QStencilMask
impl Unpin for QStencilMask
impl UnwindSafe for QStencilMask
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]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<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>,