Struct ash::vk::VideoCapabilitiesKHR
source · #[repr(C)]pub struct VideoCapabilitiesKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub flags: VideoCapabilityFlagsKHR,
pub min_bitstream_buffer_offset_alignment: DeviceSize,
pub min_bitstream_buffer_size_alignment: DeviceSize,
pub picture_access_granularity: Extent2D,
pub min_coded_extent: Extent2D,
pub max_coded_extent: Extent2D,
pub max_dpb_slots: u32,
pub max_active_reference_pictures: u32,
pub std_header_version: ExtensionProperties,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§flags: VideoCapabilityFlagsKHR
§min_bitstream_buffer_offset_alignment: DeviceSize
§min_bitstream_buffer_size_alignment: DeviceSize
§picture_access_granularity: Extent2D
§min_coded_extent: Extent2D
§max_coded_extent: Extent2D
§max_dpb_slots: u32
§max_active_reference_pictures: u32
§std_header_version: ExtensionProperties
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> VideoCapabilitiesKHR<'a>
impl<'a> VideoCapabilitiesKHR<'a>
pub fn flags(self, flags: VideoCapabilityFlagsKHR) -> Self
pub fn min_bitstream_buffer_offset_alignment( self, min_bitstream_buffer_offset_alignment: DeviceSize, ) -> Self
pub fn min_bitstream_buffer_size_alignment( self, min_bitstream_buffer_size_alignment: DeviceSize, ) -> Self
pub fn picture_access_granularity( self, picture_access_granularity: Extent2D, ) -> Self
pub fn min_coded_extent(self, min_coded_extent: Extent2D) -> Self
pub fn max_coded_extent(self, max_coded_extent: Extent2D) -> Self
pub fn max_dpb_slots(self, max_dpb_slots: u32) -> Self
pub fn max_active_reference_pictures( self, max_active_reference_pictures: u32, ) -> Self
pub fn std_header_version(self, std_header_version: ExtensionProperties) -> Self
sourcepub fn push_next<T: ExtendsVideoCapabilitiesKHR + ?Sized>(
self,
next: &'a mut T,
) -> Self
pub fn push_next<T: ExtendsVideoCapabilitiesKHR + ?Sized>( self, next: &'a mut T, ) -> Self
Prepends the given extension struct between the root and the first pointer. This
method only exists on structs that can be passed to a function directly. Only
valid extension structs can be pushed into the chain.
If the chain looks like A -> B -> C
, and you call x.push_next(&mut D)
, then the
chain will look like A -> D -> B -> C
.
Trait Implementations§
source§impl<'a> Clone for VideoCapabilitiesKHR<'a>
impl<'a> Clone for VideoCapabilitiesKHR<'a>
source§fn clone(&self) -> VideoCapabilitiesKHR<'a>
fn clone(&self) -> VideoCapabilitiesKHR<'a>
Returns a copy 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<'a> Debug for VideoCapabilitiesKHR<'a>
impl<'a> Debug for VideoCapabilitiesKHR<'a>
source§impl Default for VideoCapabilitiesKHR<'_>
impl Default for VideoCapabilitiesKHR<'_>
source§impl<'a> TaggedStructure for VideoCapabilitiesKHR<'a>
impl<'a> TaggedStructure for VideoCapabilitiesKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::VIDEO_CAPABILITIES_KHR
impl<'a> Copy for VideoCapabilitiesKHR<'a>
impl Send for VideoCapabilitiesKHR<'_>
impl Sync for VideoCapabilitiesKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for VideoCapabilitiesKHR<'a>
impl<'a> RefUnwindSafe for VideoCapabilitiesKHR<'a>
impl<'a> Unpin for VideoCapabilitiesKHR<'a>
impl<'a> UnwindSafe for VideoCapabilitiesKHR<'a>
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