Realm

vk · Structs · V9

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

StRustExperimental

Stvk::VideoEncodeQualityLevelInfoKHR

pub struct VideoEncodeQualityLevelInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub quality_level: u32, /* private fields */ }
Native structure VkVideoEncodeQualityLevelInfoKHR.

Contract

Native structure VkVideoEncodeQualityLevelInfoKHR.

Khronos reference: VkVideoEncodeQualityLevelInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

quality_level

Field
quality_level: u32

Native field qualityLevel.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_quality_level

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

Set native field qualityLevel 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::VideoEncodeQualityLevelPropertiesKHR

pub struct VideoEncodeQualityLevelPropertiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub preferred_rate_control_mode: VideoEncodeRateControlModeFlagBitsKHR, pub preferred_rate_control_layer_count: u32, /* private fields */ }
Native structure VkVideoEncodeQualityLevelPropertiesKHR.

Contract

Native structure VkVideoEncodeQualityLevelPropertiesKHR.

Khronos reference: VkVideoEncodeQualityLevelPropertiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

preferred_rate_control_mode

Field
preferred_rate_control_mode: VideoEncodeRateControlModeFlagBitsKHR

Native field preferredRateControlMode.

preferred_rate_control_layer_count

Field
preferred_rate_control_layer_count: u32

Native field preferredRateControlLayerCount.

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_mode

Method
pub fn set_preferred_rate_control_mode( self, value: VideoEncodeRateControlModeFlagBitsKHR, ) -> Self

Set native field preferredRateControlMode without native effects.

set_preferred_rate_control_layer_count

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

Set native field preferredRateControlLayerCount 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::VideoEncodeQuantizationMapCapabilitiesKHR

pub struct VideoEncodeQuantizationMapCapabilitiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub max_quantization_map_extent: Extent2D, /* private fields */ }
Native structure VkVideoEncodeQuantizationMapCapabilitiesKHR.

Contract

Native structure VkVideoEncodeQuantizationMapCapabilitiesKHR.

Khronos reference: VkVideoEncodeQuantizationMapCapabilitiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

max_quantization_map_extent

Field
max_quantization_map_extent: Extent2D

Native field maxQuantizationMapExtent.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_max_quantization_map_extent

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

Set native field maxQuantizationMapExtent 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::VideoEncodeQuantizationMapInfoKHR

pub struct VideoEncodeQuantizationMapInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub quantization_map: ImageView, pub quantization_map_extent: Extent2D, /* private fields */ }
Native structure VkVideoEncodeQuantizationMapInfoKHR.

Contract

Native structure VkVideoEncodeQuantizationMapInfoKHR.

Khronos reference: VkVideoEncodeQuantizationMapInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

quantization_map

Field
quantization_map: ImageView

Native field quantizationMap.

quantization_map_extent

Field
quantization_map_extent: Extent2D

Native field quantizationMapExtent.

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

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

Set native field quantizationMap without native effects.

set_quantization_map_extent

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

Set native field quantizationMapExtent 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::VideoEncodeQuantizationMapSessionParametersCreateInfoKHR

pub struct VideoEncodeQuantizationMapSessionParametersCreateInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub quantization_map_texel_size: Extent2D, /* private fields */ }
Native structure VkVideoEncodeQuantizationMapSessionParametersCreateInfoKHR.

Contract

Native structure VkVideoEncodeQuantizationMapSessionParametersCreateInfoKHR.

Khronos reference: VkVideoEncodeQuantizationMapSessionParametersCreateInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const 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::VideoEncodeRateControlFlagsKHR

Contract

Open integer representation of VkVideoEncodeRateControlFlagsKHR.

Khronos reference: VkVideoEncodeRateControlFlagsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoEncodeRateControlInfoKHR

pub struct VideoEncodeRateControlInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: VideoEncodeRateControlFlagsKHR, pub rate_control_mode: VideoEncodeRateControlModeFlagBitsKHR, pub layer_count: u32, pub p_layers: *const VideoEncodeRateControlLayerInfoKHR<'a>, pub virtual_buffer_size_in_ms: u32, pub initial_virtual_buffer_size_in_ms: u32, /* private fields */ }
Native structure VkVideoEncodeRateControlInfoKHR.

Contract

Native structure VkVideoEncodeRateControlInfoKHR.

Khronos reference: VkVideoEncodeRateControlInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: VideoEncodeRateControlFlagsKHR

Native field flags.

rate_control_mode

Field
rate_control_mode: VideoEncodeRateControlModeFlagBitsKHR

Native field rateControlMode.

layer_count

Field
layer_count: u32

Native field layerCount.

p_layers

Field
p_layers: *const VideoEncodeRateControlLayerInfoKHR<'a>

Native field pLayers.

virtual_buffer_size_in_ms

Field
virtual_buffer_size_in_ms: u32

Native field virtualBufferSizeInMs.

initial_virtual_buffer_size_in_ms

Field
initial_virtual_buffer_size_in_ms: u32

Native field initialVirtualBufferSizeInMs.

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

Set native field flags without native effects.

set_rate_control_mode

Method
pub fn set_rate_control_mode( self, value: VideoEncodeRateControlModeFlagBitsKHR, ) -> Self

Set native field rateControlMode without native effects.

set_layer_count

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

Set native count layerCount 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_layers

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

Borrow pLayers and set checked native count layerCount. 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_virtual_buffer_size_in_ms

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

Set native field virtualBufferSizeInMs without native effects.

set_initial_virtual_buffer_size_in_ms

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

Set native field initialVirtualBufferSizeInMs 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::VideoEncodeRateControlLayerInfoKHR

pub struct VideoEncodeRateControlLayerInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub average_bitrate: u64, pub max_bitrate: u64, pub frame_rate_numerator: u32, pub frame_rate_denominator: u32, /* private fields */ }
Native structure VkVideoEncodeRateControlLayerInfoKHR.

Contract

Native structure VkVideoEncodeRateControlLayerInfoKHR.

Khronos reference: VkVideoEncodeRateControlLayerInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

average_bitrate

Field
average_bitrate: u64

Native field averageBitrate.

max_bitrate

Field
max_bitrate: u64

Native field maxBitrate.

frame_rate_numerator

Field
frame_rate_numerator: u32

Native field frameRateNumerator.

frame_rate_denominator

Field
frame_rate_denominator: u32

Native field frameRateDenominator.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_average_bitrate

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

Set native field averageBitrate without native effects.

set_max_bitrate

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

Set native field maxBitrate without native effects.

set_frame_rate_numerator

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

Set native field frameRateNumerator without native effects.

set_frame_rate_denominator

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

Set native field frameRateDenominator 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::VideoEncodeRateControlModeFlagBitsKHR

Contract

Open integer representation of VkVideoEncodeRateControlModeFlagBitsKHR.

Khronos reference: VkVideoEncodeRateControlModeFlagBitsKHR

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoEncodeRgbChromaOffsetFlagBitsVALVE

Contract

Open integer representation of VkVideoEncodeRgbChromaOffsetFlagBitsVALVE.

Khronos reference: VkVideoEncodeRgbChromaOffsetFlagBitsVALVE

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoEncodeRgbConversionCapabilitiesVALVE

pub struct VideoEncodeRgbConversionCapabilitiesVALVE<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub rgb_models: VideoEncodeRgbModelConversionFlagsVALVE, pub rgb_ranges: VideoEncodeRgbRangeCompressionFlagsVALVE, pub x_chroma_offsets: VideoEncodeRgbChromaOffsetFlagsVALVE, pub y_chroma_offsets: VideoEncodeRgbChromaOffsetFlagsVALVE, /* private fields */ }
Native structure VkVideoEncodeRgbConversionCapabilitiesVALVE.

Contract

Native structure VkVideoEncodeRgbConversionCapabilitiesVALVE.

Khronos reference: VkVideoEncodeRgbConversionCapabilitiesVALVE

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

rgb_models

Field
rgb_models: VideoEncodeRgbModelConversionFlagsVALVE

Native field rgbModels.

rgb_ranges

Field
rgb_ranges: VideoEncodeRgbRangeCompressionFlagsVALVE

Native field rgbRanges.

x_chroma_offsets

Field
x_chroma_offsets: VideoEncodeRgbChromaOffsetFlagsVALVE

Native field xChromaOffsets.

y_chroma_offsets

Field
y_chroma_offsets: VideoEncodeRgbChromaOffsetFlagsVALVE

Native field yChromaOffsets.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_rgb_models

Method
pub fn set_rgb_models( self, value: VideoEncodeRgbModelConversionFlagsVALVE, ) -> Self

Set native field rgbModels without native effects.

set_rgb_ranges

Method
pub fn set_rgb_ranges( self, value: VideoEncodeRgbRangeCompressionFlagsVALVE, ) -> Self

Set native field rgbRanges without native effects.

set_x_chroma_offsets

Method
pub fn set_x_chroma_offsets( self, value: VideoEncodeRgbChromaOffsetFlagsVALVE, ) -> Self

Set native field xChromaOffsets without native effects.

set_y_chroma_offsets

Method
pub fn set_y_chroma_offsets( self, value: VideoEncodeRgbChromaOffsetFlagsVALVE, ) -> Self

Set native field yChromaOffsets 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::VideoEncodeRgbModelConversionFlagBitsVALVE

Contract

Open integer representation of VkVideoEncodeRgbModelConversionFlagBitsVALVE.

Khronos reference: VkVideoEncodeRgbModelConversionFlagBitsVALVE

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoEncodeRgbRangeCompressionFlagBitsVALVE

Contract

Open integer representation of VkVideoEncodeRgbRangeCompressionFlagBitsVALVE.

Khronos reference: VkVideoEncodeRgbRangeCompressionFlagBitsVALVE

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::VideoEncodeSessionIntraRefreshCreateInfoKHR

pub struct VideoEncodeSessionIntraRefreshCreateInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub intra_refresh_mode: VideoEncodeIntraRefreshModeFlagBitsKHR, /* private fields */ }
Native structure VkVideoEncodeSessionIntraRefreshCreateInfoKHR.

Contract

Native structure VkVideoEncodeSessionIntraRefreshCreateInfoKHR.

Khronos reference: VkVideoEncodeSessionIntraRefreshCreateInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

intra_refresh_mode

Field
intra_refresh_mode: VideoEncodeIntraRefreshModeFlagBitsKHR

Native field intraRefreshMode.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_intra_refresh_mode

Method
pub fn set_intra_refresh_mode( self, value: VideoEncodeIntraRefreshModeFlagBitsKHR, ) -> Self

Set native field intraRefreshMode 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::VideoEncodeSessionParametersFeedbackInfoKHR

pub struct VideoEncodeSessionParametersFeedbackInfoKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub has_overrides: Bool32, /* private fields */ }
Native structure VkVideoEncodeSessionParametersFeedbackInfoKHR.

Contract

Native structure VkVideoEncodeSessionParametersFeedbackInfoKHR.

Khronos reference: VkVideoEncodeSessionParametersFeedbackInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

has_overrides

Field
has_overrides: Bool32

Native field hasOverrides.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_has_overrides

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

Set native field hasOverrides 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::VideoEncodeSessionParametersGetInfoKHR

pub struct VideoEncodeSessionParametersGetInfoKHR<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub video_session_parameters: VideoSessionParametersKHR, /* private fields */ }
Native structure VkVideoEncodeSessionParametersGetInfoKHR.

Contract

Native structure VkVideoEncodeSessionParametersGetInfoKHR.

Khronos reference: VkVideoEncodeSessionParametersGetInfoKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

video_session_parameters

Field
video_session_parameters: VideoSessionParametersKHR

Native field videoSessionParameters.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_video_session_parameters

Method
pub fn set_video_session_parameters( self, value: VideoSessionParametersKHR, ) -> Self

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