pub enum VulkanImageOwner {
GraphicsQueue,
External,
Foreign,
Unknown(u32),
}Expand description
The queue family that a borrowed image goes to after each frame.
With VulkanImageOwner::External or VulkanImageOwner::Foreign, acquire
the image on your side before you read it. You don’t need to release it
back.
See mln_vulkan_image_owner in the
C API reference.
Variants§
GraphicsQueue
The image stays with the queue family of graphics_queue_family_index.
External
Each frame releases the image to VK_QUEUE_FAMILY_EXTERNAL.
Foreign
Each frame releases the image to VK_QUEUE_FAMILY_FOREIGN_EXT.
Unknown(u32)
Implementations§
Trait Implementations§
Source§impl Clone for VulkanImageOwner
impl Clone for VulkanImageOwner
Source§fn clone(&self) -> VulkanImageOwner
fn clone(&self) -> VulkanImageOwner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VulkanImageOwner
Source§impl Debug for VulkanImageOwner
impl Debug for VulkanImageOwner
Source§impl Default for VulkanImageOwner
impl Default for VulkanImageOwner
impl Eq for VulkanImageOwner
Source§impl Hash for VulkanImageOwner
impl Hash for VulkanImageOwner
Source§impl PartialEq for VulkanImageOwner
impl PartialEq for VulkanImageOwner
impl StructuralPartialEq for VulkanImageOwner
Auto Trait Implementations§
impl Freeze for VulkanImageOwner
impl RefUnwindSafe for VulkanImageOwner
impl Send for VulkanImageOwner
impl Sync for VulkanImageOwner
impl Unpin for VulkanImageOwner
impl UnsafeUnpin for VulkanImageOwner
impl UnwindSafe for VulkanImageOwner
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more