Realm

vk · Structs · V4

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

StRustExperimental

Stvk::VideoDecodeH265SessionParametersCreateInfoKHR

pub struct VideoDecodeH265SessionParametersCreateInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub max_std_vps_count: u32, pub max_std_sps_count: u32, pub max_std_pps_count: u32, pub p_parameters_add_info: *const VideoDecodeH265SessionParametersAddInfoKHR<'a>, /* private fields */ }
Native structure VkVideoDecodeH265SessionParametersCreateInfoKHR.

Contract

Native structure VkVideoDecodeH265SessionParametersCreateInfoKHR.

Khronos reference: VkVideoDecodeH265SessionParametersCreateInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

max_std_vps_count

Field
max_std_vps_count: u32

Native field maxStdVPSCount.

max_std_sps_count

Field
max_std_sps_count: u32

Native field maxStdSPSCount.

max_std_pps_count

Field
max_std_pps_count: u32

Native field maxStdPPSCount.

p_parameters_add_info

Field
p_parameters_add_info: *const VideoDecodeH265SessionParametersAddInfoKHR<'a>

Native field pParametersAddInfo.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_max_std_vps_count

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

Set native field maxStdVPSCount without native effects.

set_max_std_sps_count

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

Set native field maxStdSPSCount without native effects.

set_max_std_pps_count

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

Set native field maxStdPPSCount without native effects.

set_parameters_add_info

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

Set native field pParametersAddInfo 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::VideoDecodeInfoKHR

pub struct VideoDecodeInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: VideoDecodeFlagsKHR, pub src_buffer: Buffer, pub src_buffer_offset: DeviceSize, pub src_buffer_range: DeviceSize, pub dst_picture_resource: VideoPictureResourceInfoKHR<'a>, pub p_setup_reference_slot: *const VideoReferenceSlotInfoKHR<'a>, pub reference_slot_count: u32, pub p_reference_slots: *const VideoReferenceSlotInfoKHR<'a>, /* private fields */ }
Native structure VkVideoDecodeInfoKHR.

Contract

Native structure VkVideoDecodeInfoKHR.

Khronos reference: VkVideoDecodeInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: VideoDecodeFlagsKHR

Native field flags.

src_buffer

Field
src_buffer: Buffer

Native field srcBuffer.

src_buffer_offset

Field
src_buffer_offset: DeviceSize

Native field srcBufferOffset.

src_buffer_range

Field
src_buffer_range: DeviceSize

Native field srcBufferRange.

dst_picture_resource

Field
dst_picture_resource: VideoPictureResourceInfoKHR<'a>

Native field dstPictureResource.

p_setup_reference_slot

Field
p_setup_reference_slot: *const VideoReferenceSlotInfoKHR<'a>

Native field pSetupReferenceSlot.

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: VideoDecodeFlagsKHR) -> Self

Set native field flags without native effects.

set_src_buffer

Method
pub fn set_src_buffer(self, value: Buffer) -> Self

Set native field srcBuffer without native effects.

set_src_buffer_offset

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

Set native field srcBufferOffset without native effects.

set_src_buffer_range

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

Set native field srcBufferRange without native effects.

set_dst_picture_resource

Method
pub fn set_dst_picture_resource( self, value: VideoPictureResourceInfoKHR<'a>, ) -> Self

Set native field dstPictureResource without native effects.

set_setup_reference_slot

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

Set native field pSetupReferenceSlot 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::VideoDecodeUsageFlagBitsKHR

Contract

Open integer representation of VkVideoDecodeUsageFlagBitsKHR.

Khronos reference: VkVideoDecodeUsageFlagBitsKHR

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 = VideoDecodeUsageFlagBitsKHR
The resulting type after applying the & operator.

Output-1

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

Output-2

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

clone

Method
fn clone(&self) -> VideoDecodeUsageFlagBitsKHR
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() -> VideoDecodeUsageFlagBitsKHR
Returns the “default value” for a type. Read more

Output-3

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

eq

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

Stvk::VideoDecodeUsageInfoKHR

pub struct VideoDecodeUsageInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub video_usage_hints: VideoDecodeUsageFlagsKHR, /* private fields */ }
Native structure VkVideoDecodeUsageInfoKHR.

Contract

Native structure VkVideoDecodeUsageInfoKHR.

Khronos reference: VkVideoDecodeUsageInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

video_usage_hints

Field
video_usage_hints: VideoDecodeUsageFlagsKHR

Native field videoUsageHints.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_video_usage_hints

Method
pub fn set_video_usage_hints(self, value: VideoDecodeUsageFlagsKHR) -> Self

Set native field videoUsageHints 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::VideoDecodeVP9CapabilitiesKHR

pub struct VideoDecodeVP9CapabilitiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub max_level: StdVideoVP9Level, /* private fields */ }
Native structure VkVideoDecodeVP9CapabilitiesKHR.

Contract

Native structure VkVideoDecodeVP9CapabilitiesKHR.

Khronos reference: VkVideoDecodeVP9CapabilitiesKHR

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: StdVideoVP9Level

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: StdVideoVP9Level) -> 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::VideoDecodeVP9PictureInfoKHR

pub struct VideoDecodeVP9PictureInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_std_picture_info: *const StdVideoDecodeVP9PictureInfo<'a>, pub reference_name_slot_indices: [i32; 3], pub uncompressed_header_offset: u32, pub compressed_header_offset: u32, pub tiles_offset: u32, /* private fields */ }
Native structure VkVideoDecodeVP9PictureInfoKHR.

Contract

Native structure VkVideoDecodeVP9PictureInfoKHR.

Khronos reference: VkVideoDecodeVP9PictureInfoKHR

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 StdVideoDecodeVP9PictureInfo<'a>

Native field pStdPictureInfo.

reference_name_slot_indices

Field
reference_name_slot_indices: [i32; 3]

Native field referenceNameSlotIndices.

uncompressed_header_offset

Field
uncompressed_header_offset: u32

Native field uncompressedHeaderOffset.

compressed_header_offset

Field
compressed_header_offset: u32

Native field compressedHeaderOffset.

tiles_offset

Field
tiles_offset: u32

Native field tilesOffset.

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 StdVideoDecodeVP9PictureInfo<'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; 3]) -> Self

Set native field referenceNameSlotIndices without native effects.

set_uncompressed_header_offset

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

Set native field uncompressedHeaderOffset without native effects.

set_compressed_header_offset

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

Set native field compressedHeaderOffset without native effects.

set_tiles_offset

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

Set native field tilesOffset 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::VideoDecodeVP9ProfileInfoKHR

pub struct VideoDecodeVP9ProfileInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub std_profile: StdVideoVP9Profile, /* private fields */ }
Native structure VkVideoDecodeVP9ProfileInfoKHR.

Contract

Native structure VkVideoDecodeVP9ProfileInfoKHR.

Khronos reference: VkVideoDecodeVP9ProfileInfoKHR

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: StdVideoVP9Profile

Native field stdProfile.

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: StdVideoVP9Profile) -> Self

Set native field stdProfile 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::VideoEncodeAV1CapabilitiesKHR

pub struct VideoEncodeAV1CapabilitiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub flags: VideoEncodeAV1CapabilityFlagsKHR, pub max_level: StdVideoAV1Level, pub coded_picture_alignment: Extent2D, pub max_tiles: Extent2D, pub min_tile_size: Extent2D, pub max_tile_size: Extent2D, pub superblock_sizes: VideoEncodeAV1SuperblockSizeFlagsKHR, pub max_single_reference_count: u32, pub single_reference_name_mask: u32, pub max_unidirectional_compound_reference_count: u32, pub max_unidirectional_compound_group1_reference_count: u32, pub unidirectional_compound_reference_name_mask: u32, pub max_bidirectional_compound_reference_count: u32, pub max_bidirectional_compound_group1_reference_count: u32, pub max_bidirectional_compound_group2_reference_count: u32, pub bidirectional_compound_reference_name_mask: u32, pub max_temporal_layer_count: u32, pub max_spatial_layer_count: u32, pub max_operating_points: u32, pub min_q_index: u32, pub max_q_index: u32, pub prefers_gop_remaining_frames: Bool32, pub requires_gop_remaining_frames: Bool32, pub std_syntax_flags: VideoEncodeAV1StdFlagsKHR, /* private fields */ }
Native structure VkVideoEncodeAV1CapabilitiesKHR.

Contract

Native structure VkVideoEncodeAV1CapabilitiesKHR.

Khronos reference: VkVideoEncodeAV1CapabilitiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

flags

Field
flags: VideoEncodeAV1CapabilityFlagsKHR

Native field flags.

max_level

Field
max_level: StdVideoAV1Level

Native field maxLevel.

coded_picture_alignment

Field
coded_picture_alignment: Extent2D

Native field codedPictureAlignment.

max_tiles

Field
max_tiles: Extent2D

Native field maxTiles.

min_tile_size

Field
min_tile_size: Extent2D

Native field minTileSize.

max_tile_size

Field
max_tile_size: Extent2D

Native field maxTileSize.

superblock_sizes

Field
superblock_sizes: VideoEncodeAV1SuperblockSizeFlagsKHR

Native field superblockSizes.

max_single_reference_count

Field
max_single_reference_count: u32

Native field maxSingleReferenceCount.

single_reference_name_mask

Field
single_reference_name_mask: u32

Native field singleReferenceNameMask.

max_unidirectional_compound_reference_count

Field
max_unidirectional_compound_reference_count: u32

Native field maxUnidirectionalCompoundReferenceCount.

max_unidirectional_compound_group1_reference_count

Field
max_unidirectional_compound_group1_reference_count: u32

Native field maxUnidirectionalCompoundGroup1ReferenceCount.

unidirectional_compound_reference_name_mask

Field
unidirectional_compound_reference_name_mask: u32

Native field unidirectionalCompoundReferenceNameMask.

max_bidirectional_compound_reference_count

Field
max_bidirectional_compound_reference_count: u32

Native field maxBidirectionalCompoundReferenceCount.

max_bidirectional_compound_group1_reference_count

Field
max_bidirectional_compound_group1_reference_count: u32

Native field maxBidirectionalCompoundGroup1ReferenceCount.

max_bidirectional_compound_group2_reference_count

Field
max_bidirectional_compound_group2_reference_count: u32

Native field maxBidirectionalCompoundGroup2ReferenceCount.

bidirectional_compound_reference_name_mask

Field
bidirectional_compound_reference_name_mask: u32

Native field bidirectionalCompoundReferenceNameMask.

max_temporal_layer_count

Field
max_temporal_layer_count: u32

Native field maxTemporalLayerCount.

max_spatial_layer_count

Field
max_spatial_layer_count: u32

Native field maxSpatialLayerCount.

max_operating_points

Field
max_operating_points: u32

Native field maxOperatingPoints.

min_q_index

Field
min_q_index: u32

Native field minQIndex.

max_q_index

Field
max_q_index: u32

Native field maxQIndex.

prefers_gop_remaining_frames

Field
prefers_gop_remaining_frames: Bool32

Native field prefersGopRemainingFrames.

requires_gop_remaining_frames

Field
requires_gop_remaining_frames: Bool32

Native field requiresGopRemainingFrames.

std_syntax_flags

Field
std_syntax_flags: VideoEncodeAV1StdFlagsKHR

Native field stdSyntaxFlags.

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: VideoEncodeAV1CapabilityFlagsKHR) -> Self

Set native field flags without native effects.

set_max_level

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

Set native field maxLevel without native effects.

set_coded_picture_alignment

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

Set native field codedPictureAlignment without native effects.

set_max_tiles

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

Set native field maxTiles without native effects.

set_min_tile_size

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

Set native field minTileSize without native effects.

set_max_tile_size

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

Set native field maxTileSize without native effects.

set_superblock_sizes

Method
pub fn set_superblock_sizes( self, value: VideoEncodeAV1SuperblockSizeFlagsKHR, ) -> Self

Set native field superblockSizes without native effects.

set_max_single_reference_count

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

Set native field maxSingleReferenceCount without native effects.

set_single_reference_name_mask

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

Set native field singleReferenceNameMask without native effects.

set_max_unidirectional_compound_reference_count

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

Set native field maxUnidirectionalCompoundReferenceCount without native effects.

set_max_unidirectional_compound_group1_reference_count

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

Set native field maxUnidirectionalCompoundGroup1ReferenceCount without native effects.

set_unidirectional_compound_reference_name_mask

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

Set native field unidirectionalCompoundReferenceNameMask without native effects.

set_max_bidirectional_compound_reference_count

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

Set native field maxBidirectionalCompoundReferenceCount without native effects.

set_max_bidirectional_compound_group1_reference_count

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

Set native field maxBidirectionalCompoundGroup1ReferenceCount without native effects.

set_max_bidirectional_compound_group2_reference_count

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

Set native field maxBidirectionalCompoundGroup2ReferenceCount without native effects.

set_bidirectional_compound_reference_name_mask

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

Set native field bidirectionalCompoundReferenceNameMask without native effects.

set_max_temporal_layer_count

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

Set native field maxTemporalLayerCount without native effects.

set_max_spatial_layer_count

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

Set native field maxSpatialLayerCount without native effects.

set_max_operating_points

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

Set native field maxOperatingPoints without native effects.

set_min_q_index

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

Set native field minQIndex without native effects.

set_max_q_index

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

Set native field maxQIndex without native effects.

set_prefers_gop_remaining_frames

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

Set native field prefersGopRemainingFrames without native effects.

set_requires_gop_remaining_frames

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

Set native field requiresGopRemainingFrames without native effects.

set_std_syntax_flags

Method
pub fn set_std_syntax_flags(self, value: VideoEncodeAV1StdFlagsKHR) -> Self

Set native field stdSyntaxFlags 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::VideoEncodeAV1CapabilityFlagBitsKHR

Contract

Open integer representation of VkVideoEncodeAV1CapabilityFlagBitsKHR.

Khronos reference: VkVideoEncodeAV1CapabilityFlagBitsKHR

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 = VideoEncodeAV1CapabilityFlagBitsKHR
The resulting type after applying the & operator.

Output-1

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

Output-2

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

clone

Method
fn clone(&self) -> VideoEncodeAV1CapabilityFlagBitsKHR
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() -> VideoEncodeAV1CapabilityFlagBitsKHR
Returns the “default value” for a type. Read more

Output-3

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

eq

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

Stvk::VideoEncodeAV1DpbSlotInfoKHR

pub struct VideoEncodeAV1DpbSlotInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_std_reference_info: *const StdVideoEncodeAV1ReferenceInfo<'a>, /* private fields */ }
Native structure VkVideoEncodeAV1DpbSlotInfoKHR.

Contract

Native structure VkVideoEncodeAV1DpbSlotInfoKHR.

Khronos reference: VkVideoEncodeAV1DpbSlotInfoKHR

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 StdVideoEncodeAV1ReferenceInfo<'a>

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 StdVideoEncodeAV1ReferenceInfo<'a>, ) -> 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::VideoEncodeAV1FrameSizeKHR

#[repr(C)]pub struct VideoEncodeAV1FrameSizeKHR { pub intra_frame_size: u32, pub predictive_frame_size: u32, pub bipredictive_frame_size: u32, }
Native structure VkVideoEncodeAV1FrameSizeKHR.

Contract

Native structure VkVideoEncodeAV1FrameSizeKHR.

Khronos reference: VkVideoEncodeAV1FrameSizeKHR

Fields

intra_frame_size

Field
intra_frame_size: u32

Native field intraFrameSize.

predictive_frame_size

Field
predictive_frame_size: u32

Native field predictiveFrameSize.

bipredictive_frame_size

Field
bipredictive_frame_size: u32

Native field bipredictiveFrameSize.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_intra_frame_size

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

Set native field intraFrameSize without native effects.

set_predictive_frame_size

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

Set native field predictiveFrameSize without native effects.

set_bipredictive_frame_size

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

Set native field bipredictiveFrameSize without native effects.

clone

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

Stvk::VideoEncodeAV1GopRemainingFrameInfoKHR

pub struct VideoEncodeAV1GopRemainingFrameInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub use_gop_remaining_frames: Bool32, pub gop_remaining_intra: u32, pub gop_remaining_predictive: u32, pub gop_remaining_bipredictive: u32, /* private fields */ }
Native structure VkVideoEncodeAV1GopRemainingFrameInfoKHR.

Contract

Native structure VkVideoEncodeAV1GopRemainingFrameInfoKHR.

Khronos reference: VkVideoEncodeAV1GopRemainingFrameInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

use_gop_remaining_frames

Field
use_gop_remaining_frames: Bool32

Native field useGopRemainingFrames.

gop_remaining_intra

Field
gop_remaining_intra: u32

Native field gopRemainingIntra.

gop_remaining_predictive

Field
gop_remaining_predictive: u32

Native field gopRemainingPredictive.

gop_remaining_bipredictive

Field
gop_remaining_bipredictive: u32

Native field gopRemainingBipredictive.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_use_gop_remaining_frames

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

Set native field useGopRemainingFrames without native effects.

set_gop_remaining_intra

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

Set native field gopRemainingIntra without native effects.

set_gop_remaining_predictive

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

Set native field gopRemainingPredictive without native effects.

set_gop_remaining_bipredictive

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

Set native field gopRemainingBipredictive 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::VideoEncodeAV1PictureInfoKHR

pub struct VideoEncodeAV1PictureInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub prediction_mode: VideoEncodeAV1PredictionModeKHR, pub rate_control_group: VideoEncodeAV1RateControlGroupKHR, pub constant_q_index: u32, pub p_std_picture_info: *const StdVideoEncodeAV1PictureInfo<'a>, pub reference_name_slot_indices: [i32; 7], pub primary_reference_cdf_only: Bool32, pub generate_obu_extension_header: Bool32, /* private fields */ }
Native structure VkVideoEncodeAV1PictureInfoKHR.

Contract

Native structure VkVideoEncodeAV1PictureInfoKHR.

Khronos reference: VkVideoEncodeAV1PictureInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

prediction_mode

Field
prediction_mode: VideoEncodeAV1PredictionModeKHR

Native field predictionMode.

rate_control_group

Field
rate_control_group: VideoEncodeAV1RateControlGroupKHR

Native field rateControlGroup.

constant_q_index

Field
constant_q_index: u32

Native field constantQIndex.

p_std_picture_info

Field
p_std_picture_info: *const StdVideoEncodeAV1PictureInfo<'a>

Native field pStdPictureInfo.

reference_name_slot_indices

Field
reference_name_slot_indices: [i32; 7]

Native field referenceNameSlotIndices.

primary_reference_cdf_only

Field
primary_reference_cdf_only: Bool32

Native field primaryReferenceCdfOnly.

generate_obu_extension_header

Field
generate_obu_extension_header: Bool32

Native field generateObuExtensionHeader.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_prediction_mode

Method
pub fn set_prediction_mode(self, value: VideoEncodeAV1PredictionModeKHR) -> Self

Set native field predictionMode without native effects.

set_rate_control_group

Method
pub fn set_rate_control_group( self, value: VideoEncodeAV1RateControlGroupKHR, ) -> Self

Set native field rateControlGroup without native effects.

set_constant_q_index

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

Set native field constantQIndex without native effects.

set_std_picture_info

Method
pub fn set_std_picture_info( self, value: &'a StdVideoEncodeAV1PictureInfo<'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_primary_reference_cdf_only

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

Set native field primaryReferenceCdfOnly without native effects.

set_generate_obu_extension_header

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

Set native field generateObuExtensionHeader 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::VideoEncodeAV1PredictionModeKHR

Contract

Open integer representation of VkVideoEncodeAV1PredictionModeKHR.

Khronos reference: VkVideoEncodeAV1PredictionModeKHR

Fields

0

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

Methods and associated items

from_raw

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

as_raw

Method
pub const fn as_raw(self) -> i32
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.

clone

Method
fn clone(&self) -> VideoEncodeAV1PredictionModeKHR
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() -> VideoEncodeAV1PredictionModeKHR
Returns the “default value” for a type. Read more

eq

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

Stvk::VideoEncodeAV1ProfileInfoKHR

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

Contract

Native structure VkVideoEncodeAV1ProfileInfoKHR.

Khronos reference: VkVideoEncodeAV1ProfileInfoKHR

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.

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.

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::VideoEncodeAV1QIndexKHR

Contract

Native structure VkVideoEncodeAV1QIndexKHR.

Khronos reference: VkVideoEncodeAV1QIndexKHR

Fields

intra_q_index

Field
intra_q_index: u32

Native field intraQIndex.

predictive_q_index

Field
predictive_q_index: u32

Native field predictiveQIndex.

bipredictive_q_index

Field
bipredictive_q_index: u32

Native field bipredictiveQIndex.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_intra_q_index

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

Set native field intraQIndex without native effects.

set_predictive_q_index

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

Set native field predictiveQIndex without native effects.

set_bipredictive_q_index

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

Set native field bipredictiveQIndex without native effects.

clone

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