vk · Structs · P14
16 public declarations with native signatures and source-owned contracts.
Stvk::PhysicalDeviceImageSlicedViewOf3DFeaturesEXT
Contract
Native structure VkPhysicalDeviceImageSlicedViewOf3DFeaturesEXT.
Khronos reference: VkPhysicalDeviceImageSlicedViewOf3DFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
image_sliced_view_of3_d
image_sliced_view_of3_d: Bool32Native field imageSlicedViewOf3D.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_image_sliced_view_of3_d
Set native field imageSlicedViewOf3D without native effects.
push_next
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.
default
Stvk::PhysicalDeviceImageTilingControlFeaturesEXT
Contract
Native structure VkPhysicalDeviceImageTilingControlFeaturesEXT.
Khronos reference: VkPhysicalDeviceImageTilingControlFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
image_tiling_control
image_tiling_control: Bool32Native field imageTilingControl.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_image_tiling_control
Set native field imageTilingControl without native effects.
push_next
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.
default
Stvk::PhysicalDeviceImageViewImageFormatInfoEXT
Contract
Native structure VkPhysicalDeviceImageViewImageFormatInfoEXT.
Khronos reference: VkPhysicalDeviceImageViewImageFormatInfoEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
image_view_type
image_view_type: ImageViewTypeNative field imageViewType.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_image_view_type
Set native field imageViewType without native effects.
push_next
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.
default
Stvk::PhysicalDeviceImageViewMinLodFeaturesEXT
Contract
Native structure VkPhysicalDeviceImageViewMinLodFeaturesEXT.
Khronos reference: VkPhysicalDeviceImageViewMinLodFeaturesEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
min_lod
min_lod: Bool32Native field minLod.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_min_lod
Set native field minLod without native effects.
push_next
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.
default
Stvk::PhysicalDeviceIndexTypeUint8Features
Contract
Native structure VkPhysicalDeviceIndexTypeUint8Features.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
index_type_uint8
index_type_uint8: Bool32Native field indexTypeUint8.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_index_type_uint8
Set native field indexTypeUint8 without native effects.
push_next
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.
default
Stvk::PhysicalDeviceInfoPropertiesINTEL
Contract
Native structure VkPhysicalDeviceInfoPropertiesINTEL.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
device_ip_version_arch
device_ip_version_arch: u32Native field deviceIpVersionArch.
device_ip_version_release
device_ip_version_release: u32Native field deviceIpVersionRelease.
device_ip_version_revision
device_ip_version_revision: u32Native field deviceIpVersionRevision.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_device_ip_version_arch
Set native field deviceIpVersionArch without native effects.
set_device_ip_version_release
Set native field deviceIpVersionRelease without native effects.
set_device_ip_version_revision
Set native field deviceIpVersionRevision without native effects.
push_next
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.
default
Stvk::PhysicalDeviceInheritedViewportScissorFeaturesNV
Contract
Native structure VkPhysicalDeviceInheritedViewportScissorFeaturesNV.
Khronos reference: VkPhysicalDeviceInheritedViewportScissorFeaturesNV
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
inherited_viewport_scissor2_d
inherited_viewport_scissor2_d: Bool32Native field inheritedViewportScissor2D.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_inherited_viewport_scissor2_d
Set native field inheritedViewportScissor2D without native effects.
push_next
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.
default
Stvk::PhysicalDeviceInlineUniformBlockFeatures
Contract
Native structure VkPhysicalDeviceInlineUniformBlockFeatures.
Khronos reference: VkPhysicalDeviceInlineUniformBlockFeatures
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
inline_uniform_block
inline_uniform_block: Bool32Native field inlineUniformBlock.
descriptor_binding_inline_uniform_block_update_after_bind
descriptor_binding_inline_uniform_block_update_after_bind: Bool32Native field descriptorBindingInlineUniformBlockUpdateAfterBind.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_inline_uniform_block
Set native field inlineUniformBlock without native effects.
set_descriptor_binding_inline_uniform_block_update_after_bind
Set native field descriptorBindingInlineUniformBlockUpdateAfterBind without native effects.
push_next
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.
default
Stvk::PhysicalDeviceInlineUniformBlockProperties
pub struct PhysicalDeviceInlineUniformBlockProperties<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub max_inline_uniform_block_size: u32,
pub max_per_stage_descriptor_inline_uniform_blocks: u32,
pub max_per_stage_descriptor_update_after_bind_inline_uniform_blocks: u32,
pub max_descriptor_set_inline_uniform_blocks: u32,
pub max_descriptor_set_update_after_bind_inline_uniform_blocks: u32,
/* private fields */
}Contract
Native structure VkPhysicalDeviceInlineUniformBlockProperties.
Khronos reference: VkPhysicalDeviceInlineUniformBlockProperties
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
max_inline_uniform_block_size
max_inline_uniform_block_size: u32Native field maxInlineUniformBlockSize.
max_per_stage_descriptor_inline_uniform_blocks
max_per_stage_descriptor_inline_uniform_blocks: u32Native field maxPerStageDescriptorInlineUniformBlocks.
max_per_stage_descriptor_update_after_bind_inline_uniform_blocks
max_per_stage_descriptor_update_after_bind_inline_uniform_blocks: u32Native field maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks.
max_descriptor_set_inline_uniform_blocks
max_descriptor_set_inline_uniform_blocks: u32Native field maxDescriptorSetInlineUniformBlocks.
max_descriptor_set_update_after_bind_inline_uniform_blocks
max_descriptor_set_update_after_bind_inline_uniform_blocks: u32Native field maxDescriptorSetUpdateAfterBindInlineUniformBlocks.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_inline_uniform_block_size
Set native field maxInlineUniformBlockSize without native effects.
set_max_per_stage_descriptor_inline_uniform_blocks
Set native field maxPerStageDescriptorInlineUniformBlocks without native effects.
set_max_per_stage_descriptor_update_after_bind_inline_uniform_blocks
Set native field maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks without native effects.
set_max_descriptor_set_inline_uniform_blocks
Set native field maxDescriptorSetInlineUniformBlocks without native effects.
set_max_descriptor_set_update_after_bind_inline_uniform_blocks
Set native field maxDescriptorSetUpdateAfterBindInlineUniformBlocks without native effects.
push_next
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.
default
Stvk::PhysicalDeviceInternallySynchronizedQueuesFeaturesKHR
Contract
Native structure VkPhysicalDeviceInternallySynchronizedQueuesFeaturesKHR.
Khronos reference: VkPhysicalDeviceInternallySynchronizedQueuesFeaturesKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
internally_synchronized_queues
internally_synchronized_queues: Bool32Native field internallySynchronizedQueues.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_internally_synchronized_queues
Set native field internallySynchronizedQueues without native effects.
push_next
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.
default
Stvk::PhysicalDeviceInvocationMaskFeaturesHUAWEI
Contract
Native structure VkPhysicalDeviceInvocationMaskFeaturesHUAWEI.
Khronos reference: VkPhysicalDeviceInvocationMaskFeaturesHUAWEI
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
invocation_mask
invocation_mask: Bool32Native field invocationMask.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_invocation_mask
Set native field invocationMask without native effects.
push_next
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.
default
Stvk::PhysicalDeviceLayeredApiKHR
Contract
Open integer representation of VkPhysicalDeviceLayeredApiKHR.
Fields
0
0: i32Methods and associated items
VULKAN_KHR
Native value VK_PHYSICAL_DEVICE_LAYERED_API_VULKAN_KHR.
Khronos reference: VK_PHYSICAL_DEVICE_LAYERED_API_VULKAN_KHR
D3D12_KHR
Native value VK_PHYSICAL_DEVICE_LAYERED_API_D3D12_KHR.
METAL_KHR
Native value VK_PHYSICAL_DEVICE_LAYERED_API_METAL_KHR.
OPENGL_KHR
Native value VK_PHYSICAL_DEVICE_LAYERED_API_OPENGL_KHR.
Khronos reference: VK_PHYSICAL_DEVICE_LAYERED_API_OPENGL_KHR
OPENGLES_KHR
Native value VK_PHYSICAL_DEVICE_LAYERED_API_OPENGLES_KHR.
Khronos reference: VK_PHYSICAL_DEVICE_LAYERED_API_OPENGLES_KHR
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::PhysicalDeviceLayeredApiPropertiesKHR
Contract
Native structure VkPhysicalDeviceLayeredApiPropertiesKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
vendor_id
vendor_id: u32Native field vendorID.
device_id
device_id: u32Native field deviceID.
layered_api
layered_api: PhysicalDeviceLayeredApiKHRNative field layeredAPI.
device_name
device_name: [c_char; 256]Native field deviceName.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_vendor_id
Set native field vendorID without native effects.
set_device_id
Set native field deviceID without native effects.
set_layered_api
Set native field layeredAPI without native effects.
set_device_name
Set native field deviceName without native effects.
push_next
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.
default
Stvk::PhysicalDeviceLayeredApiPropertiesListKHR
Contract
Native structure VkPhysicalDeviceLayeredApiPropertiesListKHR.
Khronos reference: VkPhysicalDeviceLayeredApiPropertiesListKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
layered_api_count
layered_api_count: u32Native field layeredApiCount.
p_layered_apis
p_layered_apis: *mut PhysicalDeviceLayeredApiPropertiesKHR<'a>Native field pLayeredApis.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_layered_api_count
Set native count layeredApiCount 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_layered_apis
Borrow pLayeredApis and set checked native count layeredApiCount.
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
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.
default
Stvk::PhysicalDeviceLayeredApiVulkanPropertiesKHR
Contract
Native structure VkPhysicalDeviceLayeredApiVulkanPropertiesKHR.
Khronos reference: VkPhysicalDeviceLayeredApiVulkanPropertiesKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
properties
properties: PhysicalDeviceProperties2<'a>Native field properties.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_properties
Set native field properties without native effects.
push_next
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.
default
Stvk::PhysicalDeviceLayeredDriverPropertiesMSFT
Contract
Native structure VkPhysicalDeviceLayeredDriverPropertiesMSFT.
Khronos reference: VkPhysicalDeviceLayeredDriverPropertiesMSFT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
underlying_api
underlying_api: LayeredDriverUnderlyingApiMSFTNative field underlyingAPI.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_underlying_api
Set native field underlyingAPI without native effects.
push_next
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.