pub struct VulkanFrameAccess(/* private fields */);Expand description
Locked FFmpeg Vulkan surface state passed to the native GPU boundary.
A record on its own is inert: editing one changes no frame. The record a
VulkanFrameAccessGuard or VulkanEncodeFrameAccess writes back is
reachable only through their unsafe access_mut, because the layouts
and timeline values it holds must describe work actually submitted, which
nothing here can check. What a guard unlocks comes from its own copy of
the record begin returned, never from this one.
Implementations§
Source§impl VulkanFrameAccess
impl VulkanFrameAccess
Sourcepub const fn frame(&self) -> &VulkanFrameDescriptor
pub const fn frame(&self) -> &VulkanFrameDescriptor
The frame’s images and their synchronization state.
Sourcepub const fn frame_mut(&mut self) -> &mut VulkanFrameDescriptor
pub const fn frame_mut(&mut self) -> &mut VulkanFrameDescriptor
The frame’s images and their synchronization state, to record the
layouts and timeline values a submission leaves them in (see
VulkanFrameAccessGuard::access_mut for what they must be).
Sourcepub const fn queue_family(&self) -> u32
pub const fn queue_family(&self) -> u32
The queue family the frame’s images are owned by.
Sourcepub const fn layer_count(&self) -> u32
pub const fn layer_count(&self) -> u32
Array layers of each image.