pub struct VulkanImage {
pub size: TextureSize,
pub image: Image,
pub memory: DeviceMemory,
pub format_features: FormatFeatureFlags,
pub layout: ImageLayout,
pub queue_family_index: u32,
}Expand description
One sender-owned image of the frame (QarVideoTextureVulkan), copied out
of the library’s record.
Fields§
§size: TextureSize§image: Image§memory: DeviceMemory§format_features: FormatFeatureFlagsFormat features of the image’s format, as QAROS reports them. The image’s usage flags are not reported.
layout: ImageLayoutThe layout the image is in now: transition from it.
queue_family_index: u32The queue family that owns the image now; VK_QUEUE_FAMILY_IGNORED
means no ownership transfer is needed.
Trait Implementations§
Source§impl Clone for VulkanImage
impl Clone for VulkanImage
impl Copy for VulkanImage
Source§impl Debug for VulkanImage
impl Debug for VulkanImage
impl Eq for VulkanImage
Source§impl PartialEq for VulkanImage
impl PartialEq for VulkanImage
impl StructuralPartialEq for VulkanImage
Auto Trait Implementations§
impl Freeze for VulkanImage
impl RefUnwindSafe for VulkanImage
impl Send for VulkanImage
impl Sync for VulkanImage
impl Unpin for VulkanImage
impl UnsafeUnpin for VulkanImage
impl UnwindSafe for VulkanImage
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