Realm

vk · Structs · V3

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

StRustExperimental

Stvk::VideoDecodeCapabilityFlagBitsKHR

Contract

Open integer representation of VkVideoDecodeCapabilityFlagBitsKHR.

Khronos reference: VkVideoDecodeCapabilityFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoDecodeFlagsKHR

Contract

Open integer representation of VkVideoDecodeFlagsKHR.

Khronos reference: VkVideoDecodeFlagsKHR

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

Output-1

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

Output-2

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

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> VideoDecodeFlagsKHR
Returns the “default value” for a type. Read more

Output-3

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

eq

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

Stvk::VideoDecodeH264CapabilitiesKHR

pub struct VideoDecodeH264CapabilitiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub max_level_idc: StdVideoH264LevelIdc, pub field_offset_granularity: Offset2D, /* private fields */ }
Native structure VkVideoDecodeH264CapabilitiesKHR.

Contract

Native structure VkVideoDecodeH264CapabilitiesKHR.

Khronos reference: VkVideoDecodeH264CapabilitiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

max_level_idc

Field
max_level_idc: StdVideoH264LevelIdc

Native field maxLevelIdc.

field_offset_granularity

Field
field_offset_granularity: Offset2D

Native field fieldOffsetGranularity.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_max_level_idc

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

Set native field maxLevelIdc without native effects.

set_field_offset_granularity

Method
pub fn set_field_offset_granularity(self, value: Offset2D) -> Self

Set native field fieldOffsetGranularity 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::VideoDecodeH264DpbSlotInfoKHR

pub struct VideoDecodeH264DpbSlotInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_std_reference_info: *const StdVideoDecodeH264ReferenceInfo, /* private fields */ }
Native structure VkVideoDecodeH264DpbSlotInfoKHR.

Contract

Native structure VkVideoDecodeH264DpbSlotInfoKHR.

Khronos reference: VkVideoDecodeH264DpbSlotInfoKHR

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 StdVideoDecodeH264ReferenceInfo

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 StdVideoDecodeH264ReferenceInfo, ) -> 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::VideoDecodeH264InlineSessionParametersInfoKHR

pub struct VideoDecodeH264InlineSessionParametersInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_std_sps: *const StdVideoH264SequenceParameterSet<'a>, pub p_std_pps: *const StdVideoH264PictureParameterSet<'a>, /* private fields */ }
Native structure VkVideoDecodeH264InlineSessionParametersInfoKHR.

Contract

Native structure VkVideoDecodeH264InlineSessionParametersInfoKHR.

Khronos reference: VkVideoDecodeH264InlineSessionParametersInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

p_std_sps

Field
p_std_sps: *const StdVideoH264SequenceParameterSet<'a>

Native field pStdSPS.

p_std_pps

Field
p_std_pps: *const StdVideoH264PictureParameterSet<'a>

Native field pStdPPS.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_std_sps

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

Set native field pStdSPS without native effects.

set_std_pps

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

Set native field pStdPPS 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::VideoDecodeH264PictureInfoKHR

pub struct VideoDecodeH264PictureInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_std_picture_info: *const StdVideoDecodeH264PictureInfo, pub slice_count: u32, pub p_slice_offsets: *const u32, /* private fields */ }
Native structure VkVideoDecodeH264PictureInfoKHR.

Contract

Native structure VkVideoDecodeH264PictureInfoKHR.

Khronos reference: VkVideoDecodeH264PictureInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

p_std_picture_info

Field
p_std_picture_info: *const StdVideoDecodeH264PictureInfo

Native field pStdPictureInfo.

slice_count

Field
slice_count: u32

Native field sliceCount.

p_slice_offsets

Field
p_slice_offsets: *const u32

Native field pSliceOffsets.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_std_picture_info

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

Set native field pStdPictureInfo without native effects.

set_slice_count

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

Set native count sliceCount 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_slice_offsets

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

Borrow pSliceOffsets and set checked native count sliceCount. 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::VideoDecodeH264PictureLayoutFlagBitsKHR

Contract

Open integer representation of VkVideoDecodeH264PictureLayoutFlagBitsKHR.

Khronos reference: VkVideoDecodeH264PictureLayoutFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoDecodeH264ProfileInfoKHR

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

Contract

Native structure VkVideoDecodeH264ProfileInfoKHR.

Khronos reference: VkVideoDecodeH264ProfileInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

std_profile_idc

Field
std_profile_idc: StdVideoH264ProfileIdc

Native field stdProfileIdc.

picture_layout

Field
picture_layout: VideoDecodeH264PictureLayoutFlagBitsKHR

Native field pictureLayout.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_std_profile_idc

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

Set native field stdProfileIdc without native effects.

set_picture_layout

Method
pub fn set_picture_layout( self, value: VideoDecodeH264PictureLayoutFlagBitsKHR, ) -> Self

Set native field pictureLayout 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::VideoDecodeH264SessionParametersAddInfoKHR

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

Contract

Native structure VkVideoDecodeH264SessionParametersAddInfoKHR.

Khronos reference: VkVideoDecodeH264SessionParametersAddInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

std_sps_count

Field
std_sps_count: u32

Native field stdSPSCount.

p_std_sp_ss

Field
p_std_sp_ss: *const StdVideoH264SequenceParameterSet<'a>

Native field pStdSPSs.

std_pps_count

Field
std_pps_count: u32

Native field stdPPSCount.

p_std_pp_ss

Field
p_std_pp_ss: *const StdVideoH264PictureParameterSet<'a>

Native field pStdPPSs.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_std_sps_count

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

Set native count stdSPSCount directly without checking associated pointer extents. Use the borrowed array helpers to derive matching storage and counts together. Direct count edits support null-query/dynamic-state paths and remain a native-call validity obligation, including after earlier borrowed setters.

set_std_sp_ss

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

Borrow pStdSPSs and set checked native count stdSPSCount. The borrow covers this storage only; nested raw pointers, format, alignment and asynchronous retention remain native-call obligations. Output storage must be initialized; returned sizes do not enlarge its capacity.

Errors

Returns a construction error if the length exceeds the native count width.

set_std_pps_count

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

Set native count stdPPSCount directly without checking associated pointer extents. Use the borrowed array helpers to derive matching storage and counts together. Direct count edits support null-query/dynamic-state paths and remain a native-call validity obligation, including after earlier borrowed setters.

set_std_pp_ss

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

Borrow pStdPPSs and set checked native count stdPPSCount. The borrow covers this storage only; nested raw pointers, format, alignment and asynchronous retention remain native-call obligations. Output storage must be initialized; returned sizes do not enlarge its capacity.

Errors

Returns a construction error if the length exceeds the native count width.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::VideoDecodeH264SessionParametersCreateInfoKHR

pub struct VideoDecodeH264SessionParametersCreateInfoKHR<'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 VideoDecodeH264SessionParametersAddInfoKHR<'a>, /* private fields */ }
Native structure VkVideoDecodeH264SessionParametersCreateInfoKHR.

Contract

Native structure VkVideoDecodeH264SessionParametersCreateInfoKHR.

Khronos reference: VkVideoDecodeH264SessionParametersCreateInfoKHR

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 VideoDecodeH264SessionParametersAddInfoKHR<'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 VideoDecodeH264SessionParametersAddInfoKHR<'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::VideoDecodeH265CapabilitiesKHR

pub struct VideoDecodeH265CapabilitiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub max_level_idc: StdVideoH265LevelIdc, /* private fields */ }
Native structure VkVideoDecodeH265CapabilitiesKHR.

Contract

Native structure VkVideoDecodeH265CapabilitiesKHR.

Khronos reference: VkVideoDecodeH265CapabilitiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

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

pub struct VideoDecodeH265DpbSlotInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_std_reference_info: *const StdVideoDecodeH265ReferenceInfo, /* private fields */ }
Native structure VkVideoDecodeH265DpbSlotInfoKHR.

Contract

Native structure VkVideoDecodeH265DpbSlotInfoKHR.

Khronos reference: VkVideoDecodeH265DpbSlotInfoKHR

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 StdVideoDecodeH265ReferenceInfo

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 StdVideoDecodeH265ReferenceInfo, ) -> 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::VideoDecodeH265InlineSessionParametersInfoKHR

pub struct VideoDecodeH265InlineSessionParametersInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_std_vps: *const StdVideoH265VideoParameterSet<'a>, pub p_std_sps: *const StdVideoH265SequenceParameterSet<'a>, pub p_std_pps: *const StdVideoH265PictureParameterSet<'a>, /* private fields */ }
Native structure VkVideoDecodeH265InlineSessionParametersInfoKHR.

Contract

Native structure VkVideoDecodeH265InlineSessionParametersInfoKHR.

Khronos reference: VkVideoDecodeH265InlineSessionParametersInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

p_std_vps

Field
p_std_vps: *const StdVideoH265VideoParameterSet<'a>

Native field pStdVPS.

p_std_sps

Field
p_std_sps: *const StdVideoH265SequenceParameterSet<'a>

Native field pStdSPS.

p_std_pps

Field
p_std_pps: *const StdVideoH265PictureParameterSet<'a>

Native field pStdPPS.

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

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

Set native field pStdVPS without native effects.

set_std_sps

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

Set native field pStdSPS without native effects.

set_std_pps

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

Set native field pStdPPS 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::VideoDecodeH265PictureInfoKHR

pub struct VideoDecodeH265PictureInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub p_std_picture_info: *const StdVideoDecodeH265PictureInfo, pub slice_segment_count: u32, pub p_slice_segment_offsets: *const u32, /* private fields */ }
Native structure VkVideoDecodeH265PictureInfoKHR.

Contract

Native structure VkVideoDecodeH265PictureInfoKHR.

Khronos reference: VkVideoDecodeH265PictureInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

p_std_picture_info

Field
p_std_picture_info: *const StdVideoDecodeH265PictureInfo

Native field pStdPictureInfo.

slice_segment_count

Field
slice_segment_count: u32

Native field sliceSegmentCount.

p_slice_segment_offsets

Field
p_slice_segment_offsets: *const u32

Native field pSliceSegmentOffsets.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_std_picture_info

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

Set native field pStdPictureInfo without native effects.

set_slice_segment_count

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

Set native count sliceSegmentCount 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_slice_segment_offsets

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

Borrow pSliceSegmentOffsets and set checked native count sliceSegmentCount. 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::VideoDecodeH265ProfileInfoKHR

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

Contract

Native structure VkVideoDecodeH265ProfileInfoKHR.

Khronos reference: VkVideoDecodeH265ProfileInfoKHR

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

pub struct VideoDecodeH265SessionParametersAddInfoKHR<'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 VkVideoDecodeH265SessionParametersAddInfoKHR.

Contract

Native structure VkVideoDecodeH265SessionParametersAddInfoKHR.

Khronos reference: VkVideoDecodeH265SessionParametersAddInfoKHR

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.