pub struct GpuTextureMipUpload { /* private fields */ }Expand description
Single frame-budgeted incremental GPU texture mipmap level upload payload.
Implementations§
Source§impl GpuTextureMipUpload
Implements impl #impl_generics #name #ty_generics #where_clause.
impl GpuTextureMipUpload
Implements impl #impl_generics #name #ty_generics #where_clause.
pub fn get_texture_slot(&self) -> u32
pub fn get_mut_texture_slot(&mut self) -> &mut u32
pub fn set_texture_slot(&mut self, val: u32) -> &mut Self
pub fn get_mip_level(&self) -> u8
pub fn get_mut_mip_level(&mut self) -> &mut u8
pub fn set_mip_level(&mut self, val: u8) -> &mut Self
pub fn get_total_mip_levels(&self) -> u8
pub fn get_mut_total_mip_levels(&mut self) -> &mut u8
pub fn set_total_mip_levels(&mut self, val: u8) -> &mut Self
pub fn get_is_srgb(&self) -> bool
pub fn get_mut_is_srgb(&mut self) -> &mut bool
pub fn set_is_srgb(&mut self, val: bool) -> &mut Self
pub fn get_min_lod_clamp(&self) -> u8
pub fn get_mut_min_lod_clamp(&mut self) -> &mut u8
pub fn set_min_lod_clamp(&mut self, val: u8) -> &mut Self
pub fn get_width(&self) -> u32
pub fn get_mut_width(&mut self) -> &mut u32
pub fn set_width(&mut self, val: u32) -> &mut Self
pub fn get_height(&self) -> u32
pub fn get_mut_height(&mut self) -> &mut u32
pub fn set_height(&mut self, val: u32) -> &mut Self
pub fn get_rgba8(&self) -> &Vec<u8> ⓘ
pub fn get_mut_rgba8(&mut self) -> &mut Vec<u8> ⓘ
pub fn set_rgba8(&mut self, val: Vec<u8>) -> &mut Self
Trait Implementations§
Source§impl Clone for GpuTextureMipUpload
impl Clone for GpuTextureMipUpload
Source§impl Debug for GpuTextureMipUpload
impl Debug for GpuTextureMipUpload
Source§impl Default for GpuTextureMipUpload
impl Default for GpuTextureMipUpload
impl Eq for GpuTextureMipUpload
Source§impl PartialEq for GpuTextureMipUpload
impl PartialEq for GpuTextureMipUpload
impl StructuralPartialEq for GpuTextureMipUpload
Auto Trait Implementations§
impl Forget for GpuTextureMipUpload
impl Freeze for GpuTextureMipUpload
impl Move for GpuTextureMipUpload
impl RefUnwindSafe for GpuTextureMipUpload
impl Send for GpuTextureMipUploadwhere
RawVecInner: Send,
impl Sync for GpuTextureMipUploadwhere
RawVecInner: Sync,
impl Unpin for GpuTextureMipUpload
impl UnsafeUnpin for GpuTextureMipUpload
impl UnwindSafe for GpuTextureMipUploadwhere
RawVecInner: UnwindSafe,
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