pub struct Image { /* private fields */ }
Implementations§
Source§impl Image
impl Image
pub fn new( runtime: &Runtime, allocate_info: &TiImageAllocateInfo, ) -> Result<Self>
pub fn runtime(&self) -> TiRuntime
pub fn image(&self) -> TiImage
pub fn dimension(&self) -> TiImageDimension
pub fn width(&self) -> u32
pub fn height(&self) -> u32
pub fn depth(&self) -> u32
pub fn array_layer_count(&self) -> u32
pub fn mip_level_count(&self) -> u32
pub fn format(&self) -> TiFormat
pub fn export_sharing(&self) -> bool
pub fn usage(&self) -> TiImageUsageFlags
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Image
impl RefUnwindSafe for Image
impl !Send for Image
impl !Sync for Image
impl Unpin for Image
impl UnwindSafe for Image
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