Realm

vk · Structs · V2

16 public declarations with native signatures and source-owned contracts.

StRustExperimental

Stvk::VideoBeginCodingFlagsKHR

Contract

Open integer representation of VkVideoBeginCodingFlagsKHR.

Khronos reference: VkVideoBeginCodingFlagsKHR

Fields

0

Field
0: u32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: u32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> u32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

Output

Method
type Output = VideoBeginCodingFlagsKHR
The resulting type after applying the & operator.

Output-1

Method
type Output = VideoBeginCodingFlagsKHR
The resulting type after applying the | operator.

Output-2

Method
type Output = VideoBeginCodingFlagsKHR
The resulting type after applying the ^ operator.

clone

Method
fn clone(&self) -> VideoBeginCodingFlagsKHR
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> VideoBeginCodingFlagsKHR
Returns the “default value” for a type. Read more

Output-3

Method
type Output = VideoBeginCodingFlagsKHR
The resulting type after applying the ! operator.

eq

Method
fn eq(&self, other: &VideoBeginCodingFlagsKHR) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::VideoBeginCodingInfoKHR

pub struct VideoBeginCodingInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: VideoBeginCodingFlagsKHR, pub video_session: VideoSessionKHR, pub video_session_parameters: VideoSessionParametersKHR, pub reference_slot_count: u32, pub p_reference_slots: *const VideoReferenceSlotInfoKHR<'a>, /* private fields */ }
Native structure VkVideoBeginCodingInfoKHR.

Contract

Native structure VkVideoBeginCodingInfoKHR.

Khronos reference: VkVideoBeginCodingInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: VideoBeginCodingFlagsKHR

Native field flags.

video_session

Field
video_session: VideoSessionKHR

Native field videoSession.

video_session_parameters

Field
video_session_parameters: VideoSessionParametersKHR

Native field videoSessionParameters.

reference_slot_count

Field
reference_slot_count: u32

Native field referenceSlotCount.

p_reference_slots

Field
p_reference_slots: *const VideoReferenceSlotInfoKHR<'a>

Native field pReferenceSlots.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_flags

Method
pub fn set_flags(self, value: VideoBeginCodingFlagsKHR) -> Self

Set native field flags without native effects.

set_video_session

Method
pub fn set_video_session(self, value: VideoSessionKHR) -> Self

Set native field videoSession without native effects.

set_video_session_parameters

Method
pub fn set_video_session_parameters( self, value: VideoSessionParametersKHR, ) -> Self

Set native field videoSessionParameters without native effects.

set_reference_slot_count

Method
pub fn set_reference_slot_count(self, value: u32) -> Self

Set native count referenceSlotCount directly without checking associated pointer extents. Use the borrowed array helpers to derive matching storage and counts together. Direct count edits support null-query/dynamic-state paths and remain a native-call validity obligation, including after earlier borrowed setters.

set_reference_slots

Method
pub fn set_reference_slots( self, value: &'a [VideoReferenceSlotInfoKHR<'a>], ) -> Result<Self, ConstructionError>

Borrow pReferenceSlots and set checked native count referenceSlotCount. The borrow covers this storage only; nested raw pointers, format, alignment and asynchronous retention remain native-call obligations. Output storage must be initialized; returned sizes do not enlarge its capacity.

Errors

Returns a construction error if the length exceeds the native count width.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::VideoCapabilitiesKHR

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, /* private fields */ }
Native structure VkVideoCapabilitiesKHR.

Contract

Native structure VkVideoCapabilitiesKHR.

Khronos reference: VkVideoCapabilitiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

flags

Field
flags: VideoCapabilityFlagsKHR

Native field flags.

min_bitstream_buffer_offset_alignment

Field
min_bitstream_buffer_offset_alignment: DeviceSize

Native field minBitstreamBufferOffsetAlignment.

min_bitstream_buffer_size_alignment

Field
min_bitstream_buffer_size_alignment: DeviceSize

Native field minBitstreamBufferSizeAlignment.

picture_access_granularity

Field
picture_access_granularity: Extent2D

Native field pictureAccessGranularity.

min_coded_extent

Field
min_coded_extent: Extent2D

Native field minCodedExtent.

max_coded_extent

Field
max_coded_extent: Extent2D

Native field maxCodedExtent.

max_dpb_slots

Field
max_dpb_slots: u32

Native field maxDpbSlots.

max_active_reference_pictures

Field
max_active_reference_pictures: u32

Native field maxActiveReferencePictures.

std_header_version

Field
std_header_version: ExtensionProperties

Native field stdHeaderVersion.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_flags

Method
pub fn set_flags(self, value: VideoCapabilityFlagsKHR) -> Self

Set native field flags without native effects.

set_min_bitstream_buffer_offset_alignment

Method
pub fn set_min_bitstream_buffer_offset_alignment( self, value: DeviceSize, ) -> Self

Set native field minBitstreamBufferOffsetAlignment without native effects.

set_min_bitstream_buffer_size_alignment

Method
pub fn set_min_bitstream_buffer_size_alignment(self, value: DeviceSize) -> Self

Set native field minBitstreamBufferSizeAlignment without native effects.

set_picture_access_granularity

Method
pub fn set_picture_access_granularity(self, value: Extent2D) -> Self

Set native field pictureAccessGranularity without native effects.

set_min_coded_extent

Method
pub fn set_min_coded_extent(self, value: Extent2D) -> Self

Set native field minCodedExtent without native effects.

set_max_coded_extent

Method
pub fn set_max_coded_extent(self, value: Extent2D) -> Self

Set native field maxCodedExtent without native effects.

set_max_dpb_slots

Method
pub fn set_max_dpb_slots(self, value: u32) -> Self

Set native field maxDpbSlots without native effects.

set_max_active_reference_pictures

Method
pub fn set_max_active_reference_pictures(self, value: u32) -> Self

Set native field maxActiveReferencePictures without native effects.

set_std_header_version

Method
pub fn set_std_header_version(self, value: ExtensionProperties) -> Self

Set native field stdHeaderVersion without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::VideoCapabilityFlagBitsKHR

Contract

Open integer representation of VkVideoCapabilityFlagBitsKHR.

Khronos reference: VkVideoCapabilityFlagBitsKHR

Fields

0

Field
0: u32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: u32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> u32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

Output

Method
type Output = VideoCapabilityFlagBitsKHR
The resulting type after applying the & operator.

Output-1

Method
type Output = VideoCapabilityFlagBitsKHR
The resulting type after applying the | operator.

Output-2

Method
type Output = VideoCapabilityFlagBitsKHR
The resulting type after applying the ^ operator.

clone

Method
fn clone(&self) -> VideoCapabilityFlagBitsKHR
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> VideoCapabilityFlagBitsKHR
Returns the “default value” for a type. Read more

Output-3

Method
type Output = VideoCapabilityFlagBitsKHR
The resulting type after applying the ! operator.

eq

Method
fn eq(&self, other: &VideoCapabilityFlagBitsKHR) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::VideoChromaSubsamplingFlagBitsKHR

Contract

Open integer representation of VkVideoChromaSubsamplingFlagBitsKHR.

Khronos reference: VkVideoChromaSubsamplingFlagBitsKHR

Fields

0

Field
0: u32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: u32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> u32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

Output

Method
type Output = VideoChromaSubsamplingFlagBitsKHR
The resulting type after applying the & operator.

Output-1

Method
type Output = VideoChromaSubsamplingFlagBitsKHR
The resulting type after applying the | operator.

Output-2

Method
type Output = VideoChromaSubsamplingFlagBitsKHR
The resulting type after applying the ^ operator.

clone

Method
fn clone(&self) -> VideoChromaSubsamplingFlagBitsKHR
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> VideoChromaSubsamplingFlagBitsKHR
Returns the “default value” for a type. Read more

Output-3

Method
type Output = VideoChromaSubsamplingFlagBitsKHR
The resulting type after applying the ! operator.

eq

Method
fn eq(&self, other: &VideoChromaSubsamplingFlagBitsKHR) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::VideoCodecOperationFlagBitsKHR

Contract

Open integer representation of VkVideoCodecOperationFlagBitsKHR.

Khronos reference: VkVideoCodecOperationFlagBitsKHR

Fields

0

Field
0: u32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: u32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> u32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

Output

Method
type Output = VideoCodecOperationFlagBitsKHR
The resulting type after applying the & operator.

Output-1

Method
type Output = VideoCodecOperationFlagBitsKHR
The resulting type after applying the | operator.

Output-2

Method
type Output = VideoCodecOperationFlagBitsKHR
The resulting type after applying the ^ operator.

clone

Method
fn clone(&self) -> VideoCodecOperationFlagBitsKHR
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> VideoCodecOperationFlagBitsKHR
Returns the “default value” for a type. Read more

Output-3

Method
type Output = VideoCodecOperationFlagBitsKHR
The resulting type after applying the ! operator.

eq

Method
fn eq(&self, other: &VideoCodecOperationFlagBitsKHR) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::VideoCodingControlFlagBitsKHR

Contract

Open integer representation of VkVideoCodingControlFlagBitsKHR.

Khronos reference: VkVideoCodingControlFlagBitsKHR

Fields

0

Field
0: u32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: u32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> u32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

Output

Method
type Output = VideoCodingControlFlagBitsKHR
The resulting type after applying the & operator.

Output-1

Method
type Output = VideoCodingControlFlagBitsKHR
The resulting type after applying the | operator.

Output-2

Method
type Output = VideoCodingControlFlagBitsKHR
The resulting type after applying the ^ operator.

clone

Method
fn clone(&self) -> VideoCodingControlFlagBitsKHR
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> VideoCodingControlFlagBitsKHR
Returns the “default value” for a type. Read more

Output-3

Method
type Output = VideoCodingControlFlagBitsKHR
The resulting type after applying the ! operator.

eq

Method
fn eq(&self, other: &VideoCodingControlFlagBitsKHR) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::VideoCodingControlInfoKHR

pub struct VideoCodingControlInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: VideoCodingControlFlagsKHR, /* private fields */ }
Native structure VkVideoCodingControlInfoKHR.

Contract

Native structure VkVideoCodingControlInfoKHR.

Khronos reference: VkVideoCodingControlInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: VideoCodingControlFlagsKHR

Native field flags.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_flags

Method
pub fn set_flags(self, value: VideoCodingControlFlagsKHR) -> Self

Set native field flags without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::VideoComponentBitDepthFlagBitsKHR

Contract

Open integer representation of VkVideoComponentBitDepthFlagBitsKHR.

Khronos reference: VkVideoComponentBitDepthFlagBitsKHR

Fields

0

Field
0: u32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: u32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> u32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

Output

Method
type Output = VideoComponentBitDepthFlagBitsKHR
The resulting type after applying the & operator.

Output-1

Method
type Output = VideoComponentBitDepthFlagBitsKHR
The resulting type after applying the | operator.

Output-2

Method
type Output = VideoComponentBitDepthFlagBitsKHR
The resulting type after applying the ^ operator.

clone

Method
fn clone(&self) -> VideoComponentBitDepthFlagBitsKHR
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> VideoComponentBitDepthFlagBitsKHR
Returns the “default value” for a type. Read more

Output-3

Method
type Output = VideoComponentBitDepthFlagBitsKHR
The resulting type after applying the ! operator.

eq

Method
fn eq(&self, other: &VideoComponentBitDepthFlagBitsKHR) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::VideoDecodeAV1CapabilitiesKHR

pub struct VideoDecodeAV1CapabilitiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub max_level: StdVideoAV1Level, /* private fields */ }
Native structure VkVideoDecodeAV1CapabilitiesKHR.

Contract

Native structure VkVideoDecodeAV1CapabilitiesKHR.

Khronos reference: VkVideoDecodeAV1CapabilitiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

max_level

Field
max_level: StdVideoAV1Level

Native field maxLevel.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_max_level

Method
pub fn set_max_level(self, value: StdVideoAV1Level) -> Self

Set native field maxLevel without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::VideoDecodeAV1DpbSlotInfoKHR

pub struct VideoDecodeAV1DpbSlotInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_std_reference_info: *const StdVideoDecodeAV1ReferenceInfo, /* private fields */ }
Native structure VkVideoDecodeAV1DpbSlotInfoKHR.

Contract

Native structure VkVideoDecodeAV1DpbSlotInfoKHR.

Khronos reference: VkVideoDecodeAV1DpbSlotInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

p_std_reference_info

Field
p_std_reference_info: *const StdVideoDecodeAV1ReferenceInfo

Native field pStdReferenceInfo.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_std_reference_info

Method
pub fn set_std_reference_info( self, value: &'a StdVideoDecodeAV1ReferenceInfo, ) -> Self

Set native field pStdReferenceInfo without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::VideoDecodeAV1InlineSessionParametersInfoKHR

pub struct VideoDecodeAV1InlineSessionParametersInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_std_sequence_header: *const StdVideoAV1SequenceHeader<'a>, /* private fields */ }
Native structure VkVideoDecodeAV1InlineSessionParametersInfoKHR.

Contract

Native structure VkVideoDecodeAV1InlineSessionParametersInfoKHR.

Khronos reference: VkVideoDecodeAV1InlineSessionParametersInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

p_std_sequence_header

Field
p_std_sequence_header: *const StdVideoAV1SequenceHeader<'a>

Native field pStdSequenceHeader.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_std_sequence_header

Method
pub fn set_std_sequence_header( self, value: &'a StdVideoAV1SequenceHeader<'a>, ) -> Self

Set native field pStdSequenceHeader without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::VideoDecodeAV1PictureInfoKHR

pub struct VideoDecodeAV1PictureInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_std_picture_info: *const StdVideoDecodeAV1PictureInfo<'a>, pub reference_name_slot_indices: [i32; 7], pub frame_header_offset: u32, pub tile_count: u32, pub p_tile_offsets: *const u32, pub p_tile_sizes: *const u32, /* private fields */ }
Native structure VkVideoDecodeAV1PictureInfoKHR.

Contract

Native structure VkVideoDecodeAV1PictureInfoKHR.

Khronos reference: VkVideoDecodeAV1PictureInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

p_std_picture_info

Field
p_std_picture_info: *const StdVideoDecodeAV1PictureInfo<'a>

Native field pStdPictureInfo.

reference_name_slot_indices

Field
reference_name_slot_indices: [i32; 7]

Native field referenceNameSlotIndices.

frame_header_offset

Field
frame_header_offset: u32

Native field frameHeaderOffset.

tile_count

Field
tile_count: u32

Native field tileCount.

p_tile_offsets

Field
p_tile_offsets: *const u32

Native field pTileOffsets.

p_tile_sizes

Field
p_tile_sizes: *const u32

Native field pTileSizes.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_std_picture_info

Method
pub fn set_std_picture_info( self, value: &'a StdVideoDecodeAV1PictureInfo<'a>, ) -> Self

Set native field pStdPictureInfo without native effects.

set_reference_name_slot_indices

Method
pub fn set_reference_name_slot_indices(self, value: [i32; 7]) -> Self

Set native field referenceNameSlotIndices without native effects.

set_frame_header_offset

Method
pub fn set_frame_header_offset(self, value: u32) -> Self

Set native field frameHeaderOffset without native effects.

set_tile_count

Method
pub fn set_tile_count(self, value: u32) -> Self

Set native count tileCount directly without checking associated pointer extents. Use the borrowed array helpers to derive matching storage and counts together. Direct count edits support null-query/dynamic-state paths and remain a native-call validity obligation, including after earlier borrowed setters.

set_tile_offsets

Method
pub fn set_tile_offsets( self, tile_offsets: &'a [u32], tile_sizes: &'a [u32], ) -> Result<Self, ConstructionError>

Borrow parallel arrays sharing native tileCount. Optional arrays may be null. Mutable arrays retain exclusive borrows of initialized output storage. This checks lengths only; native valid usage and later raw edits remain caller obligations.

Errors

Returns a construction error for unequal lengths or native count overflow.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::VideoDecodeAV1ProfileInfoKHR

pub struct VideoDecodeAV1ProfileInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub std_profile: StdVideoAV1Profile, pub film_grain_support: Bool32, /* private fields */ }
Native structure VkVideoDecodeAV1ProfileInfoKHR.

Contract

Native structure VkVideoDecodeAV1ProfileInfoKHR.

Khronos reference: VkVideoDecodeAV1ProfileInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

std_profile

Field
std_profile: StdVideoAV1Profile

Native field stdProfile.

film_grain_support

Field
film_grain_support: Bool32

Native field filmGrainSupport.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_std_profile

Method
pub fn set_std_profile(self, value: StdVideoAV1Profile) -> Self

Set native field stdProfile without native effects.

set_film_grain_support

Method
pub fn set_film_grain_support(self, value: Bool32) -> Self

Set native field filmGrainSupport without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::VideoDecodeAV1SessionParametersCreateInfoKHR

pub struct VideoDecodeAV1SessionParametersCreateInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_std_sequence_header: *const StdVideoAV1SequenceHeader<'a>, /* private fields */ }
Native structure VkVideoDecodeAV1SessionParametersCreateInfoKHR.

Contract

Native structure VkVideoDecodeAV1SessionParametersCreateInfoKHR.

Khronos reference: VkVideoDecodeAV1SessionParametersCreateInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

p_std_sequence_header

Field
p_std_sequence_header: *const StdVideoAV1SequenceHeader<'a>

Native field pStdSequenceHeader.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_std_sequence_header

Method
pub fn set_std_sequence_header( self, value: &'a StdVideoAV1SequenceHeader<'a>, ) -> Self

Set native field pStdSequenceHeader without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::VideoDecodeCapabilitiesKHR

pub struct VideoDecodeCapabilitiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub flags: VideoDecodeCapabilityFlagsKHR, /* private fields */ }
Native structure VkVideoDecodeCapabilitiesKHR.

Contract

Native structure VkVideoDecodeCapabilitiesKHR.

Khronos reference: VkVideoDecodeCapabilitiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

flags

Field
flags: VideoDecodeCapabilityFlagsKHR

Native field flags.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_flags

Method
pub fn set_flags(self, value: VideoDecodeCapabilityFlagsKHR) -> Self

Set native field flags without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.