pub struct Texture {
pub inner: TextureInner,
pub drop_guard: Option<DropGuard>,
pub mip_level_count: u32,
pub array_layer_count: u32,
pub format: TextureFormat,
pub format_desc: TextureFormatDesc,
pub copy_size: CopyExtent,
}
Available on
gles
only.Fields§
§inner: TextureInner
§drop_guard: Option<DropGuard>
§mip_level_count: u32
§array_layer_count: u32
§format: TextureFormat
§format_desc: TextureFormatDesc
§copy_size: CopyExtent
Implementations§
Source§impl Texture
impl Texture
pub fn default_framebuffer(format: TextureFormat) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Texture
impl !RefUnwindSafe for Texture
impl Send for Texture
impl Sync for Texture
impl Unpin for Texture
impl !UnwindSafe for Texture
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