vk · Structs · B1
16 public declarations with native signatures and source-owned contracts.
Stvk::BaseInStructure
Contract
Native structure VkBaseInStructure.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const BaseInStructure<'a>Native field pNext.
Methods and associated items
new
Construct the record with its default native state.
set_s_type
Set native field sType without native effects.
set_p_next
Set native field pNext without native effects.
clone
default
Stvk::BaseOutStructure
Contract
Native structure VkBaseOutStructure.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut BaseOutStructure<'a>Native field pNext.
Methods and associated items
new
Construct the record with its default native state.
set_s_type
Set native field sType without native effects.
set_p_next
Set native field pNext without native effects.
default
Stvk::BeginCustomResolveInfoEXT
Contract
Native structure VkBeginCustomResolveInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
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::BindAccelerationStructureMemoryInfoNV
pub struct BindAccelerationStructureMemoryInfoNV<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub acceleration_structure: AccelerationStructureNV,
pub memory: DeviceMemory,
pub memory_offset: DeviceSize,
pub device_index_count: u32,
pub p_device_indices: *const u32,
/* private fields */
}Contract
Native structure VkBindAccelerationStructureMemoryInfoNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
acceleration_structure
acceleration_structure: AccelerationStructureNVNative field accelerationStructure.
memory
memory: DeviceMemoryNative field memory.
memory_offset
memory_offset: DeviceSizeNative field memoryOffset.
device_index_count
device_index_count: u32Native field deviceIndexCount.
p_device_indices
p_device_indices: *const u32Native field pDeviceIndices.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_acceleration_structure
Set native field accelerationStructure without native effects.
set_memory
Set native field memory without native effects.
set_memory_offset
Set native field memoryOffset without native effects.
set_device_index_count
Set native count deviceIndexCount 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_device_indices
Borrow pDeviceIndices and set checked native count deviceIndexCount.
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::BindBufferMemoryDeviceGroupInfo
Contract
Native structure VkBindBufferMemoryDeviceGroupInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
device_index_count
device_index_count: u32Native field deviceIndexCount.
p_device_indices
p_device_indices: *const u32Native field pDeviceIndices.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_device_index_count
Set native count deviceIndexCount 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_device_indices
Borrow pDeviceIndices and set checked native count deviceIndexCount.
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::BindBufferMemoryInfo
Contract
Native structure VkBindBufferMemoryInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
buffer
buffer: BufferNative field buffer.
memory
memory: DeviceMemoryNative field memory.
memory_offset
memory_offset: DeviceSizeNative field memoryOffset.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_buffer
Set native field buffer without native effects.
set_memory
Set native field memory without native effects.
set_memory_offset
Set native field memoryOffset 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::BindDataGraphPipelineSessionMemoryInfoARM
pub struct BindDataGraphPipelineSessionMemoryInfoARM<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub session: DataGraphPipelineSessionARM,
pub bind_point: DataGraphPipelineSessionBindPointARM,
pub object_index: u32,
pub memory: DeviceMemory,
pub memory_offset: DeviceSize,
/* private fields */
}Contract
Native structure VkBindDataGraphPipelineSessionMemoryInfoARM.
Khronos reference: VkBindDataGraphPipelineSessionMemoryInfoARM
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
session
session: DataGraphPipelineSessionARMNative field session.
bind_point
bind_point: DataGraphPipelineSessionBindPointARMNative field bindPoint.
object_index
object_index: u32Native field objectIndex.
memory
memory: DeviceMemoryNative field memory.
memory_offset
memory_offset: DeviceSizeNative field memoryOffset.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_session
Set native field session without native effects.
set_bind_point
Set native field bindPoint without native effects.
set_object_index
Set native field objectIndex without native effects.
set_memory
Set native field memory without native effects.
set_memory_offset
Set native field memoryOffset 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::BindDescriptorBufferEmbeddedSamplersInfoEXT
Contract
Native structure VkBindDescriptorBufferEmbeddedSamplersInfoEXT.
Khronos reference: VkBindDescriptorBufferEmbeddedSamplersInfoEXT
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
stage_flags
stage_flags: ShaderStageFlagsNative field stageFlags.
layout
layout: PipelineLayoutNative field layout.
set
set: u32Native field set.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_stage_flags
Set native field stageFlags without native effects.
set_layout
Set native field layout without native effects.
set_set
Set native field set 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::BindDescriptorSetsInfo
pub struct BindDescriptorSetsInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub stage_flags: ShaderStageFlags,
pub layout: PipelineLayout,
pub first_set: u32,
pub descriptor_set_count: u32,
pub p_descriptor_sets: *const DescriptorSet,
pub dynamic_offset_count: u32,
pub p_dynamic_offsets: *const u32,
/* private fields */
}Contract
Native structure VkBindDescriptorSetsInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
stage_flags
stage_flags: ShaderStageFlagsNative field stageFlags.
layout
layout: PipelineLayoutNative field layout.
first_set
first_set: u32Native field firstSet.
descriptor_set_count
descriptor_set_count: u32Native field descriptorSetCount.
p_descriptor_sets
p_descriptor_sets: *const DescriptorSetNative field pDescriptorSets.
dynamic_offset_count
dynamic_offset_count: u32Native field dynamicOffsetCount.
p_dynamic_offsets
p_dynamic_offsets: *const u32Native field pDynamicOffsets.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_stage_flags
Set native field stageFlags without native effects.
set_layout
Set native field layout without native effects.
set_first_set
Set native field firstSet without native effects.
set_descriptor_set_count
Set native count descriptorSetCount 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_descriptor_sets
Borrow pDescriptorSets and set checked native count descriptorSetCount.
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_dynamic_offset_count
Set native count dynamicOffsetCount 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_dynamic_offsets
Borrow pDynamicOffsets and set checked native count dynamicOffsetCount.
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::BindHeapInfoEXT
Contract
Native structure VkBindHeapInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
heap_range
heap_range: DeviceAddressRangeEXTNative field heapRange.
reserved_range_offset
reserved_range_offset: DeviceSizeNative field reservedRangeOffset.
reserved_range_size
reserved_range_size: DeviceSizeNative field reservedRangeSize.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_heap_range
Set native field heapRange without native effects.
set_reserved_range_offset
Set native field reservedRangeOffset without native effects.
set_reserved_range_size
Set native field reservedRangeSize 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::BindImageMemoryDeviceGroupInfo
Contract
Native structure VkBindImageMemoryDeviceGroupInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
device_index_count
device_index_count: u32Native field deviceIndexCount.
p_device_indices
p_device_indices: *const u32Native field pDeviceIndices.
split_instance_bind_region_count
split_instance_bind_region_count: u32Native field splitInstanceBindRegionCount.
p_split_instance_bind_regions
p_split_instance_bind_regions: *const Rect2DNative field pSplitInstanceBindRegions.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_device_index_count
Set native count deviceIndexCount 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_device_indices
Borrow pDeviceIndices and set checked native count deviceIndexCount.
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_split_instance_bind_region_count
Set native count splitInstanceBindRegionCount 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_split_instance_bind_regions
Borrow pSplitInstanceBindRegions and set checked native count splitInstanceBindRegionCount.
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::BindImageMemoryInfo
Contract
Native structure VkBindImageMemoryInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
image
image: ImageNative field image.
memory
memory: DeviceMemoryNative field memory.
memory_offset
memory_offset: DeviceSizeNative field memoryOffset.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_image
Set native field image without native effects.
set_memory
Set native field memory without native effects.
set_memory_offset
Set native field memoryOffset 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::BindImageMemorySwapchainInfoKHR
Contract
Native structure VkBindImageMemorySwapchainInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
swapchain
swapchain: SwapchainKHRNative field swapchain.
image_index
image_index: u32Native field imageIndex.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_swapchain
Set native field swapchain without native effects.
set_image_index
Set native field imageIndex 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::BindImagePlaneMemoryInfo
Contract
Native structure VkBindImagePlaneMemoryInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
plane_aspect
plane_aspect: ImageAspectFlagBitsNative field planeAspect.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_plane_aspect
Set native field planeAspect 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::BindIndexBuffer3InfoKHR
Contract
Native structure VkBindIndexBuffer3InfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
address_range
address_range: DeviceAddressRangeKHRNative field addressRange.
address_flags
address_flags: AddressCommandFlagsKHRNative field addressFlags.
index_type
index_type: IndexTypeNative field indexType.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_address_range
Set native field addressRange without native effects.
set_address_flags
Set native field addressFlags without native effects.
set_index_type
Set native field indexType 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::BindIndexBufferIndirectCommandEXT
Contract
Native structure VkBindIndexBufferIndirectCommandEXT.
Fields
buffer_address
buffer_address: DeviceAddressNative field bufferAddress.
size
size: u32Native field size.
index_type
index_type: IndexTypeNative field indexType.
Methods and associated items
new
Construct the record with its default native state.
set_buffer_address
Set native field bufferAddress without native effects.
set_size
Set native field size without native effects.
set_index_type
Set native field indexType without native effects.