Realm

vk · Structs · V6

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

StRustExperimental

Stvk::VideoEncodeH264CapabilitiesKHR

pub struct VideoEncodeH264CapabilitiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub flags: VideoEncodeH264CapabilityFlagsKHR, pub max_level_idc: StdVideoH264LevelIdc, pub max_slice_count: u32, pub max_p_picture_l0_reference_count: u32, pub max_b_picture_l0_reference_count: u32, pub max_l1_reference_count: u32, pub max_temporal_layer_count: u32, pub expect_dyadic_temporal_layer_pattern: Bool32, pub min_qp: i32, pub max_qp: i32, pub prefers_gop_remaining_frames: Bool32, pub requires_gop_remaining_frames: Bool32, pub std_syntax_flags: VideoEncodeH264StdFlagsKHR, /* private fields */ }
Native structure VkVideoEncodeH264CapabilitiesKHR.

Contract

Native structure VkVideoEncodeH264CapabilitiesKHR.

Khronos reference: VkVideoEncodeH264CapabilitiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

flags

Field
flags: VideoEncodeH264CapabilityFlagsKHR

Native field flags.

max_level_idc

Field
max_level_idc: StdVideoH264LevelIdc

Native field maxLevelIdc.

max_slice_count

Field
max_slice_count: u32

Native field maxSliceCount.

max_p_picture_l0_reference_count

Field
max_p_picture_l0_reference_count: u32

Native field maxPPictureL0ReferenceCount.

max_b_picture_l0_reference_count

Field
max_b_picture_l0_reference_count: u32

Native field maxBPictureL0ReferenceCount.

max_l1_reference_count

Field
max_l1_reference_count: u32

Native field maxL1ReferenceCount.

max_temporal_layer_count

Field
max_temporal_layer_count: u32

Native field maxTemporalLayerCount.

expect_dyadic_temporal_layer_pattern

Field
expect_dyadic_temporal_layer_pattern: Bool32

Native field expectDyadicTemporalLayerPattern.

min_qp

Field
min_qp: i32

Native field minQp.

max_qp

Field
max_qp: i32

Native field maxQp.

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

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

Set native field flags without native effects.

set_max_level_idc

Method
pub fn set_max_level_idc(self, value: StdVideoH264LevelIdc) -> Self

Set native field maxLevelIdc without native effects.

set_max_slice_count

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

Set native field maxSliceCount without native effects.

set_max_p_picture_l0_reference_count

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

Set native field maxPPictureL0ReferenceCount without native effects.

set_max_b_picture_l0_reference_count

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

Set native field maxBPictureL0ReferenceCount without native effects.

set_max_l1_reference_count

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

Set native field maxL1ReferenceCount 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_expect_dyadic_temporal_layer_pattern

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

Set native field expectDyadicTemporalLayerPattern without native effects.

set_min_qp

Method
pub fn set_min_qp(self, value: i32) -> Self

Set native field minQp without native effects.

set_max_qp

Method
pub fn set_max_qp(self, value: i32) -> Self

Set native field maxQp 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: VideoEncodeH264StdFlagsKHR) -> 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::VideoEncodeH264CapabilityFlagBitsKHR

Contract

Open integer representation of VkVideoEncodeH264CapabilityFlagBitsKHR.

Khronos reference: VkVideoEncodeH264CapabilityFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoEncodeH264DpbSlotInfoKHR

pub struct VideoEncodeH264DpbSlotInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_std_reference_info: *const StdVideoEncodeH264ReferenceInfo, /* private fields */ }
Native structure VkVideoEncodeH264DpbSlotInfoKHR.

Contract

Native structure VkVideoEncodeH264DpbSlotInfoKHR.

Khronos reference: VkVideoEncodeH264DpbSlotInfoKHR

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 StdVideoEncodeH264ReferenceInfo

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 StdVideoEncodeH264ReferenceInfo, ) -> 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::VideoEncodeH264FrameSizeKHR

Contract

Native structure VkVideoEncodeH264FrameSizeKHR.

Khronos reference: VkVideoEncodeH264FrameSizeKHR

Fields

frame_i_size

Field
frame_i_size: u32

Native field frameISize.

frame_p_size

Field
frame_p_size: u32

Native field framePSize.

frame_b_size

Field
frame_b_size: u32

Native field frameBSize.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_frame_i_size

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

Set native field frameISize without native effects.

set_frame_p_size

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

Set native field framePSize without native effects.

set_frame_b_size

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

Set native field frameBSize without native effects.

clone

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

Stvk::VideoEncodeH264GopRemainingFrameInfoKHR

pub struct VideoEncodeH264GopRemainingFrameInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub use_gop_remaining_frames: Bool32, pub gop_remaining_i: u32, pub gop_remaining_p: u32, pub gop_remaining_b: u32, /* private fields */ }
Native structure VkVideoEncodeH264GopRemainingFrameInfoKHR.

Contract

Native structure VkVideoEncodeH264GopRemainingFrameInfoKHR.

Khronos reference: VkVideoEncodeH264GopRemainingFrameInfoKHR

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_i

Field
gop_remaining_i: u32

Native field gopRemainingI.

gop_remaining_p

Field
gop_remaining_p: u32

Native field gopRemainingP.

gop_remaining_b

Field
gop_remaining_b: u32

Native field gopRemainingB.

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_i

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

Set native field gopRemainingI without native effects.

set_gop_remaining_p

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

Set native field gopRemainingP without native effects.

set_gop_remaining_b

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

Set native field gopRemainingB 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::VideoEncodeH264NaluSliceInfoKHR

pub struct VideoEncodeH264NaluSliceInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub constant_qp: i32, pub p_std_slice_header: *const StdVideoEncodeH264SliceHeader<'a>, /* private fields */ }
Native structure VkVideoEncodeH264NaluSliceInfoKHR.

Contract

Native structure VkVideoEncodeH264NaluSliceInfoKHR.

Khronos reference: VkVideoEncodeH264NaluSliceInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

constant_qp

Field
constant_qp: i32

Native field constantQp.

p_std_slice_header

Field
p_std_slice_header: *const StdVideoEncodeH264SliceHeader<'a>

Native field pStdSliceHeader.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_constant_qp

Method
pub fn set_constant_qp(self, value: i32) -> Self

Set native field constantQp without native effects.

set_std_slice_header

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

Set native field pStdSliceHeader 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::VideoEncodeH264PictureInfoKHR

pub struct VideoEncodeH264PictureInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub nalu_slice_entry_count: u32, pub p_nalu_slice_entries: *const VideoEncodeH264NaluSliceInfoKHR<'a>, pub p_std_picture_info: *const StdVideoEncodeH264PictureInfo<'a>, pub generate_prefix_nalu: Bool32, /* private fields */ }
Native structure VkVideoEncodeH264PictureInfoKHR.

Contract

Native structure VkVideoEncodeH264PictureInfoKHR.

Khronos reference: VkVideoEncodeH264PictureInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

nalu_slice_entry_count

Field
nalu_slice_entry_count: u32

Native field naluSliceEntryCount.

p_nalu_slice_entries

Field
p_nalu_slice_entries: *const VideoEncodeH264NaluSliceInfoKHR<'a>

Native field pNaluSliceEntries.

p_std_picture_info

Field
p_std_picture_info: *const StdVideoEncodeH264PictureInfo<'a>

Native field pStdPictureInfo.

generate_prefix_nalu

Field
generate_prefix_nalu: Bool32

Native field generatePrefixNalu.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_nalu_slice_entry_count

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

Set native count naluSliceEntryCount 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_nalu_slice_entries

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

Borrow pNaluSliceEntries and set checked native count naluSliceEntryCount. 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.

set_std_picture_info

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

Set native field pStdPictureInfo without native effects.

set_generate_prefix_nalu

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

Set native field generatePrefixNalu 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::VideoEncodeH264ProfileInfoKHR

pub struct VideoEncodeH264ProfileInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub std_profile_idc: StdVideoH264ProfileIdc, /* private fields */ }
Native structure VkVideoEncodeH264ProfileInfoKHR.

Contract

Native structure VkVideoEncodeH264ProfileInfoKHR.

Khronos reference: VkVideoEncodeH264ProfileInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

std_profile_idc

Field
std_profile_idc: StdVideoH264ProfileIdc

Native field stdProfileIdc.

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_idc

Method
pub fn set_std_profile_idc(self, value: StdVideoH264ProfileIdc) -> Self

Set native field stdProfileIdc 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::VideoEncodeH264QpKHR

Contract

Native structure VkVideoEncodeH264QpKHR.

Khronos reference: VkVideoEncodeH264QpKHR

Fields

qp_i

Field
qp_i: i32

Native field qpI.

qp_p

Field
qp_p: i32

Native field qpP.

qp_b

Field
qp_b: i32

Native field qpB.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_qp_i

Method
pub fn set_qp_i(self, value: i32) -> Self

Set native field qpI without native effects.

set_qp_p

Method
pub fn set_qp_p(self, value: i32) -> Self

Set native field qpP without native effects.

set_qp_b

Method
pub fn set_qp_b(self, value: i32) -> Self

Set native field qpB without native effects.

clone

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

Stvk::VideoEncodeH264QualityLevelPropertiesKHR

pub struct VideoEncodeH264QualityLevelPropertiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub preferred_rate_control_flags: VideoEncodeH264RateControlFlagsKHR, pub preferred_gop_frame_count: u32, pub preferred_idr_period: u32, pub preferred_consecutive_b_frame_count: u32, pub preferred_temporal_layer_count: u32, pub preferred_constant_qp: VideoEncodeH264QpKHR, pub preferred_max_l0_reference_count: u32, pub preferred_max_l1_reference_count: u32, pub preferred_std_entropy_coding_mode_flag: Bool32, /* private fields */ }
Native structure VkVideoEncodeH264QualityLevelPropertiesKHR.

Contract

Native structure VkVideoEncodeH264QualityLevelPropertiesKHR.

Khronos reference: VkVideoEncodeH264QualityLevelPropertiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

preferred_rate_control_flags

Field
preferred_rate_control_flags: VideoEncodeH264RateControlFlagsKHR

Native field preferredRateControlFlags.

preferred_gop_frame_count

Field
preferred_gop_frame_count: u32

Native field preferredGopFrameCount.

preferred_idr_period

Field
preferred_idr_period: u32

Native field preferredIdrPeriod.

preferred_consecutive_b_frame_count

Field
preferred_consecutive_b_frame_count: u32

Native field preferredConsecutiveBFrameCount.

preferred_temporal_layer_count

Field
preferred_temporal_layer_count: u32

Native field preferredTemporalLayerCount.

preferred_constant_qp

Field
preferred_constant_qp: VideoEncodeH264QpKHR

Native field preferredConstantQp.

preferred_max_l0_reference_count

Field
preferred_max_l0_reference_count: u32

Native field preferredMaxL0ReferenceCount.

preferred_max_l1_reference_count

Field
preferred_max_l1_reference_count: u32

Native field preferredMaxL1ReferenceCount.

preferred_std_entropy_coding_mode_flag

Field
preferred_std_entropy_coding_mode_flag: Bool32

Native field preferredStdEntropyCodingModeFlag.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_preferred_rate_control_flags

Method
pub fn set_preferred_rate_control_flags( self, value: VideoEncodeH264RateControlFlagsKHR, ) -> Self

Set native field preferredRateControlFlags without native effects.

set_preferred_gop_frame_count

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

Set native field preferredGopFrameCount without native effects.

set_preferred_idr_period

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

Set native field preferredIdrPeriod without native effects.

set_preferred_consecutive_b_frame_count

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

Set native field preferredConsecutiveBFrameCount without native effects.

set_preferred_temporal_layer_count

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

Set native field preferredTemporalLayerCount without native effects.

set_preferred_constant_qp

Method
pub fn set_preferred_constant_qp(self, value: VideoEncodeH264QpKHR) -> Self

Set native field preferredConstantQp without native effects.

set_preferred_max_l0_reference_count

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

Set native field preferredMaxL0ReferenceCount without native effects.

set_preferred_max_l1_reference_count

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

Set native field preferredMaxL1ReferenceCount without native effects.

set_preferred_std_entropy_coding_mode_flag

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

Set native field preferredStdEntropyCodingModeFlag 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::VideoEncodeH264QuantizationMapCapabilitiesKHR

pub struct VideoEncodeH264QuantizationMapCapabilitiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub min_qp_delta: i32, pub max_qp_delta: i32, /* private fields */ }
Native structure VkVideoEncodeH264QuantizationMapCapabilitiesKHR.

Contract

Native structure VkVideoEncodeH264QuantizationMapCapabilitiesKHR.

Khronos reference: VkVideoEncodeH264QuantizationMapCapabilitiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

min_qp_delta

Field
min_qp_delta: i32

Native field minQpDelta.

max_qp_delta

Field
max_qp_delta: i32

Native field maxQpDelta.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_min_qp_delta

Method
pub fn set_min_qp_delta(self, value: i32) -> Self

Set native field minQpDelta without native effects.

set_max_qp_delta

Method
pub fn set_max_qp_delta(self, value: i32) -> Self

Set native field maxQpDelta 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::VideoEncodeH264RateControlFlagBitsKHR

Contract

Open integer representation of VkVideoEncodeH264RateControlFlagBitsKHR.

Khronos reference: VkVideoEncodeH264RateControlFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoEncodeH264RateControlInfoKHR

pub struct VideoEncodeH264RateControlInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: VideoEncodeH264RateControlFlagsKHR, pub gop_frame_count: u32, pub idr_period: u32, pub consecutive_b_frame_count: u32, pub temporal_layer_count: u32, /* private fields */ }
Native structure VkVideoEncodeH264RateControlInfoKHR.

Contract

Native structure VkVideoEncodeH264RateControlInfoKHR.

Khronos reference: VkVideoEncodeH264RateControlInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: VideoEncodeH264RateControlFlagsKHR

Native field flags.

gop_frame_count

Field
gop_frame_count: u32

Native field gopFrameCount.

idr_period

Field
idr_period: u32

Native field idrPeriod.

consecutive_b_frame_count

Field
consecutive_b_frame_count: u32

Native field consecutiveBFrameCount.

temporal_layer_count

Field
temporal_layer_count: u32

Native field temporalLayerCount.

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

Set native field flags without native effects.

set_gop_frame_count

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

Set native field gopFrameCount without native effects.

set_idr_period

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

Set native field idrPeriod without native effects.

set_consecutive_b_frame_count

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

Set native field consecutiveBFrameCount without native effects.

set_temporal_layer_count

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

Set native field temporalLayerCount 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::VideoEncodeH264RateControlLayerInfoKHR

pub struct VideoEncodeH264RateControlLayerInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub use_min_qp: Bool32, pub min_qp: VideoEncodeH264QpKHR, pub use_max_qp: Bool32, pub max_qp: VideoEncodeH264QpKHR, pub use_max_frame_size: Bool32, pub max_frame_size: VideoEncodeH264FrameSizeKHR, /* private fields */ }
Native structure VkVideoEncodeH264RateControlLayerInfoKHR.

Contract

Native structure VkVideoEncodeH264RateControlLayerInfoKHR.

Khronos reference: VkVideoEncodeH264RateControlLayerInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

use_min_qp

Field
use_min_qp: Bool32

Native field useMinQp.

min_qp

Field
min_qp: VideoEncodeH264QpKHR

Native field minQp.

use_max_qp

Field
use_max_qp: Bool32

Native field useMaxQp.

max_qp

Field
max_qp: VideoEncodeH264QpKHR

Native field maxQp.

use_max_frame_size

Field
use_max_frame_size: Bool32

Native field useMaxFrameSize.

max_frame_size

Field
max_frame_size: VideoEncodeH264FrameSizeKHR

Native field maxFrameSize.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_use_min_qp

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

Set native field useMinQp without native effects.

set_min_qp

Method
pub fn set_min_qp(self, value: VideoEncodeH264QpKHR) -> Self

Set native field minQp without native effects.

set_use_max_qp

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

Set native field useMaxQp without native effects.

set_max_qp

Method
pub fn set_max_qp(self, value: VideoEncodeH264QpKHR) -> Self

Set native field maxQp without native effects.

set_use_max_frame_size

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

Set native field useMaxFrameSize without native effects.

set_max_frame_size

Method
pub fn set_max_frame_size(self, value: VideoEncodeH264FrameSizeKHR) -> Self

Set native field maxFrameSize 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::VideoEncodeH264SessionCreateInfoKHR

pub struct VideoEncodeH264SessionCreateInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub use_max_level_idc: Bool32, pub max_level_idc: StdVideoH264LevelIdc, /* private fields */ }
Native structure VkVideoEncodeH264SessionCreateInfoKHR.

Contract

Native structure VkVideoEncodeH264SessionCreateInfoKHR.

Khronos reference: VkVideoEncodeH264SessionCreateInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

use_max_level_idc

Field
use_max_level_idc: Bool32

Native field useMaxLevelIdc.

max_level_idc

Field
max_level_idc: StdVideoH264LevelIdc

Native field maxLevelIdc.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_use_max_level_idc

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

Set native field useMaxLevelIdc without native effects.

set_max_level_idc

Method
pub fn set_max_level_idc(self, value: StdVideoH264LevelIdc) -> Self

Set native field maxLevelIdc 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::VideoEncodeH264SessionParametersAddInfoKHR

pub struct VideoEncodeH264SessionParametersAddInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub std_sps_count: u32, pub p_std_sp_ss: *const StdVideoH264SequenceParameterSet<'a>, pub std_pps_count: u32, pub p_std_pp_ss: *const StdVideoH264PictureParameterSet<'a>, /* private fields */ }
Native structure VkVideoEncodeH264SessionParametersAddInfoKHR.

Contract

Native structure VkVideoEncodeH264SessionParametersAddInfoKHR.

Khronos reference: VkVideoEncodeH264SessionParametersAddInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

std_sps_count

Field
std_sps_count: u32

Native field stdSPSCount.

p_std_sp_ss

Field
p_std_sp_ss: *const StdVideoH264SequenceParameterSet<'a>

Native field pStdSPSs.

std_pps_count

Field
std_pps_count: u32

Native field stdPPSCount.

p_std_pp_ss

Field
p_std_pp_ss: *const StdVideoH264PictureParameterSet<'a>

Native field pStdPPSs.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_std_sps_count

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

Set native count stdSPSCount 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_std_sp_ss

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

Borrow pStdSPSs and set checked native count stdSPSCount. 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.

set_std_pps_count

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

Set native count stdPPSCount 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_std_pp_ss

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

Borrow pStdPPSs and set checked native count stdPPSCount. 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.