Realm

vk · Structs · V7

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

StRustExperimental

Stvk::VideoEncodeH264SessionParametersCreateInfoKHR

pub struct VideoEncodeH264SessionParametersCreateInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub max_std_sps_count: u32, pub max_std_pps_count: u32, pub p_parameters_add_info: *const VideoEncodeH264SessionParametersAddInfoKHR<'a>, /* private fields */ }
Native structure VkVideoEncodeH264SessionParametersCreateInfoKHR.

Contract

Native structure VkVideoEncodeH264SessionParametersCreateInfoKHR.

Khronos reference: VkVideoEncodeH264SessionParametersCreateInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

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 VideoEncodeH264SessionParametersAddInfoKHR<'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_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 VideoEncodeH264SessionParametersAddInfoKHR<'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::VideoEncodeH264SessionParametersFeedbackInfoKHR

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

Contract

Native structure VkVideoEncodeH264SessionParametersFeedbackInfoKHR.

Khronos reference: VkVideoEncodeH264SessionParametersFeedbackInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

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_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::VideoEncodeH264SessionParametersGetInfoKHR

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

Contract

Native structure VkVideoEncodeH264SessionParametersGetInfoKHR.

Khronos reference: VkVideoEncodeH264SessionParametersGetInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

write_std_sps

Field
write_std_sps: Bool32

Native field writeStdSPS.

write_std_pps

Field
write_std_pps: Bool32

Native field writeStdPPS.

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_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_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::VideoEncodeH264StdFlagBitsKHR

Contract

Open integer representation of VkVideoEncodeH264StdFlagBitsKHR.

Khronos reference: VkVideoEncodeH264StdFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoEncodeH265CapabilitiesKHR

pub struct VideoEncodeH265CapabilitiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub flags: VideoEncodeH265CapabilityFlagsKHR, pub max_level_idc: StdVideoH265LevelIdc, pub max_slice_segment_count: u32, pub max_tiles: Extent2D, pub ctb_sizes: VideoEncodeH265CtbSizeFlagsKHR, pub transform_block_sizes: VideoEncodeH265TransformBlockSizeFlagsKHR, pub max_p_picture_l0_reference_count: u32, pub max_b_picture_l0_reference_count: u32, pub max_l1_reference_count: u32, pub max_sub_layer_count: u32, pub expect_dyadic_temporal_sub_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: VideoEncodeH265StdFlagsKHR, /* private fields */ }
Native structure VkVideoEncodeH265CapabilitiesKHR.

Contract

Native structure VkVideoEncodeH265CapabilitiesKHR.

Khronos reference: VkVideoEncodeH265CapabilitiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

flags

Field
flags: VideoEncodeH265CapabilityFlagsKHR

Native field flags.

max_level_idc

Field
max_level_idc: StdVideoH265LevelIdc

Native field maxLevelIdc.

max_slice_segment_count

Field
max_slice_segment_count: u32

Native field maxSliceSegmentCount.

max_tiles

Field
max_tiles: Extent2D

Native field maxTiles.

ctb_sizes

Field
ctb_sizes: VideoEncodeH265CtbSizeFlagsKHR

Native field ctbSizes.

transform_block_sizes

Field
transform_block_sizes: VideoEncodeH265TransformBlockSizeFlagsKHR

Native field transformBlockSizes.

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_sub_layer_count

Field
max_sub_layer_count: u32

Native field maxSubLayerCount.

expect_dyadic_temporal_sub_layer_pattern

Field
expect_dyadic_temporal_sub_layer_pattern: Bool32

Native field expectDyadicTemporalSubLayerPattern.

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

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

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

set_max_slice_segment_count

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

Set native field maxSliceSegmentCount without native effects.

set_max_tiles

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

Set native field maxTiles without native effects.

set_ctb_sizes

Method
pub fn set_ctb_sizes(self, value: VideoEncodeH265CtbSizeFlagsKHR) -> Self

Set native field ctbSizes without native effects.

set_transform_block_sizes

Method
pub fn set_transform_block_sizes( self, value: VideoEncodeH265TransformBlockSizeFlagsKHR, ) -> Self

Set native field transformBlockSizes 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_sub_layer_count

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

Set native field maxSubLayerCount without native effects.

set_expect_dyadic_temporal_sub_layer_pattern

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

Set native field expectDyadicTemporalSubLayerPattern 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: VideoEncodeH265StdFlagsKHR) -> 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::VideoEncodeH265CapabilityFlagBitsKHR

Contract

Open integer representation of VkVideoEncodeH265CapabilityFlagBitsKHR.

Khronos reference: VkVideoEncodeH265CapabilityFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoEncodeH265CtbSizeFlagBitsKHR

Contract

Open integer representation of VkVideoEncodeH265CtbSizeFlagBitsKHR.

Khronos reference: VkVideoEncodeH265CtbSizeFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoEncodeH265DpbSlotInfoKHR

pub struct VideoEncodeH265DpbSlotInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_std_reference_info: *const StdVideoEncodeH265ReferenceInfo, /* private fields */ }
Native structure VkVideoEncodeH265DpbSlotInfoKHR.

Contract

Native structure VkVideoEncodeH265DpbSlotInfoKHR.

Khronos reference: VkVideoEncodeH265DpbSlotInfoKHR

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 StdVideoEncodeH265ReferenceInfo

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 StdVideoEncodeH265ReferenceInfo, ) -> 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::VideoEncodeH265FrameSizeKHR

Contract

Native structure VkVideoEncodeH265FrameSizeKHR.

Khronos reference: VkVideoEncodeH265FrameSizeKHR

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) -> VideoEncodeH265FrameSizeKHR
Returns a duplicate of the value. Read more

Stvk::VideoEncodeH265GopRemainingFrameInfoKHR

pub struct VideoEncodeH265GopRemainingFrameInfoKHR<'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 VkVideoEncodeH265GopRemainingFrameInfoKHR.

Contract

Native structure VkVideoEncodeH265GopRemainingFrameInfoKHR.

Khronos reference: VkVideoEncodeH265GopRemainingFrameInfoKHR

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

pub struct VideoEncodeH265NaluSliceSegmentInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub constant_qp: i32, pub p_std_slice_segment_header: *const StdVideoEncodeH265SliceSegmentHeader<'a>, /* private fields */ }
Native structure VkVideoEncodeH265NaluSliceSegmentInfoKHR.

Contract

Native structure VkVideoEncodeH265NaluSliceSegmentInfoKHR.

Khronos reference: VkVideoEncodeH265NaluSliceSegmentInfoKHR

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_segment_header

Field
p_std_slice_segment_header: *const StdVideoEncodeH265SliceSegmentHeader<'a>

Native field pStdSliceSegmentHeader.

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_segment_header

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

Set native field pStdSliceSegmentHeader 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::VideoEncodeH265PictureInfoKHR

pub struct VideoEncodeH265PictureInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub nalu_slice_segment_entry_count: u32, pub p_nalu_slice_segment_entries: *const VideoEncodeH265NaluSliceSegmentInfoKHR<'a>, pub p_std_picture_info: *const StdVideoEncodeH265PictureInfo<'a>, /* private fields */ }
Native structure VkVideoEncodeH265PictureInfoKHR.

Contract

Native structure VkVideoEncodeH265PictureInfoKHR.

Khronos reference: VkVideoEncodeH265PictureInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

nalu_slice_segment_entry_count

Field
nalu_slice_segment_entry_count: u32

Native field naluSliceSegmentEntryCount.

p_nalu_slice_segment_entries

Field
p_nalu_slice_segment_entries: *const VideoEncodeH265NaluSliceSegmentInfoKHR<'a>

Native field pNaluSliceSegmentEntries.

p_std_picture_info

Field
p_std_picture_info: *const StdVideoEncodeH265PictureInfo<'a>

Native field pStdPictureInfo.

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_segment_entry_count

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

Set native count naluSliceSegmentEntryCount 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_segment_entries

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

Borrow pNaluSliceSegmentEntries and set checked native count naluSliceSegmentEntryCount. 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 StdVideoEncodeH265PictureInfo<'a>, ) -> Self

Set native field pStdPictureInfo 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::VideoEncodeH265ProfileInfoKHR

pub struct VideoEncodeH265ProfileInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub std_profile_idc: StdVideoH265ProfileIdc, /* private fields */ }
Native structure VkVideoEncodeH265ProfileInfoKHR.

Contract

Native structure VkVideoEncodeH265ProfileInfoKHR.

Khronos reference: VkVideoEncodeH265ProfileInfoKHR

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

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

Contract

Native structure VkVideoEncodeH265QpKHR.

Khronos reference: VkVideoEncodeH265QpKHR

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) -> VideoEncodeH265QpKHR
Returns a duplicate of the value. Read more

Stvk::VideoEncodeH265QualityLevelPropertiesKHR

pub struct VideoEncodeH265QualityLevelPropertiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub preferred_rate_control_flags: VideoEncodeH265RateControlFlagsKHR, pub preferred_gop_frame_count: u32, pub preferred_idr_period: u32, pub preferred_consecutive_b_frame_count: u32, pub preferred_sub_layer_count: u32, pub preferred_constant_qp: VideoEncodeH265QpKHR, pub preferred_max_l0_reference_count: u32, pub preferred_max_l1_reference_count: u32, /* private fields */ }
Native structure VkVideoEncodeH265QualityLevelPropertiesKHR.

Contract

Native structure VkVideoEncodeH265QualityLevelPropertiesKHR.

Khronos reference: VkVideoEncodeH265QualityLevelPropertiesKHR

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

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_sub_layer_count

Field
preferred_sub_layer_count: u32

Native field preferredSubLayerCount.

preferred_constant_qp

Field
preferred_constant_qp: VideoEncodeH265QpKHR

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.

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

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

Set native field preferredSubLayerCount without native effects.

set_preferred_constant_qp

Method
pub fn set_preferred_constant_qp(self, value: VideoEncodeH265QpKHR) -> 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.

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

pub struct VideoEncodeH265QuantizationMapCapabilitiesKHR<'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 VkVideoEncodeH265QuantizationMapCapabilitiesKHR.

Contract

Native structure VkVideoEncodeH265QuantizationMapCapabilitiesKHR.

Khronos reference: VkVideoEncodeH265QuantizationMapCapabilitiesKHR

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.