Struct wgpu_hal::TextureDescriptor
source · [−]pub struct TextureDescriptor<'a> {
pub label: Label<'a>,
pub size: Extent3d,
pub mip_level_count: u32,
pub sample_count: u32,
pub dimension: TextureDimension,
pub format: TextureFormat,
pub usage: TextureUses,
pub memory_flags: MemoryFlags,
}
Fields
label: Label<'a>
size: Extent3d
mip_level_count: u32
sample_count: u32
dimension: TextureDimension
format: TextureFormat
usage: TextureUses
memory_flags: MemoryFlags
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for TextureDescriptor<'a>
impl<'a> Send for TextureDescriptor<'a>
impl<'a> Sync for TextureDescriptor<'a>
impl<'a> Unpin for TextureDescriptor<'a>
impl<'a> UnwindSafe for TextureDescriptor<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more