Realm

vk · Structs · V10

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

StRustExperimental

Stvk::VideoEncodeSessionRgbConversionCreateInfoVALVE

pub struct VideoEncodeSessionRgbConversionCreateInfoVALVE<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub rgb_model: VideoEncodeRgbModelConversionFlagBitsVALVE, pub rgb_range: VideoEncodeRgbRangeCompressionFlagBitsVALVE, pub x_chroma_offset: VideoEncodeRgbChromaOffsetFlagBitsVALVE, pub y_chroma_offset: VideoEncodeRgbChromaOffsetFlagBitsVALVE, /* private fields */ }
Native structure VkVideoEncodeSessionRgbConversionCreateInfoVALVE.

Contract

Native structure VkVideoEncodeSessionRgbConversionCreateInfoVALVE.

Khronos reference: VkVideoEncodeSessionRgbConversionCreateInfoVALVE

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

rgb_model

Field
rgb_model: VideoEncodeRgbModelConversionFlagBitsVALVE

Native field rgbModel.

rgb_range

Field
rgb_range: VideoEncodeRgbRangeCompressionFlagBitsVALVE

Native field rgbRange.

x_chroma_offset

Field
x_chroma_offset: VideoEncodeRgbChromaOffsetFlagBitsVALVE

Native field xChromaOffset.

y_chroma_offset

Field
y_chroma_offset: VideoEncodeRgbChromaOffsetFlagBitsVALVE

Native field yChromaOffset.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_rgb_model

Method
pub fn set_rgb_model( self, value: VideoEncodeRgbModelConversionFlagBitsVALVE, ) -> Self

Set native field rgbModel without native effects.

set_rgb_range

Method
pub fn set_rgb_range( self, value: VideoEncodeRgbRangeCompressionFlagBitsVALVE, ) -> Self

Set native field rgbRange without native effects.

set_x_chroma_offset

Method
pub fn set_x_chroma_offset( self, value: VideoEncodeRgbChromaOffsetFlagBitsVALVE, ) -> Self

Set native field xChromaOffset without native effects.

set_y_chroma_offset

Method
pub fn set_y_chroma_offset( self, value: VideoEncodeRgbChromaOffsetFlagBitsVALVE, ) -> Self

Set native field yChromaOffset 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::VideoEncodeTuningModeKHR

Contract

Open integer representation of VkVideoEncodeTuningModeKHR.

Khronos reference: VkVideoEncodeTuningModeKHR

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

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

eq

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

Stvk::VideoEncodeUsageFlagBitsKHR

Contract

Open integer representation of VkVideoEncodeUsageFlagBitsKHR.

Khronos reference: VkVideoEncodeUsageFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoEncodeUsageInfoKHR

pub struct VideoEncodeUsageInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub video_usage_hints: VideoEncodeUsageFlagsKHR, pub video_content_hints: VideoEncodeContentFlagsKHR, pub tuning_mode: VideoEncodeTuningModeKHR, /* private fields */ }
Native structure VkVideoEncodeUsageInfoKHR.

Contract

Native structure VkVideoEncodeUsageInfoKHR.

Khronos reference: VkVideoEncodeUsageInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

video_usage_hints

Field
video_usage_hints: VideoEncodeUsageFlagsKHR

Native field videoUsageHints.

video_content_hints

Field
video_content_hints: VideoEncodeContentFlagsKHR

Native field videoContentHints.

tuning_mode

Field
tuning_mode: VideoEncodeTuningModeKHR

Native field tuningMode.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_video_usage_hints

Method
pub fn set_video_usage_hints(self, value: VideoEncodeUsageFlagsKHR) -> Self

Set native field videoUsageHints without native effects.

set_video_content_hints

Method
pub fn set_video_content_hints(self, value: VideoEncodeContentFlagsKHR) -> Self

Set native field videoContentHints without native effects.

set_tuning_mode

Method
pub fn set_tuning_mode(self, value: VideoEncodeTuningModeKHR) -> Self

Set native field tuningMode 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::VideoEndCodingFlagsKHR

Contract

Open integer representation of VkVideoEndCodingFlagsKHR.

Khronos reference: VkVideoEndCodingFlagsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoEndCodingInfoKHR

pub struct VideoEndCodingInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: VideoEndCodingFlagsKHR, /* private fields */ }
Native structure VkVideoEndCodingInfoKHR.

Contract

Native structure VkVideoEndCodingInfoKHR.

Khronos reference: VkVideoEndCodingInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: VideoEndCodingFlagsKHR

Native field flags.

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

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

pub struct VideoFormatAV1QuantizationMapPropertiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub compatible_superblock_sizes: VideoEncodeAV1SuperblockSizeFlagsKHR, /* private fields */ }
Native structure VkVideoFormatAV1QuantizationMapPropertiesKHR.

Contract

Native structure VkVideoFormatAV1QuantizationMapPropertiesKHR.

Khronos reference: VkVideoFormatAV1QuantizationMapPropertiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

compatible_superblock_sizes

Field
compatible_superblock_sizes: VideoEncodeAV1SuperblockSizeFlagsKHR

Native field compatibleSuperblockSizes.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_compatible_superblock_sizes

Method
pub fn set_compatible_superblock_sizes( self, value: VideoEncodeAV1SuperblockSizeFlagsKHR, ) -> Self

Set native field compatibleSuperblockSizes 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::VideoFormatH265QuantizationMapPropertiesKHR

pub struct VideoFormatH265QuantizationMapPropertiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub compatible_ctb_sizes: VideoEncodeH265CtbSizeFlagsKHR, /* private fields */ }
Native structure VkVideoFormatH265QuantizationMapPropertiesKHR.

Contract

Native structure VkVideoFormatH265QuantizationMapPropertiesKHR.

Khronos reference: VkVideoFormatH265QuantizationMapPropertiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

compatible_ctb_sizes

Field
compatible_ctb_sizes: VideoEncodeH265CtbSizeFlagsKHR

Native field compatibleCtbSizes.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_compatible_ctb_sizes

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

Set native field compatibleCtbSizes 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::VideoFormatPropertiesKHR

pub struct VideoFormatPropertiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub format: Format, pub component_mapping: ComponentMapping, pub image_create_flags: ImageCreateFlags, pub image_type: ImageType, pub image_tiling: ImageTiling, pub image_usage_flags: ImageUsageFlags, /* private fields */ }
Native structure VkVideoFormatPropertiesKHR.

Contract

Native structure VkVideoFormatPropertiesKHR.

Khronos reference: VkVideoFormatPropertiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

format

Field
format: Format

Native field format.

component_mapping

Field
component_mapping: ComponentMapping

Native field componentMapping.

image_create_flags

Field
image_create_flags: ImageCreateFlags

Native field imageCreateFlags.

image_type

Field
image_type: ImageType

Native field imageType.

image_tiling

Field
image_tiling: ImageTiling

Native field imageTiling.

image_usage_flags

Field
image_usage_flags: ImageUsageFlags

Native field imageUsageFlags.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_format

Method
pub fn set_format(self, value: Format) -> Self

Set native field format without native effects.

set_component_mapping

Method
pub fn set_component_mapping(self, value: ComponentMapping) -> Self

Set native field componentMapping without native effects.

set_image_create_flags

Method
pub fn set_image_create_flags(self, value: ImageCreateFlags) -> Self

Set native field imageCreateFlags without native effects.

set_image_type

Method
pub fn set_image_type(self, value: ImageType) -> Self

Set native field imageType without native effects.

set_image_tiling

Method
pub fn set_image_tiling(self, value: ImageTiling) -> Self

Set native field imageTiling without native effects.

set_image_usage_flags

Method
pub fn set_image_usage_flags(self, value: ImageUsageFlags) -> Self

Set native field imageUsageFlags 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::VideoFormatQuantizationMapPropertiesKHR

pub struct VideoFormatQuantizationMapPropertiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub quantization_map_texel_size: Extent2D, /* private fields */ }
Native structure VkVideoFormatQuantizationMapPropertiesKHR.

Contract

Native structure VkVideoFormatQuantizationMapPropertiesKHR.

Khronos reference: VkVideoFormatQuantizationMapPropertiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

quantization_map_texel_size

Field
quantization_map_texel_size: Extent2D

Native field quantizationMapTexelSize.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_quantization_map_texel_size

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

Set native field quantizationMapTexelSize 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::VideoInlineQueryInfoKHR

pub struct VideoInlineQueryInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub query_pool: QueryPool, pub first_query: u32, pub query_count: u32, /* private fields */ }
Native structure VkVideoInlineQueryInfoKHR.

Contract

Native structure VkVideoInlineQueryInfoKHR.

Khronos reference: VkVideoInlineQueryInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

query_pool

Field
query_pool: QueryPool

Native field queryPool.

first_query

Field
first_query: u32

Native field firstQuery.

query_count

Field
query_count: u32

Native field queryCount.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_query_pool

Method
pub fn set_query_pool(self, value: QueryPool) -> Self

Set native field queryPool without native effects.

set_first_query

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

Set native field firstQuery without native effects.

set_query_count

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

Set native field queryCount 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::VideoPictureResourceInfoKHR

pub struct VideoPictureResourceInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub coded_offset: Offset2D, pub coded_extent: Extent2D, pub base_array_layer: u32, pub image_view_binding: ImageView, /* private fields */ }
Native structure VkVideoPictureResourceInfoKHR.

Contract

Native structure VkVideoPictureResourceInfoKHR.

Khronos reference: VkVideoPictureResourceInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

coded_offset

Field
coded_offset: Offset2D

Native field codedOffset.

coded_extent

Field
coded_extent: Extent2D

Native field codedExtent.

base_array_layer

Field
base_array_layer: u32

Native field baseArrayLayer.

image_view_binding

Field
image_view_binding: ImageView

Native field imageViewBinding.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_coded_offset

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

Set native field codedOffset without native effects.

set_coded_extent

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

Set native field codedExtent without native effects.

set_base_array_layer

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

Set native field baseArrayLayer without native effects.

set_image_view_binding

Method
pub fn set_image_view_binding(self, value: ImageView) -> Self

Set native field imageViewBinding 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::VideoProfileInfoKHR

pub struct VideoProfileInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub video_codec_operation: VideoCodecOperationFlagBitsKHR, pub chroma_subsampling: VideoChromaSubsamplingFlagsKHR, pub luma_bit_depth: VideoComponentBitDepthFlagsKHR, pub chroma_bit_depth: VideoComponentBitDepthFlagsKHR, /* private fields */ }
Native structure VkVideoProfileInfoKHR.

Contract

Native structure VkVideoProfileInfoKHR.

Khronos reference: VkVideoProfileInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

video_codec_operation

Field
video_codec_operation: VideoCodecOperationFlagBitsKHR

Native field videoCodecOperation.

chroma_subsampling

Field
chroma_subsampling: VideoChromaSubsamplingFlagsKHR

Native field chromaSubsampling.

luma_bit_depth

Field
luma_bit_depth: VideoComponentBitDepthFlagsKHR

Native field lumaBitDepth.

chroma_bit_depth

Field
chroma_bit_depth: VideoComponentBitDepthFlagsKHR

Native field chromaBitDepth.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_video_codec_operation

Method
pub fn set_video_codec_operation( self, value: VideoCodecOperationFlagBitsKHR, ) -> Self

Set native field videoCodecOperation without native effects.

set_chroma_subsampling

Method
pub fn set_chroma_subsampling( self, value: VideoChromaSubsamplingFlagsKHR, ) -> Self

Set native field chromaSubsampling without native effects.

set_luma_bit_depth

Method
pub fn set_luma_bit_depth(self, value: VideoComponentBitDepthFlagsKHR) -> Self

Set native field lumaBitDepth without native effects.

set_chroma_bit_depth

Method
pub fn set_chroma_bit_depth(self, value: VideoComponentBitDepthFlagsKHR) -> Self

Set native field chromaBitDepth 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::VideoProfileListInfoKHR

pub struct VideoProfileListInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub profile_count: u32, pub p_profiles: *const VideoProfileInfoKHR<'a>, /* private fields */ }
Native structure VkVideoProfileListInfoKHR.

Contract

Native structure VkVideoProfileListInfoKHR.

Khronos reference: VkVideoProfileListInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

profile_count

Field
profile_count: u32

Native field profileCount.

p_profiles

Field
p_profiles: *const VideoProfileInfoKHR<'a>

Native field pProfiles.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_profile_count

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

Set native count profileCount 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_profiles

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

Borrow pProfiles and set checked native count profileCount. 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::VideoReferenceIntraRefreshInfoKHR

pub struct VideoReferenceIntraRefreshInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub dirty_intra_refresh_regions: u32, /* private fields */ }
Native structure VkVideoReferenceIntraRefreshInfoKHR.

Contract

Native structure VkVideoReferenceIntraRefreshInfoKHR.

Khronos reference: VkVideoReferenceIntraRefreshInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

dirty_intra_refresh_regions

Field
dirty_intra_refresh_regions: u32

Native field dirtyIntraRefreshRegions.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_dirty_intra_refresh_regions

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

Set native field dirtyIntraRefreshRegions 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::VideoReferenceSlotInfoKHR

pub struct VideoReferenceSlotInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub slot_index: i32, pub p_picture_resource: *const VideoPictureResourceInfoKHR<'a>, /* private fields */ }
Native structure VkVideoReferenceSlotInfoKHR.

Contract

Native structure VkVideoReferenceSlotInfoKHR.

Khronos reference: VkVideoReferenceSlotInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

slot_index

Field
slot_index: i32

Native field slotIndex.

p_picture_resource

Field
p_picture_resource: *const VideoPictureResourceInfoKHR<'a>

Native field pPictureResource.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_slot_index

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

Set native field slotIndex without native effects.

set_picture_resource

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

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