Realm

vk · Structs · V8

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

StRustExperimental

Stvk::VideoEncodeH265RateControlFlagBitsKHR

Contract

Open integer representation of VkVideoEncodeH265RateControlFlagBitsKHR.

Khronos reference: VkVideoEncodeH265RateControlFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoEncodeH265RateControlInfoKHR

pub struct VideoEncodeH265RateControlInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: VideoEncodeH265RateControlFlagsKHR, pub gop_frame_count: u32, pub idr_period: u32, pub consecutive_b_frame_count: u32, pub sub_layer_count: u32, /* private fields */ }
Native structure VkVideoEncodeH265RateControlInfoKHR.

Contract

Native structure VkVideoEncodeH265RateControlInfoKHR.

Khronos reference: VkVideoEncodeH265RateControlInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: VideoEncodeH265RateControlFlagsKHR

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.

sub_layer_count

Field
sub_layer_count: u32

Native field subLayerCount.

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: VideoEncodeH265RateControlFlagsKHR) -> 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_sub_layer_count

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

Set native field subLayerCount 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::VideoEncodeH265RateControlLayerInfoKHR

pub struct VideoEncodeH265RateControlLayerInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub use_min_qp: Bool32, pub min_qp: VideoEncodeH265QpKHR, pub use_max_qp: Bool32, pub max_qp: VideoEncodeH265QpKHR, pub use_max_frame_size: Bool32, pub max_frame_size: VideoEncodeH265FrameSizeKHR, /* private fields */ }
Native structure VkVideoEncodeH265RateControlLayerInfoKHR.

Contract

Native structure VkVideoEncodeH265RateControlLayerInfoKHR.

Khronos reference: VkVideoEncodeH265RateControlLayerInfoKHR

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

Native field minQp.

use_max_qp

Field
use_max_qp: Bool32

Native field useMaxQp.

max_qp

Field
max_qp: VideoEncodeH265QpKHR

Native field maxQp.

use_max_frame_size

Field
use_max_frame_size: Bool32

Native field useMaxFrameSize.

max_frame_size

Field
max_frame_size: VideoEncodeH265FrameSizeKHR

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: VideoEncodeH265QpKHR) -> 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: VideoEncodeH265QpKHR) -> 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: VideoEncodeH265FrameSizeKHR) -> 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::VideoEncodeH265SessionCreateInfoKHR

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

Contract

Native structure VkVideoEncodeH265SessionCreateInfoKHR.

Khronos reference: VkVideoEncodeH265SessionCreateInfoKHR

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

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: StdVideoH265LevelIdc) -> 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::VideoEncodeH265SessionParametersAddInfoKHR

pub struct VideoEncodeH265SessionParametersAddInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub std_vps_count: u32, pub p_std_vp_ss: *const StdVideoH265VideoParameterSet<'a>, pub std_sps_count: u32, pub p_std_sp_ss: *const StdVideoH265SequenceParameterSet<'a>, pub std_pps_count: u32, pub p_std_pp_ss: *const StdVideoH265PictureParameterSet<'a>, /* private fields */ }
Native structure VkVideoEncodeH265SessionParametersAddInfoKHR.

Contract

Native structure VkVideoEncodeH265SessionParametersAddInfoKHR.

Khronos reference: VkVideoEncodeH265SessionParametersAddInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

std_vps_count

Field
std_vps_count: u32

Native field stdVPSCount.

p_std_vp_ss

Field
p_std_vp_ss: *const StdVideoH265VideoParameterSet<'a>

Native field pStdVPSs.

std_sps_count

Field
std_sps_count: u32

Native field stdSPSCount.

p_std_sp_ss

Field
p_std_sp_ss: *const StdVideoH265SequenceParameterSet<'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 StdVideoH265PictureParameterSet<'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_vps_count

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

Set native count stdVPSCount 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_vp_ss

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

Borrow pStdVPSs and set checked native count stdVPSCount. 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_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 [StdVideoH265SequenceParameterSet<'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 [StdVideoH265PictureParameterSet<'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.

Stvk::VideoEncodeH265SessionParametersCreateInfoKHR

pub struct VideoEncodeH265SessionParametersCreateInfoKHR<'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 VideoEncodeH265SessionParametersAddInfoKHR<'a>, /* private fields */ }
Native structure VkVideoEncodeH265SessionParametersCreateInfoKHR.

Contract

Native structure VkVideoEncodeH265SessionParametersCreateInfoKHR.

Khronos reference: VkVideoEncodeH265SessionParametersCreateInfoKHR

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 VideoEncodeH265SessionParametersAddInfoKHR<'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 VideoEncodeH265SessionParametersAddInfoKHR<'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::VideoEncodeH265SessionParametersFeedbackInfoKHR

pub struct VideoEncodeH265SessionParametersFeedbackInfoKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub has_std_vps_overrides: Bool32, pub has_std_sps_overrides: Bool32, pub has_std_pps_overrides: Bool32, /* private fields */ }
Native structure VkVideoEncodeH265SessionParametersFeedbackInfoKHR.

Contract

Native structure VkVideoEncodeH265SessionParametersFeedbackInfoKHR.

Khronos reference: VkVideoEncodeH265SessionParametersFeedbackInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

has_std_vps_overrides

Field
has_std_vps_overrides: Bool32

Native field hasStdVPSOverrides.

has_std_sps_overrides

Field
has_std_sps_overrides: Bool32

Native field hasStdSPSOverrides.

has_std_pps_overrides

Field
has_std_pps_overrides: Bool32

Native field hasStdPPSOverrides.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_has_std_vps_overrides

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

Set native field hasStdVPSOverrides without native effects.

set_has_std_sps_overrides

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

Set native field hasStdSPSOverrides without native effects.

set_has_std_pps_overrides

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

Set native field hasStdPPSOverrides 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::VideoEncodeH265SessionParametersGetInfoKHR

pub struct VideoEncodeH265SessionParametersGetInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub write_std_vps: Bool32, pub write_std_sps: Bool32, pub write_std_pps: Bool32, pub std_vps_id: u32, pub std_sps_id: u32, pub std_pps_id: u32, /* private fields */ }
Native structure VkVideoEncodeH265SessionParametersGetInfoKHR.

Contract

Native structure VkVideoEncodeH265SessionParametersGetInfoKHR.

Khronos reference: VkVideoEncodeH265SessionParametersGetInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

write_std_vps

Field
write_std_vps: Bool32

Native field writeStdVPS.

write_std_sps

Field
write_std_sps: Bool32

Native field writeStdSPS.

write_std_pps

Field
write_std_pps: Bool32

Native field writeStdPPS.

std_vps_id

Field
std_vps_id: u32

Native field stdVPSId.

std_sps_id

Field
std_sps_id: u32

Native field stdSPSId.

std_pps_id

Field
std_pps_id: u32

Native field stdPPSId.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_write_std_vps

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

Set native field writeStdVPS without native effects.

set_write_std_sps

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

Set native field writeStdSPS without native effects.

set_write_std_pps

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

Set native field writeStdPPS without native effects.

set_std_vps_id

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

Set native field stdVPSId without native effects.

set_std_sps_id

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

Set native field stdSPSId without native effects.

set_std_pps_id

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

Set native field stdPPSId 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::VideoEncodeH265StdFlagBitsKHR

Contract

Open integer representation of VkVideoEncodeH265StdFlagBitsKHR.

Khronos reference: VkVideoEncodeH265StdFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoEncodeH265TransformBlockSizeFlagBitsKHR

Contract

Open integer representation of VkVideoEncodeH265TransformBlockSizeFlagBitsKHR.

Khronos reference: VkVideoEncodeH265TransformBlockSizeFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoEncodeInfoKHR

pub struct VideoEncodeInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: VideoEncodeFlagsKHR, pub dst_buffer: Buffer, pub dst_buffer_offset: DeviceSize, pub dst_buffer_range: DeviceSize, pub src_picture_resource: VideoPictureResourceInfoKHR<'a>, pub p_setup_reference_slot: *const VideoReferenceSlotInfoKHR<'a>, pub reference_slot_count: u32, pub p_reference_slots: *const VideoReferenceSlotInfoKHR<'a>, pub preceding_externally_encoded_bytes: u32, /* private fields */ }
Native structure VkVideoEncodeInfoKHR.

Contract

Native structure VkVideoEncodeInfoKHR.

Khronos reference: VkVideoEncodeInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: VideoEncodeFlagsKHR

Native field flags.

dst_buffer

Field
dst_buffer: Buffer

Native field dstBuffer.

dst_buffer_offset

Field
dst_buffer_offset: DeviceSize

Native field dstBufferOffset.

dst_buffer_range

Field
dst_buffer_range: DeviceSize

Native field dstBufferRange.

src_picture_resource

Field
src_picture_resource: VideoPictureResourceInfoKHR<'a>

Native field srcPictureResource.

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.

preceding_externally_encoded_bytes

Field
preceding_externally_encoded_bytes: u32

Native field precedingExternallyEncodedBytes.

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

Set native field flags without native effects.

set_dst_buffer

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

Set native field dstBuffer without native effects.

set_dst_buffer_offset

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

Set native field dstBufferOffset without native effects.

set_dst_buffer_range

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

Set native field dstBufferRange without native effects.

set_src_picture_resource

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

Set native field srcPictureResource 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.

set_preceding_externally_encoded_bytes

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

Set native field precedingExternallyEncodedBytes 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::VideoEncodeIntraRefreshCapabilitiesKHR

pub struct VideoEncodeIntraRefreshCapabilitiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub intra_refresh_modes: VideoEncodeIntraRefreshModeFlagsKHR, pub max_intra_refresh_cycle_duration: u32, pub max_intra_refresh_active_reference_pictures: u32, pub partition_independent_intra_refresh_regions: Bool32, pub non_rectangular_intra_refresh_regions: Bool32, /* private fields */ }
Native structure VkVideoEncodeIntraRefreshCapabilitiesKHR.

Contract

Native structure VkVideoEncodeIntraRefreshCapabilitiesKHR.

Khronos reference: VkVideoEncodeIntraRefreshCapabilitiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

intra_refresh_modes

Field
intra_refresh_modes: VideoEncodeIntraRefreshModeFlagsKHR

Native field intraRefreshModes.

max_intra_refresh_cycle_duration

Field
max_intra_refresh_cycle_duration: u32

Native field maxIntraRefreshCycleDuration.

max_intra_refresh_active_reference_pictures

Field
max_intra_refresh_active_reference_pictures: u32

Native field maxIntraRefreshActiveReferencePictures.

partition_independent_intra_refresh_regions

Field
partition_independent_intra_refresh_regions: Bool32

Native field partitionIndependentIntraRefreshRegions.

non_rectangular_intra_refresh_regions

Field
non_rectangular_intra_refresh_regions: Bool32

Native field nonRectangularIntraRefreshRegions.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_intra_refresh_modes

Method
pub fn set_intra_refresh_modes( self, value: VideoEncodeIntraRefreshModeFlagsKHR, ) -> Self

Set native field intraRefreshModes without native effects.

set_max_intra_refresh_cycle_duration

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

Set native field maxIntraRefreshCycleDuration without native effects.

set_max_intra_refresh_active_reference_pictures

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

Set native field maxIntraRefreshActiveReferencePictures without native effects.

set_partition_independent_intra_refresh_regions

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

Set native field partitionIndependentIntraRefreshRegions without native effects.

set_non_rectangular_intra_refresh_regions

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

Set native field nonRectangularIntraRefreshRegions 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::VideoEncodeIntraRefreshInfoKHR

pub struct VideoEncodeIntraRefreshInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub intra_refresh_cycle_duration: u32, pub intra_refresh_index: u32, /* private fields */ }
Native structure VkVideoEncodeIntraRefreshInfoKHR.

Contract

Native structure VkVideoEncodeIntraRefreshInfoKHR.

Khronos reference: VkVideoEncodeIntraRefreshInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

intra_refresh_cycle_duration

Field
intra_refresh_cycle_duration: u32

Native field intraRefreshCycleDuration.

intra_refresh_index

Field
intra_refresh_index: u32

Native field intraRefreshIndex.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_intra_refresh_cycle_duration

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

Set native field intraRefreshCycleDuration without native effects.

set_intra_refresh_index

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

Set native field intraRefreshIndex 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::VideoEncodeIntraRefreshModeFlagBitsKHR

Contract

Open integer representation of VkVideoEncodeIntraRefreshModeFlagBitsKHR.

Khronos reference: VkVideoEncodeIntraRefreshModeFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoEncodePerPartitionFeedbackFlagBitsKHR

Contract

Open integer representation of VkVideoEncodePerPartitionFeedbackFlagBitsKHR.

Khronos reference: VkVideoEncodePerPartitionFeedbackFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoEncodeProfileRgbConversionInfoVALVE

pub struct VideoEncodeProfileRgbConversionInfoVALVE<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub perform_encode_rgb_conversion: Bool32, /* private fields */ }
Native structure VkVideoEncodeProfileRgbConversionInfoVALVE.

Contract

Native structure VkVideoEncodeProfileRgbConversionInfoVALVE.

Khronos reference: VkVideoEncodeProfileRgbConversionInfoVALVE

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

perform_encode_rgb_conversion

Field
perform_encode_rgb_conversion: Bool32

Native field performEncodeRgbConversion.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_perform_encode_rgb_conversion

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

Set native field performEncodeRgbConversion 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.