[][src]Struct qt_3d_render::QTextureImageDataGenerator

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

Provides texture image data for QAbstractTextureImage

C++ class: Qt3DRender::QTextureImageDataGenerator.

C++ documentation:

Provides texture image data for QAbstractTextureImage

QTextureImageDataGenerator is a data provider for QAbstractTexture. QTextureImageDataGenerator can be used to expand Qt3D with more ways to load texture image data as well as support user-defined formats and formats Qt3D does not natively support. The data is returned by the QTextureImageDataPtr which contains the data that will be loaded to the texture. QTextureImageDataGenerator is executed by Aspect jobs in the backend.

Methods from Deref<Target = QAbstractFunctor>

pub unsafe fn id(&self) -> isize[src]

Returns a pointer to the id of the functor.

Calls C++ function: pure virtual qintptr Qt3DRender::QAbstractFunctor::id() const.

C++ documentation:

Returns a pointer to the id of the functor.

Trait Implementations

impl CppDeletable for QTextureImageDataGenerator[src]

unsafe fn delete(&self)[src]

Destroys the instance of QTextureImageDataGenerator. The destructor is virtual.

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

C++ documentation:

Destroys the instance of QTextureImageDataGenerator. The destructor is virtual.

impl Deref for QTextureImageDataGenerator[src]

type Target = QAbstractFunctor

The resulting type after dereferencing.

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

Calls C++ function: Qt3DRender::QAbstractFunctor* static_cast<Qt3DRender::QAbstractFunctor*>(Qt3DRender::QTextureImageDataGenerator* ptr).

impl DynamicCast<QTextureImageDataGenerator> for QAbstractFunctor[src]

unsafe fn dynamic_cast(
    ptr: Ptr<QAbstractFunctor>
) -> Ptr<QTextureImageDataGenerator>
[src]

Calls C++ function: Qt3DRender::QTextureImageDataGenerator* dynamic_cast<Qt3DRender::QTextureImageDataGenerator*>(Qt3DRender::QAbstractFunctor* ptr).

impl PartialEq<Ref<QTextureImageDataGenerator>> for QTextureImageDataGenerator[src]

fn eq(&self, other: &Ref<QTextureImageDataGenerator>) -> bool[src]

Implement the method to compare this texture data generator to other. Returns a boolean that indicates whether the QAbstractTextureImage needs to reload the QTextureImageData.

Calls C++ function: pure virtual bool Qt3DRender::QTextureImageDataGenerator::operator==(const Qt3DRender::QTextureImageDataGenerator& other) const.

C++ documentation:

Implement the method to compare this texture data generator to other. Returns a boolean that indicates whether the QAbstractTextureImage needs to reload the QTextureImageData.

impl StaticDowncast<QTextureImageDataGenerator> for QAbstractFunctor[src]

unsafe fn static_downcast(
    ptr: Ptr<QAbstractFunctor>
) -> Ptr<QTextureImageDataGenerator>
[src]

Calls C++ function: Qt3DRender::QTextureImageDataGenerator* static_cast<Qt3DRender::QTextureImageDataGenerator*>(Qt3DRender::QAbstractFunctor* ptr).

impl StaticUpcast<QAbstractFunctor> for QTextureImageDataGenerator[src]

unsafe fn static_upcast(
    ptr: Ptr<QTextureImageDataGenerator>
) -> Ptr<QAbstractFunctor>
[src]

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