#[repr(C)]pub struct VideoSessionCreateInfoKHR {
pub s_type: StructureType,
pub p_next: *const c_void,
pub queue_family_index: u32,
pub flags: VideoSessionCreateFlagBitsKHR,
pub p_video_profile: *const VideoProfileInfoKHR,
pub picture_format: Format,
pub max_coded_extent: Extent2D,
pub reference_picture_format: Format,
pub max_dpb_slots: u32,
pub max_active_reference_pictures: u32,
pub p_std_header_version: *const ExtensionProperties,
}Expand description
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_VIDEO_SESSION_CREATE_INFO_KHR.
p_next: *const c_voidOptional, may be null.
queue_family_index: u32§flags: VideoSessionCreateFlagBitsKHR§p_video_profile: *const VideoProfileInfoKHR§picture_format: Format§max_coded_extent: Extent2D§reference_picture_format: Format§max_dpb_slots: u32§max_active_reference_pictures: u32§p_std_header_version: *const ExtensionPropertiesImplementations§
Source§impl VideoSessionCreateInfoKHR
impl VideoSessionCreateInfoKHR
Sourcepub fn builder<'a>() -> VideoSessionCreateInfoKHRBuilder<'a>
pub fn builder<'a>() -> VideoSessionCreateInfoKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for VideoSessionCreateInfoKHR
impl Clone for VideoSessionCreateInfoKHR
Source§fn clone(&self) -> VideoSessionCreateInfoKHR
fn clone(&self) -> VideoSessionCreateInfoKHR
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VideoSessionCreateInfoKHR
impl Debug for VideoSessionCreateInfoKHR
Source§impl Default for VideoSessionCreateInfoKHR
impl Default for VideoSessionCreateInfoKHR
Source§fn default() -> VideoSessionCreateInfoKHR
fn default() -> VideoSessionCreateInfoKHR
Returns the “default value” for a type. Read more
impl Copy for VideoSessionCreateInfoKHR
Auto Trait Implementations§
impl Freeze for VideoSessionCreateInfoKHR
impl RefUnwindSafe for VideoSessionCreateInfoKHR
impl !Send for VideoSessionCreateInfoKHR
impl !Sync for VideoSessionCreateInfoKHR
impl Unpin for VideoSessionCreateInfoKHR
impl UnsafeUnpin for VideoSessionCreateInfoKHR
impl UnwindSafe for VideoSessionCreateInfoKHR
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