Realm

vk · Structs · P12

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

StRustExperimental

Stvk::PhysicalDeviceFragmentShadingRateEnumsPropertiesNV

pub struct PhysicalDeviceFragmentShadingRateEnumsPropertiesNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub max_fragment_shading_rate_invocation_count: SampleCountFlagBits, /* private fields */ }
Native structure VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.

Contract

Native structure VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV.

Khronos reference: VkPhysicalDeviceFragmentShadingRateEnumsPropertiesNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

max_fragment_shading_rate_invocation_count

Field
max_fragment_shading_rate_invocation_count: SampleCountFlagBits

Native field maxFragmentShadingRateInvocationCount.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_max_fragment_shading_rate_invocation_count

Method
pub fn set_max_fragment_shading_rate_invocation_count( self, value: SampleCountFlagBits, ) -> Self

Set native field maxFragmentShadingRateInvocationCount 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::PhysicalDeviceFragmentShadingRateFeaturesKHR

pub struct PhysicalDeviceFragmentShadingRateFeaturesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub pipeline_fragment_shading_rate: Bool32, pub primitive_fragment_shading_rate: Bool32, pub attachment_fragment_shading_rate: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceFragmentShadingRateFeaturesKHR.

Contract

Native structure VkPhysicalDeviceFragmentShadingRateFeaturesKHR.

Khronos reference: VkPhysicalDeviceFragmentShadingRateFeaturesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

pipeline_fragment_shading_rate

Field
pipeline_fragment_shading_rate: Bool32

Native field pipelineFragmentShadingRate.

primitive_fragment_shading_rate

Field
primitive_fragment_shading_rate: Bool32

Native field primitiveFragmentShadingRate.

attachment_fragment_shading_rate

Field
attachment_fragment_shading_rate: Bool32

Native field attachmentFragmentShadingRate.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_pipeline_fragment_shading_rate

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

Set native field pipelineFragmentShadingRate without native effects.

set_primitive_fragment_shading_rate

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

Set native field primitiveFragmentShadingRate without native effects.

set_attachment_fragment_shading_rate

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

Set native field attachmentFragmentShadingRate 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::PhysicalDeviceFragmentShadingRateKHR

pub struct PhysicalDeviceFragmentShadingRateKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub sample_counts: SampleCountFlags, pub fragment_size: Extent2D, /* private fields */ }
Native structure VkPhysicalDeviceFragmentShadingRateKHR.

Contract

Native structure VkPhysicalDeviceFragmentShadingRateKHR.

Khronos reference: VkPhysicalDeviceFragmentShadingRateKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

sample_counts

Field
sample_counts: SampleCountFlags

Native field sampleCounts.

fragment_size

Field
fragment_size: Extent2D

Native field fragmentSize.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_sample_counts

Method
pub fn set_sample_counts(self, value: SampleCountFlags) -> Self

Set native field sampleCounts without native effects.

set_fragment_size

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

Set native field fragmentSize 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::PhysicalDeviceFragmentShadingRatePropertiesKHR

pub struct PhysicalDeviceFragmentShadingRatePropertiesKHR<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub min_fragment_shading_rate_attachment_texel_size: Extent2D, pub max_fragment_shading_rate_attachment_texel_size: Extent2D, pub max_fragment_shading_rate_attachment_texel_size_aspect_ratio: u32, pub primitive_fragment_shading_rate_with_multiple_viewports: Bool32, pub layered_shading_rate_attachments: Bool32, pub fragment_shading_rate_non_trivial_combiner_ops: Bool32, pub max_fragment_size: Extent2D, pub max_fragment_size_aspect_ratio: u32, pub max_fragment_shading_rate_coverage_samples: u32, pub max_fragment_shading_rate_rasterization_samples: SampleCountFlagBits, pub fragment_shading_rate_with_shader_depth_stencil_writes: Bool32, pub fragment_shading_rate_with_sample_mask: Bool32, pub fragment_shading_rate_with_shader_sample_mask: Bool32, pub fragment_shading_rate_with_conservative_rasterization: Bool32, pub fragment_shading_rate_with_fragment_shader_interlock: Bool32, pub fragment_shading_rate_with_custom_sample_locations: Bool32, pub fragment_shading_rate_strict_multiply_combiner: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceFragmentShadingRatePropertiesKHR.

Contract

Native structure VkPhysicalDeviceFragmentShadingRatePropertiesKHR.

Khronos reference: VkPhysicalDeviceFragmentShadingRatePropertiesKHR

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

min_fragment_shading_rate_attachment_texel_size

Field
min_fragment_shading_rate_attachment_texel_size: Extent2D

Native field minFragmentShadingRateAttachmentTexelSize.

max_fragment_shading_rate_attachment_texel_size

Field
max_fragment_shading_rate_attachment_texel_size: Extent2D

Native field maxFragmentShadingRateAttachmentTexelSize.

max_fragment_shading_rate_attachment_texel_size_aspect_ratio

Field
max_fragment_shading_rate_attachment_texel_size_aspect_ratio: u32

Native field maxFragmentShadingRateAttachmentTexelSizeAspectRatio.

primitive_fragment_shading_rate_with_multiple_viewports

Field
primitive_fragment_shading_rate_with_multiple_viewports: Bool32

Native field primitiveFragmentShadingRateWithMultipleViewports.

layered_shading_rate_attachments

Field
layered_shading_rate_attachments: Bool32

Native field layeredShadingRateAttachments.

fragment_shading_rate_non_trivial_combiner_ops

Field
fragment_shading_rate_non_trivial_combiner_ops: Bool32

Native field fragmentShadingRateNonTrivialCombinerOps.

max_fragment_size

Field
max_fragment_size: Extent2D

Native field maxFragmentSize.

max_fragment_size_aspect_ratio

Field
max_fragment_size_aspect_ratio: u32

Native field maxFragmentSizeAspectRatio.

max_fragment_shading_rate_coverage_samples

Field
max_fragment_shading_rate_coverage_samples: u32

Native field maxFragmentShadingRateCoverageSamples.

max_fragment_shading_rate_rasterization_samples

Field
max_fragment_shading_rate_rasterization_samples: SampleCountFlagBits

Native field maxFragmentShadingRateRasterizationSamples.

fragment_shading_rate_with_shader_depth_stencil_writes

Field
fragment_shading_rate_with_shader_depth_stencil_writes: Bool32

Native field fragmentShadingRateWithShaderDepthStencilWrites.

fragment_shading_rate_with_sample_mask

Field
fragment_shading_rate_with_sample_mask: Bool32

Native field fragmentShadingRateWithSampleMask.

fragment_shading_rate_with_shader_sample_mask

Field
fragment_shading_rate_with_shader_sample_mask: Bool32

Native field fragmentShadingRateWithShaderSampleMask.

fragment_shading_rate_with_conservative_rasterization

Field
fragment_shading_rate_with_conservative_rasterization: Bool32

Native field fragmentShadingRateWithConservativeRasterization.

fragment_shading_rate_with_fragment_shader_interlock

Field
fragment_shading_rate_with_fragment_shader_interlock: Bool32

Native field fragmentShadingRateWithFragmentShaderInterlock.

fragment_shading_rate_with_custom_sample_locations

Field
fragment_shading_rate_with_custom_sample_locations: Bool32

Native field fragmentShadingRateWithCustomSampleLocations.

fragment_shading_rate_strict_multiply_combiner

Field
fragment_shading_rate_strict_multiply_combiner: Bool32

Native field fragmentShadingRateStrictMultiplyCombiner.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_min_fragment_shading_rate_attachment_texel_size

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

Set native field minFragmentShadingRateAttachmentTexelSize without native effects.

set_max_fragment_shading_rate_attachment_texel_size

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

Set native field maxFragmentShadingRateAttachmentTexelSize without native effects.

set_max_fragment_shading_rate_attachment_texel_size_aspect_ratio

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

Set native field maxFragmentShadingRateAttachmentTexelSizeAspectRatio without native effects.

set_primitive_fragment_shading_rate_with_multiple_viewports

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

Set native field primitiveFragmentShadingRateWithMultipleViewports without native effects.

set_layered_shading_rate_attachments

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

Set native field layeredShadingRateAttachments without native effects.

set_fragment_shading_rate_non_trivial_combiner_ops

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

Set native field fragmentShadingRateNonTrivialCombinerOps without native effects.

set_max_fragment_size

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

Set native field maxFragmentSize without native effects.

set_max_fragment_size_aspect_ratio

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

Set native field maxFragmentSizeAspectRatio without native effects.

set_max_fragment_shading_rate_coverage_samples

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

Set native field maxFragmentShadingRateCoverageSamples without native effects.

set_max_fragment_shading_rate_rasterization_samples

Method
pub fn set_max_fragment_shading_rate_rasterization_samples( self, value: SampleCountFlagBits, ) -> Self

Set native field maxFragmentShadingRateRasterizationSamples without native effects.

set_fragment_shading_rate_with_shader_depth_stencil_writes

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

Set native field fragmentShadingRateWithShaderDepthStencilWrites without native effects.

set_fragment_shading_rate_with_sample_mask

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

Set native field fragmentShadingRateWithSampleMask without native effects.

set_fragment_shading_rate_with_shader_sample_mask

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

Set native field fragmentShadingRateWithShaderSampleMask without native effects.

set_fragment_shading_rate_with_conservative_rasterization

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

Set native field fragmentShadingRateWithConservativeRasterization without native effects.

set_fragment_shading_rate_with_fragment_shader_interlock

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

Set native field fragmentShadingRateWithFragmentShaderInterlock without native effects.

set_fragment_shading_rate_with_custom_sample_locations

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

Set native field fragmentShadingRateWithCustomSampleLocations without native effects.

set_fragment_shading_rate_strict_multiply_combiner

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

Set native field fragmentShadingRateStrictMultiplyCombiner 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::PhysicalDeviceFrameBoundaryFeaturesEXT

pub struct PhysicalDeviceFrameBoundaryFeaturesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub frame_boundary: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceFrameBoundaryFeaturesEXT.

Contract

Native structure VkPhysicalDeviceFrameBoundaryFeaturesEXT.

Khronos reference: VkPhysicalDeviceFrameBoundaryFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

frame_boundary

Field
frame_boundary: Bool32

Native field frameBoundary.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_frame_boundary

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

Set native field frameBoundary 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::PhysicalDeviceGlobalPriorityQueryFeatures

pub struct PhysicalDeviceGlobalPriorityQueryFeatures<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub global_priority_query: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceGlobalPriorityQueryFeatures.

Contract

Native structure VkPhysicalDeviceGlobalPriorityQueryFeatures.

Khronos reference: VkPhysicalDeviceGlobalPriorityQueryFeatures

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

global_priority_query

Field
global_priority_query: Bool32

Native field globalPriorityQuery.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_global_priority_query

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

Set native field globalPriorityQuery 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::PhysicalDeviceGpaFeaturesAMD

pub struct PhysicalDeviceGpaFeaturesAMD<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub perf_counters: Bool32, pub streaming_perf_counters: Bool32, pub sq_thread_tracing: Bool32, pub clock_modes: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceGpaFeaturesAMD.

Contract

Native structure VkPhysicalDeviceGpaFeaturesAMD.

Khronos reference: VkPhysicalDeviceGpaFeaturesAMD

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

perf_counters

Field
perf_counters: Bool32

Native field perfCounters.

streaming_perf_counters

Field
streaming_perf_counters: Bool32

Native field streamingPerfCounters.

sq_thread_tracing

Field
sq_thread_tracing: Bool32

Native field sqThreadTracing.

clock_modes

Field
clock_modes: Bool32

Native field clockModes.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_perf_counters

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

Set native field perfCounters without native effects.

set_streaming_perf_counters

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

Set native field streamingPerfCounters without native effects.

set_sq_thread_tracing

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

Set native field sqThreadTracing without native effects.

set_clock_modes

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

Set native field clockModes 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::PhysicalDeviceGpaProperties2AMD

pub struct PhysicalDeviceGpaProperties2AMD<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub revision_id: u32, /* private fields */ }
Native structure VkPhysicalDeviceGpaProperties2AMD.

Contract

Native structure VkPhysicalDeviceGpaProperties2AMD.

Khronos reference: VkPhysicalDeviceGpaProperties2AMD

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

revision_id

Field
revision_id: u32

Native field revisionId.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_revision_id

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

Set native field revisionId 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::PhysicalDeviceGpaPropertiesAMD

pub struct PhysicalDeviceGpaPropertiesAMD<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub flags: PhysicalDeviceGpaPropertiesFlagsAMD, pub max_sqtt_se_buffer_size: DeviceSize, pub shader_engine_count: u32, pub perf_block_count: u32, pub p_perf_blocks: *mut GpaPerfBlockPropertiesAMD, /* private fields */ }
Native structure VkPhysicalDeviceGpaPropertiesAMD.

Contract

Native structure VkPhysicalDeviceGpaPropertiesAMD.

Khronos reference: VkPhysicalDeviceGpaPropertiesAMD

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

flags

Field
flags: PhysicalDeviceGpaPropertiesFlagsAMD

Native field flags.

max_sqtt_se_buffer_size

Field
max_sqtt_se_buffer_size: DeviceSize

Native field maxSqttSeBufferSize.

shader_engine_count

Field
shader_engine_count: u32

Native field shaderEngineCount.

perf_block_count

Field
perf_block_count: u32

Native field perfBlockCount.

p_perf_blocks

Field
p_perf_blocks: *mut GpaPerfBlockPropertiesAMD

Native field pPerfBlocks.

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

Set native field flags without native effects.

set_max_sqtt_se_buffer_size

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

Set native field maxSqttSeBufferSize without native effects.

set_shader_engine_count

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

Set native field shaderEngineCount without native effects.

set_perf_block_count

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

Set native count perfBlockCount 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_perf_blocks

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

Borrow pPerfBlocks and set checked native count perfBlockCount. 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::PhysicalDeviceGpaPropertiesFlagsAMD

Contract

Open integer representation of VkPhysicalDeviceGpaPropertiesFlagsAMD.

Khronos reference: VkPhysicalDeviceGpaPropertiesFlagsAMD

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

Output-1

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

Output-2

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

clone

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

Output-3

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

eq

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

Stvk::PhysicalDeviceGraphicsPipelineLibraryFeaturesEXT

pub struct PhysicalDeviceGraphicsPipelineLibraryFeaturesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub graphics_pipeline_library: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT.

Contract

Native structure VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT.

Khronos reference: VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

graphics_pipeline_library

Field
graphics_pipeline_library: Bool32

Native field graphicsPipelineLibrary.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_graphics_pipeline_library

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

Set native field graphicsPipelineLibrary 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::PhysicalDeviceGraphicsPipelineLibraryPropertiesEXT

pub struct PhysicalDeviceGraphicsPipelineLibraryPropertiesEXT<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub graphics_pipeline_library_fast_linking: Bool32, pub graphics_pipeline_library_independent_interpolation_decoration: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceGraphicsPipelineLibraryPropertiesEXT.

Contract

Native structure VkPhysicalDeviceGraphicsPipelineLibraryPropertiesEXT.

Khronos reference: VkPhysicalDeviceGraphicsPipelineLibraryPropertiesEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

graphics_pipeline_library_fast_linking

Field
graphics_pipeline_library_fast_linking: Bool32

Native field graphicsPipelineLibraryFastLinking.

graphics_pipeline_library_independent_interpolation_decoration

Field
graphics_pipeline_library_independent_interpolation_decoration: Bool32

Native field graphicsPipelineLibraryIndependentInterpolationDecoration.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_graphics_pipeline_library_fast_linking

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

Set native field graphicsPipelineLibraryFastLinking without native effects.

set_graphics_pipeline_library_independent_interpolation_decoration

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

Set native field graphicsPipelineLibraryIndependentInterpolationDecoration 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::PhysicalDeviceGroupProperties

pub struct PhysicalDeviceGroupProperties<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub physical_device_count: u32, pub physical_devices: [PhysicalDevice; 32], pub subset_allocation: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceGroupProperties.

Contract

Native structure VkPhysicalDeviceGroupProperties.

Khronos reference: VkPhysicalDeviceGroupProperties

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

physical_device_count

Field
physical_device_count: u32

Native field physicalDeviceCount.

physical_devices

Field
physical_devices: [PhysicalDevice; 32]

Native field physicalDevices.

subset_allocation

Field
subset_allocation: Bool32

Native field subsetAllocation.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_physical_device_count

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

Set native count physicalDeviceCount 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_physical_devices

Method
pub fn set_physical_devices(self, value: [PhysicalDevice; 32]) -> Self

Set native field physicalDevices without native effects.

set_subset_allocation

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

Set native field subsetAllocation 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::PhysicalDeviceHdrVividFeaturesHUAWEI

pub struct PhysicalDeviceHdrVividFeaturesHUAWEI<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub hdr_vivid: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceHdrVividFeaturesHUAWEI.

Contract

Native structure VkPhysicalDeviceHdrVividFeaturesHUAWEI.

Khronos reference: VkPhysicalDeviceHdrVividFeaturesHUAWEI

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

hdr_vivid

Field
hdr_vivid: Bool32

Native field hdrVivid.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_hdr_vivid

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

Set native field hdrVivid 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::PhysicalDeviceHostImageCopyFeatures

pub struct PhysicalDeviceHostImageCopyFeatures<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub host_image_copy: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceHostImageCopyFeatures.

Contract

Native structure VkPhysicalDeviceHostImageCopyFeatures.

Khronos reference: VkPhysicalDeviceHostImageCopyFeatures

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

host_image_copy

Field
host_image_copy: Bool32

Native field hostImageCopy.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_host_image_copy

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

Set native field hostImageCopy 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::PhysicalDeviceHostImageCopyProperties

pub struct PhysicalDeviceHostImageCopyProperties<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub copy_src_layout_count: u32, pub p_copy_src_layouts: *mut ImageLayout, pub copy_dst_layout_count: u32, pub p_copy_dst_layouts: *mut ImageLayout, pub optimal_tiling_layout_uuid: [u8; 16], pub identical_memory_type_requirements: Bool32, /* private fields */ }
Native structure VkPhysicalDeviceHostImageCopyProperties.

Contract

Native structure VkPhysicalDeviceHostImageCopyProperties.

Khronos reference: VkPhysicalDeviceHostImageCopyProperties

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

copy_src_layout_count

Field
copy_src_layout_count: u32

Native field copySrcLayoutCount.

p_copy_src_layouts

Field
p_copy_src_layouts: *mut ImageLayout

Native field pCopySrcLayouts.

copy_dst_layout_count

Field
copy_dst_layout_count: u32

Native field copyDstLayoutCount.

p_copy_dst_layouts

Field
p_copy_dst_layouts: *mut ImageLayout

Native field pCopyDstLayouts.

optimal_tiling_layout_uuid

Field
optimal_tiling_layout_uuid: [u8; 16]

Native field optimalTilingLayoutUUID.

identical_memory_type_requirements

Field
identical_memory_type_requirements: Bool32

Native field identicalMemoryTypeRequirements.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_copy_src_layout_count

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

Set native count copySrcLayoutCount 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_copy_src_layouts

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

Borrow pCopySrcLayouts and set checked native count copySrcLayoutCount. 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_copy_dst_layout_count

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

Set native count copyDstLayoutCount 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_copy_dst_layouts

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

Borrow pCopyDstLayouts and set checked native count copyDstLayoutCount. 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_optimal_tiling_layout_uuid

Method
pub fn set_optimal_tiling_layout_uuid(self, value: [u8; 16]) -> Self

Set native field optimalTilingLayoutUUID without native effects.

set_identical_memory_type_requirements

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

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