pub struct VulkanTextureFrame {
pub width: u32,
pub height: u32,
pub scale_factor: f64,
pub slot: u32,
pub image: u64,
pub image_view: u64,
pub device: *mut c_void,
pub format: u32,
pub layout: u32,
}Expand description
The Vulkan image of an acquired frame.
See mln_vulkan_texture_frame in the
C API reference.
Fields§
§width: u32§height: u32§scale_factor: f64§slot: u32The image’s index in the descriptor’s textures.
image: u64The VkImage.
image_view: u64The VkImageView.
device: *mut c_voidThe image’s VkDevice.
format: u32The image’s VkFormat.
layout: u32The VkImageLayout that the frame left the image in.
Trait Implementations§
Source§impl Clone for VulkanTextureFrame
impl Clone for VulkanTextureFrame
Source§fn clone(&self) -> VulkanTextureFrame
fn clone(&self) -> VulkanTextureFrame
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 VulkanTextureFrame
Source§impl Debug for VulkanTextureFrame
impl Debug for VulkanTextureFrame
Source§impl Default for VulkanTextureFrame
impl Default for VulkanTextureFrame
Source§fn default() -> VulkanTextureFrame
fn default() -> VulkanTextureFrame
Returns the “default value” for a type. Read more
Source§impl PartialEq for VulkanTextureFrame
impl PartialEq for VulkanTextureFrame
impl StructuralPartialEq for VulkanTextureFrame
Auto Trait Implementations§
impl !Send for VulkanTextureFrame
impl !Sync for VulkanTextureFrame
impl Freeze for VulkanTextureFrame
impl RefUnwindSafe for VulkanTextureFrame
impl Unpin for VulkanTextureFrame
impl UnsafeUnpin for VulkanTextureFrame
impl UnwindSafe for VulkanTextureFrame
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