Struct blade_graphics::TextureDesc
source · pub struct TextureDesc<'a> {
pub name: &'a str,
pub format: TextureFormat,
pub size: Extent,
pub array_layer_count: u32,
pub mip_level_count: u32,
pub dimension: TextureDimension,
pub usage: TextureUsage,
}Fields§
§name: &'a str§format: TextureFormat§size: Extent§array_layer_count: u32§mip_level_count: u32§dimension: TextureDimension§usage: TextureUsageTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for TextureDesc<'a>
impl<'a> RefUnwindSafe for TextureDesc<'a>
impl<'a> Send for TextureDesc<'a>
impl<'a> Sync for TextureDesc<'a>
impl<'a> Unpin for TextureDesc<'a>
impl<'a> UnwindSafe for TextureDesc<'a>
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