pub struct DataArrayTextureInner {
pub data: Vec<f32>,
pub width: u32,
pub height: u32,
pub depth: u32,
/* private fields */
}Expand description
The state behind a DataArrayTexture handle.
Fields§
§data: Vec<f32>new Float32Array( width * height * 4 * depth ) — one RGBA texel per
vertex datum, layer-major.
width: u32image.width.
height: u32image.height.
depth: u32image.depth — the array layer count, i.e. the morph-target count.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DataArrayTextureInner
impl !UnwindSafe for DataArrayTextureInner
impl Freeze for DataArrayTextureInner
impl Send for DataArrayTextureInner
impl Sync for DataArrayTextureInner
impl Unpin for DataArrayTextureInner
impl UnsafeUnpin for DataArrayTextureInner
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