pub struct Texture { /* private fields */ }
Implementations§
Source§impl Texture
impl Texture
pub fn image(&self) -> &Image
pub fn dimension(&self) -> TiImageDimension
pub fn width(&self) -> usize
pub fn height(&self) -> usize
pub fn depth(&self) -> usize
pub fn array_layer_count(&self) -> usize
pub fn mip_level_count(&self) -> u32
pub fn format(&self) -> TiFormat
pub fn export_sharing(&self) -> bool
pub fn usage(&self) -> TiImageUsageFlags
pub fn texture(&self) -> &TiTexture
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