pub struct RetainedCubemapTexture {
pub id: u64,
pub revision: u64,
pub face_size: u32,
pub faces_rgba8: [Arc<Vec<u8>>; 6],
}Expand description
6-face RGBA8 cubemap texture uploadable to wgpu (TextureViewDimension::Cube).
Fields§
§id: u64§revision: u64§face_size: u32Width and height of each square cubemap face in texels.
faces_rgba8: [Arc<Vec<u8>>; 6]6 faces in WebGPU/Vulkan array-layer order: [+X, -X, +Y, -Y, +Z, -Z].
Trait Implementations§
Source§impl Clone for RetainedCubemapTexture
impl Clone for RetainedCubemapTexture
Source§impl Debug for RetainedCubemapTexture
impl Debug for RetainedCubemapTexture
Source§impl PartialEq for RetainedCubemapTexture
impl PartialEq for RetainedCubemapTexture
impl StructuralPartialEq for RetainedCubemapTexture
Auto Trait Implementations§
impl Forget for RetainedCubemapTexture
impl Freeze for RetainedCubemapTexture
impl Move for RetainedCubemapTexture
impl RefUnwindSafe for RetainedCubemapTexture
impl Send for RetainedCubemapTexture
impl Sync for RetainedCubemapTexture
impl Unpin for RetainedCubemapTexture
impl UnsafeUnpin for RetainedCubemapTexture
impl UnwindSafe for RetainedCubemapTexture
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