[−][src]Struct qt_3d_render::QTextureDataUpdate
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
.
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]
&self,
other: impl CastInto<Ref<QTextureDataUpdate>>
) -> Ref<QTextureDataUpdate>
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]
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]
cpp_lib_version="5.14.0"
only.Calls C++ function: int Qt3DRender::QTextureDataUpdate::layer() const
.
pub unsafe fn mip_level(&self) -> c_int
[src]
cpp_lib_version="5.14.0"
only.Calls C++ function: int Qt3DRender::QTextureDataUpdate::mipLevel() const
.
pub unsafe fn new() -> CppBox<QTextureDataUpdate>
[src]
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]
other: impl CastInto<Ref<QTextureDataUpdate>>
) -> CppBox<QTextureDataUpdate>
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]
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]
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]
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]
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]
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]
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]
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]
cpp_lib_version="5.14.0"
only.Calls C++ function: int Qt3DRender::QTextureDataUpdate::x() const
.
pub unsafe fn y(&self) -> c_int
[src]
cpp_lib_version="5.14.0"
only.Calls C++ function: int Qt3DRender::QTextureDataUpdate::y() const
.
pub unsafe fn z(&self) -> c_int
[src]
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]
Auto Trait Implementations
impl RefUnwindSafe for QTextureDataUpdate
impl Send for QTextureDataUpdate
impl Sync for QTextureDataUpdate
impl Unpin for QTextureDataUpdate
impl UnwindSafe for QTextureDataUpdate
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>,