Struct ash::vk::VideoPictureResourceKHRBuilder
source · #[repr(transparent)]pub struct VideoPictureResourceKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> VideoPictureResourceKHRBuilder<'a>
impl<'a> VideoPictureResourceKHRBuilder<'a>
pub fn coded_offset(self, coded_offset: Offset2D) -> Self
pub fn coded_extent(self, coded_extent: Extent2D) -> Self
pub fn base_array_layer(self, base_array_layer: u32) -> Self
pub fn image_view_binding(self, image_view_binding: ImageView) -> Self
sourcepub fn build(self) -> VideoPictureResourceKHR
pub fn build(self) -> VideoPictureResourceKHR
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.