Realm

vk · Structs · V5

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

StRustExperimental

Stvk::VideoEncodeAV1QualityLevelPropertiesKHR

pub struct VideoEncodeAV1QualityLevelPropertiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub preferred_rate_control_flags: VideoEncodeAV1RateControlFlagsKHR, pub preferred_gop_frame_count: u32, pub preferred_key_frame_period: u32, pub preferred_consecutive_bipredictive_frame_count: u32, pub preferred_temporal_layer_count: u32, pub preferred_constant_q_index: VideoEncodeAV1QIndexKHR, pub preferred_max_single_reference_count: u32, pub preferred_single_reference_name_mask: u32, pub preferred_max_unidirectional_compound_reference_count: u32, pub preferred_max_unidirectional_compound_group1_reference_count: u32, pub preferred_unidirectional_compound_reference_name_mask: u32, pub preferred_max_bidirectional_compound_reference_count: u32, pub preferred_max_bidirectional_compound_group1_reference_count: u32, pub preferred_max_bidirectional_compound_group2_reference_count: u32, pub preferred_bidirectional_compound_reference_name_mask: u32, /* private fields */ }
Native structure VkVideoEncodeAV1QualityLevelPropertiesKHR.

Contract

Native structure VkVideoEncodeAV1QualityLevelPropertiesKHR.

Khronos reference: VkVideoEncodeAV1QualityLevelPropertiesKHR

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

Native field preferredRateControlFlags.

preferred_gop_frame_count

Field
preferred_gop_frame_count: u32

Native field preferredGopFrameCount.

preferred_key_frame_period

Field
preferred_key_frame_period: u32

Native field preferredKeyFramePeriod.

preferred_consecutive_bipredictive_frame_count

Field
preferred_consecutive_bipredictive_frame_count: u32

Native field preferredConsecutiveBipredictiveFrameCount.

preferred_temporal_layer_count

Field
preferred_temporal_layer_count: u32

Native field preferredTemporalLayerCount.

preferred_constant_q_index

Field
preferred_constant_q_index: VideoEncodeAV1QIndexKHR

Native field preferredConstantQIndex.

preferred_max_single_reference_count

Field
preferred_max_single_reference_count: u32

Native field preferredMaxSingleReferenceCount.

preferred_single_reference_name_mask

Field
preferred_single_reference_name_mask: u32

Native field preferredSingleReferenceNameMask.

preferred_max_unidirectional_compound_reference_count

Field
preferred_max_unidirectional_compound_reference_count: u32

Native field preferredMaxUnidirectionalCompoundReferenceCount.

preferred_max_unidirectional_compound_group1_reference_count

Field
preferred_max_unidirectional_compound_group1_reference_count: u32

Native field preferredMaxUnidirectionalCompoundGroup1ReferenceCount.

preferred_unidirectional_compound_reference_name_mask

Field
preferred_unidirectional_compound_reference_name_mask: u32

Native field preferredUnidirectionalCompoundReferenceNameMask.

preferred_max_bidirectional_compound_reference_count

Field
preferred_max_bidirectional_compound_reference_count: u32

Native field preferredMaxBidirectionalCompoundReferenceCount.

preferred_max_bidirectional_compound_group1_reference_count

Field
preferred_max_bidirectional_compound_group1_reference_count: u32

Native field preferredMaxBidirectionalCompoundGroup1ReferenceCount.

preferred_max_bidirectional_compound_group2_reference_count

Field
preferred_max_bidirectional_compound_group2_reference_count: u32

Native field preferredMaxBidirectionalCompoundGroup2ReferenceCount.

preferred_bidirectional_compound_reference_name_mask

Field
preferred_bidirectional_compound_reference_name_mask: u32

Native field preferredBidirectionalCompoundReferenceNameMask.

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: VideoEncodeAV1RateControlFlagsKHR, ) -> 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_key_frame_period

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

Set native field preferredKeyFramePeriod without native effects.

set_preferred_consecutive_bipredictive_frame_count

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

Set native field preferredConsecutiveBipredictiveFrameCount 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_q_index

Method
pub fn set_preferred_constant_q_index( self, value: VideoEncodeAV1QIndexKHR, ) -> Self

Set native field preferredConstantQIndex without native effects.

set_preferred_max_single_reference_count

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

Set native field preferredMaxSingleReferenceCount without native effects.

set_preferred_single_reference_name_mask

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

Set native field preferredSingleReferenceNameMask without native effects.

set_preferred_max_unidirectional_compound_reference_count

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

Set native field preferredMaxUnidirectionalCompoundReferenceCount without native effects.

set_preferred_max_unidirectional_compound_group1_reference_count

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

Set native field preferredMaxUnidirectionalCompoundGroup1ReferenceCount without native effects.

set_preferred_unidirectional_compound_reference_name_mask

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

Set native field preferredUnidirectionalCompoundReferenceNameMask without native effects.

set_preferred_max_bidirectional_compound_reference_count

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

Set native field preferredMaxBidirectionalCompoundReferenceCount without native effects.

set_preferred_max_bidirectional_compound_group1_reference_count

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

Set native field preferredMaxBidirectionalCompoundGroup1ReferenceCount without native effects.

set_preferred_max_bidirectional_compound_group2_reference_count

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

Set native field preferredMaxBidirectionalCompoundGroup2ReferenceCount without native effects.

set_preferred_bidirectional_compound_reference_name_mask

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

Set native field preferredBidirectionalCompoundReferenceNameMask 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::VideoEncodeAV1QuantizationMapCapabilitiesKHR

pub struct VideoEncodeAV1QuantizationMapCapabilitiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub min_q_index_delta: i32, pub max_q_index_delta: i32, /* private fields */ }
Native structure VkVideoEncodeAV1QuantizationMapCapabilitiesKHR.

Contract

Native structure VkVideoEncodeAV1QuantizationMapCapabilitiesKHR.

Khronos reference: VkVideoEncodeAV1QuantizationMapCapabilitiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

min_q_index_delta

Field
min_q_index_delta: i32

Native field minQIndexDelta.

max_q_index_delta

Field
max_q_index_delta: i32

Native field maxQIndexDelta.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_min_q_index_delta

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

Set native field minQIndexDelta without native effects.

set_max_q_index_delta

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

Set native field maxQIndexDelta 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::VideoEncodeAV1RateControlFlagBitsKHR

Contract

Open integer representation of VkVideoEncodeAV1RateControlFlagBitsKHR.

Khronos reference: VkVideoEncodeAV1RateControlFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoEncodeAV1RateControlGroupKHR

Contract

Open integer representation of VkVideoEncodeAV1RateControlGroupKHR.

Khronos reference: VkVideoEncodeAV1RateControlGroupKHR

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) -> VideoEncodeAV1RateControlGroupKHR
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() -> VideoEncodeAV1RateControlGroupKHR
Returns the “default value” for a type. Read more

eq

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

Stvk::VideoEncodeAV1RateControlInfoKHR

pub struct VideoEncodeAV1RateControlInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: VideoEncodeAV1RateControlFlagsKHR, pub gop_frame_count: u32, pub key_frame_period: u32, pub consecutive_bipredictive_frame_count: u32, pub temporal_layer_count: u32, /* private fields */ }
Native structure VkVideoEncodeAV1RateControlInfoKHR.

Contract

Native structure VkVideoEncodeAV1RateControlInfoKHR.

Khronos reference: VkVideoEncodeAV1RateControlInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: VideoEncodeAV1RateControlFlagsKHR

Native field flags.

gop_frame_count

Field
gop_frame_count: u32

Native field gopFrameCount.

key_frame_period

Field
key_frame_period: u32

Native field keyFramePeriod.

consecutive_bipredictive_frame_count

Field
consecutive_bipredictive_frame_count: u32

Native field consecutiveBipredictiveFrameCount.

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: VideoEncodeAV1RateControlFlagsKHR) -> 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_key_frame_period

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

Set native field keyFramePeriod without native effects.

set_consecutive_bipredictive_frame_count

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

Set native field consecutiveBipredictiveFrameCount 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::VideoEncodeAV1RateControlLayerInfoKHR

pub struct VideoEncodeAV1RateControlLayerInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub use_min_q_index: Bool32, pub min_q_index: VideoEncodeAV1QIndexKHR, pub use_max_q_index: Bool32, pub max_q_index: VideoEncodeAV1QIndexKHR, pub use_max_frame_size: Bool32, pub max_frame_size: VideoEncodeAV1FrameSizeKHR, /* private fields */ }
Native structure VkVideoEncodeAV1RateControlLayerInfoKHR.

Contract

Native structure VkVideoEncodeAV1RateControlLayerInfoKHR.

Khronos reference: VkVideoEncodeAV1RateControlLayerInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

use_min_q_index

Field
use_min_q_index: Bool32

Native field useMinQIndex.

min_q_index

Field
min_q_index: VideoEncodeAV1QIndexKHR

Native field minQIndex.

use_max_q_index

Field
use_max_q_index: Bool32

Native field useMaxQIndex.

max_q_index

Field
max_q_index: VideoEncodeAV1QIndexKHR

Native field maxQIndex.

use_max_frame_size

Field
use_max_frame_size: Bool32

Native field useMaxFrameSize.

max_frame_size

Field
max_frame_size: VideoEncodeAV1FrameSizeKHR

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_q_index

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

Set native field useMinQIndex without native effects.

set_min_q_index

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

Set native field minQIndex without native effects.

set_use_max_q_index

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

Set native field useMaxQIndex without native effects.

set_max_q_index

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

Set native field maxQIndex 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: VideoEncodeAV1FrameSizeKHR) -> 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::VideoEncodeAV1SessionCreateInfoKHR

pub struct VideoEncodeAV1SessionCreateInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub use_max_level: Bool32, pub max_level: StdVideoAV1Level, /* private fields */ }
Native structure VkVideoEncodeAV1SessionCreateInfoKHR.

Contract

Native structure VkVideoEncodeAV1SessionCreateInfoKHR.

Khronos reference: VkVideoEncodeAV1SessionCreateInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

use_max_level

Field
use_max_level: Bool32

Native field useMaxLevel.

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_use_max_level

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

Set native field useMaxLevel without native effects.

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

pub struct VideoEncodeAV1SessionParametersCreateInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_std_sequence_header: *const StdVideoAV1SequenceHeader<'a>, pub p_std_decoder_model_info: *const StdVideoEncodeAV1DecoderModelInfo, pub std_operating_point_count: u32, pub p_std_operating_points: *const StdVideoEncodeAV1OperatingPointInfo, /* private fields */ }
Native structure VkVideoEncodeAV1SessionParametersCreateInfoKHR.

Contract

Native structure VkVideoEncodeAV1SessionParametersCreateInfoKHR.

Khronos reference: VkVideoEncodeAV1SessionParametersCreateInfoKHR

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.

p_std_decoder_model_info

Field
p_std_decoder_model_info: *const StdVideoEncodeAV1DecoderModelInfo

Native field pStdDecoderModelInfo.

std_operating_point_count

Field
std_operating_point_count: u32

Native field stdOperatingPointCount.

p_std_operating_points

Field
p_std_operating_points: *const StdVideoEncodeAV1OperatingPointInfo

Native field pStdOperatingPoints.

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.

set_std_decoder_model_info

Method
pub fn set_std_decoder_model_info( self, value: &'a StdVideoEncodeAV1DecoderModelInfo, ) -> Self

Set native field pStdDecoderModelInfo without native effects.

set_std_operating_point_count

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

Set native count stdOperatingPointCount 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_operating_points

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

Borrow pStdOperatingPoints and set checked native count stdOperatingPointCount. 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::VideoEncodeAV1StdFlagBitsKHR

Contract

Open integer representation of VkVideoEncodeAV1StdFlagBitsKHR.

Khronos reference: VkVideoEncodeAV1StdFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoEncodeAV1SuperblockSizeFlagBitsKHR

Contract

Open integer representation of VkVideoEncodeAV1SuperblockSizeFlagBitsKHR.

Khronos reference: VkVideoEncodeAV1SuperblockSizeFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoEncodeCapabilitiesKHR

pub struct VideoEncodeCapabilitiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub flags: VideoEncodeCapabilityFlagsKHR, pub rate_control_modes: VideoEncodeRateControlModeFlagsKHR, pub max_rate_control_layers: u32, pub max_bitrate: u64, pub max_quality_levels: u32, pub encode_input_picture_granularity: Extent2D, pub supported_encode_feedback_flags: VideoEncodeFeedbackFlagsKHR, /* private fields */ }
Native structure VkVideoEncodeCapabilitiesKHR.

Contract

Native structure VkVideoEncodeCapabilitiesKHR.

Khronos reference: VkVideoEncodeCapabilitiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

flags

Field
flags: VideoEncodeCapabilityFlagsKHR

Native field flags.

rate_control_modes

Field
rate_control_modes: VideoEncodeRateControlModeFlagsKHR

Native field rateControlModes.

max_rate_control_layers

Field
max_rate_control_layers: u32

Native field maxRateControlLayers.

max_bitrate

Field
max_bitrate: u64

Native field maxBitrate.

max_quality_levels

Field
max_quality_levels: u32

Native field maxQualityLevels.

encode_input_picture_granularity

Field
encode_input_picture_granularity: Extent2D

Native field encodeInputPictureGranularity.

supported_encode_feedback_flags

Field
supported_encode_feedback_flags: VideoEncodeFeedbackFlagsKHR

Native field supportedEncodeFeedbackFlags.

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

Set native field flags without native effects.

set_rate_control_modes

Method
pub fn set_rate_control_modes( self, value: VideoEncodeRateControlModeFlagsKHR, ) -> Self

Set native field rateControlModes without native effects.

set_max_rate_control_layers

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

Set native field maxRateControlLayers without native effects.

set_max_bitrate

Method
pub fn set_max_bitrate(self, value: u64) -> Self

Set native field maxBitrate without native effects.

set_max_quality_levels

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

Set native field maxQualityLevels without native effects.

set_encode_input_picture_granularity

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

Set native field encodeInputPictureGranularity without native effects.

set_supported_encode_feedback_flags

Method
pub fn set_supported_encode_feedback_flags( self, value: VideoEncodeFeedbackFlagsKHR, ) -> Self

Set native field supportedEncodeFeedbackFlags 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::VideoEncodeCapabilityFlagBitsKHR

Contract

Open integer representation of VkVideoEncodeCapabilityFlagBitsKHR.

Khronos reference: VkVideoEncodeCapabilityFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoEncodeContentFlagBitsKHR

Contract

Open integer representation of VkVideoEncodeContentFlagBitsKHR.

Khronos reference: VkVideoEncodeContentFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoEncodeFeedback2CapabilitiesKHR

pub struct VideoEncodeFeedback2CapabilitiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub max_per_partition_feedback_entries: u32, pub supported_per_partition_encode_feedback_flags: VideoEncodePerPartitionFeedbackFlagsKHR, /* private fields */ }
Native structure VkVideoEncodeFeedback2CapabilitiesKHR.

Contract

Native structure VkVideoEncodeFeedback2CapabilitiesKHR.

Khronos reference: VkVideoEncodeFeedback2CapabilitiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

max_per_partition_feedback_entries

Field
max_per_partition_feedback_entries: u32

Native field maxPerPartitionFeedbackEntries.

supported_per_partition_encode_feedback_flags

Field
supported_per_partition_encode_feedback_flags: VideoEncodePerPartitionFeedbackFlagsKHR

Native field supportedPerPartitionEncodeFeedbackFlags.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_max_per_partition_feedback_entries

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

Set native field maxPerPartitionFeedbackEntries without native effects.

set_supported_per_partition_encode_feedback_flags

Method
pub fn set_supported_per_partition_encode_feedback_flags( self, value: VideoEncodePerPartitionFeedbackFlagsKHR, ) -> Self

Set native field supportedPerPartitionEncodeFeedbackFlags 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::VideoEncodeFeedbackFlagBitsKHR

Contract

Open integer representation of VkVideoEncodeFeedbackFlagBitsKHR.

Khronos reference: VkVideoEncodeFeedbackFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoEncodeFlagBitsKHR

Contract

Open integer representation of VkVideoEncodeFlagBitsKHR.

Khronos reference: VkVideoEncodeFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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