pub struct VulkanTexture {}Fields§
§image: Image§view: ImageView§memory: DeviceMemory§block_id: Option<usize>§offset: u64§allocated_size: u64§width: u32§height: u32§mip_levels: u32§sample_count: u32§format: Format§layout: Mutex<ImageLayout>§owned: boolImplementations§
Source§impl VulkanTexture
impl VulkanTexture
pub fn current_layout(&self) -> ImageLayout
pub fn transition_layout(&self, new_layout: ImageLayout) -> ImageLayout
Trait Implementations§
impl Send for VulkanTexture
impl Sync for VulkanTexture
Auto Trait Implementations§
impl !Freeze for VulkanTexture
impl RefUnwindSafe for VulkanTexture
impl Unpin for VulkanTexture
impl UnsafeUnpin for VulkanTexture
impl UnwindSafe for VulkanTexture
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