pub struct DataTextureInner {
pub data: DataTextureData,
pub width: u32,
pub height: u32,
pub version: u32,
/* private fields */
}Expand description
The state behind a DataTexture handle.
Fields§
§data: DataTextureDatatexture.image.data.
width: u32texture.image.width.
height: u32texture.image.height.
version: u32texture.version, bumped by needsUpdate = true. The renderer
re-uploads when this runs ahead of uploaded.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DataTextureInner
impl !UnwindSafe for DataTextureInner
impl Freeze for DataTextureInner
impl Send for DataTextureInner
impl Sync for DataTextureInner
impl Unpin for DataTextureInner
impl UnsafeUnpin for DataTextureInner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more