[][src]Struct qt_3d_render::QTextureDataUpdate

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

The actual data content is contained in a QTextureImageDataPtr member. Additional members allow to specify the x, y, z offset of the content update as well as the eventual layer, mipLevel and face.

C++ class: Qt3DRender::QTextureDataUpdate.

C++ documentation:

The actual data content is contained in a QTextureImageDataPtr member. Additional members allow to specify the x, y, z offset of the content update as well as the eventual layer, mipLevel and face.

Methods

impl QTextureDataUpdate[src]

pub unsafe fn copy_from(
    &self,
    other: impl CastInto<Ref<QTextureDataUpdate>>
) -> Ref<QTextureDataUpdate>
[src]

This is supported on cpp_lib_version="5.14.0" only.

Calls C++ function: Qt3DRender::QTextureDataUpdate& Qt3DRender::QTextureDataUpdate::operator=(const Qt3DRender::QTextureDataUpdate& other).

pub unsafe fn face(&self) -> CubeMapFace[src]

This is supported on cpp_lib_version="5.14.0" only.

Calls C++ function: Qt3DRender::QAbstractTexture::CubeMapFace Qt3DRender::QTextureDataUpdate::face() const.

pub unsafe fn layer(&self) -> c_int[src]

This is supported on cpp_lib_version="5.14.0" only.

Calls C++ function: int Qt3DRender::QTextureDataUpdate::layer() const.

pub unsafe fn mip_level(&self) -> c_int[src]

This is supported on cpp_lib_version="5.14.0" only.

Calls C++ function: int Qt3DRender::QTextureDataUpdate::mipLevel() const.

pub unsafe fn new() -> CppBox<QTextureDataUpdate>[src]

This is supported on cpp_lib_version="5.14.0" only.

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

pub unsafe fn new_copy(
    other: impl CastInto<Ref<QTextureDataUpdate>>
) -> CppBox<QTextureDataUpdate>
[src]

This is supported on cpp_lib_version="5.14.0" only.

Calls C++ function: [constructor] void Qt3DRender::QTextureDataUpdate::QTextureDataUpdate(const Qt3DRender::QTextureDataUpdate& other).

pub unsafe fn set_face(&self, face: CubeMapFace)[src]

This is supported on cpp_lib_version="5.14.0" only.

Calls C++ function: void Qt3DRender::QTextureDataUpdate::setFace(Qt3DRender::QAbstractTexture::CubeMapFace face).

pub unsafe fn set_layer(&self, layer: c_int)[src]

This is supported on cpp_lib_version="5.14.0" only.

Calls C++ function: void Qt3DRender::QTextureDataUpdate::setLayer(int layer).

pub unsafe fn set_mip_level(&self, mip_level: c_int)[src]

This is supported on cpp_lib_version="5.14.0" only.

Calls C++ function: void Qt3DRender::QTextureDataUpdate::setMipLevel(int mipLevel).

pub unsafe fn set_x(&self, x: c_int)[src]

This is supported on cpp_lib_version="5.14.0" only.

Calls C++ function: void Qt3DRender::QTextureDataUpdate::setX(int x).

pub unsafe fn set_y(&self, y: c_int)[src]

This is supported on cpp_lib_version="5.14.0" only.

Calls C++ function: void Qt3DRender::QTextureDataUpdate::setY(int y).

pub unsafe fn set_z(&self, z: c_int)[src]

This is supported on cpp_lib_version="5.14.0" only.

Calls C++ function: void Qt3DRender::QTextureDataUpdate::setZ(int z).

pub unsafe fn swap(&self, other: impl CastInto<Ref<QTextureDataUpdate>>)[src]

This is supported on cpp_lib_version="5.14.0" only.

Calls C++ function: void Qt3DRender::QTextureDataUpdate::swap(Qt3DRender::QTextureDataUpdate& other).

pub unsafe fn x(&self) -> c_int[src]

This is supported on cpp_lib_version="5.14.0" only.

Calls C++ function: int Qt3DRender::QTextureDataUpdate::x() const.

pub unsafe fn y(&self) -> c_int[src]

This is supported on cpp_lib_version="5.14.0" only.

Calls C++ function: int Qt3DRender::QTextureDataUpdate::y() const.

pub unsafe fn z(&self) -> c_int[src]

This is supported on cpp_lib_version="5.14.0" only.

Calls C++ function: int Qt3DRender::QTextureDataUpdate::z() const.

Trait Implementations

impl CppDeletable for QTextureDataUpdate[src]

unsafe fn delete(&self)[src]

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

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

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

Calls C++ function: bool Qt3DRender::operator==(const Qt3DRender::QTextureDataUpdate& lhs, const Qt3DRender::QTextureDataUpdate& rhs).

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.