vk · Structs · D6
16 public declarations with native signatures and source-owned contracts.
Stvk::DescriptorGetInfoEXT
Contract
Native structure VkDescriptorGetInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
type
type: DescriptorTypeNative field type.
data
data: DescriptorDataEXT<'a>Native field data.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_type
Set native field type without native effects.
set_data
Set native field data 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::DescriptorGetTensorInfoARM
Contract
Native structure VkDescriptorGetTensorInfoARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
tensor_view
tensor_view: TensorViewARMNative field tensorView.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_tensor_view
Set native field tensorView 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::DescriptorImageInfo
Contract
Native structure VkDescriptorImageInfo.
Fields
sampler
sampler: SamplerNative field sampler.
image_view
image_view: ImageViewNative field imageView.
image_layout
image_layout: ImageLayoutNative field imageLayout.
Methods and associated items
new
Construct the record with its default native state.
set_sampler
Set native field sampler without native effects.
set_image_view
Set native field imageView without native effects.
set_image_layout
Set native field imageLayout without native effects.
clone
default
Stvk::DescriptorMappingSourceConstantOffsetEXT
Contract
Native structure VkDescriptorMappingSourceConstantOffsetEXT.
Khronos reference: VkDescriptorMappingSourceConstantOffsetEXT
Fields
heap_offset
heap_offset: u32Native field heapOffset.
heap_array_stride
heap_array_stride: u32Native field heapArrayStride.
p_embedded_sampler
p_embedded_sampler: *const SamplerCreateInfo<'a>Native field pEmbeddedSampler.
sampler_heap_offset
sampler_heap_offset: u32Native field samplerHeapOffset.
sampler_heap_array_stride
sampler_heap_array_stride: u32Native field samplerHeapArrayStride.
Methods and associated items
new
Construct the record with its default native state.
set_heap_offset
Set native field heapOffset without native effects.
set_heap_array_stride
Set native field heapArrayStride without native effects.
set_embedded_sampler
Set native field pEmbeddedSampler without native effects.
set_sampler_heap_offset
Set native field samplerHeapOffset without native effects.
set_sampler_heap_array_stride
Set native field samplerHeapArrayStride without native effects.
clone
default
Stvk::DescriptorMappingSourceEXT
Contract
Open integer representation of VkDescriptorMappingSourceEXT.
Fields
0
0: i32Methods and associated items
HEAP_WITH_CONSTANT_OFFSET_EXT
Native value VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_CONSTANT_OFFSET_EXT.
Khronos reference: VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_CONSTANT_OFFSET_EXT
HEAP_WITH_PUSH_INDEX_EXT
Native value VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_PUSH_INDEX_EXT.
Khronos reference: VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_PUSH_INDEX_EXT
HEAP_WITH_INDIRECT_INDEX_EXT
Native value VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_INDIRECT_INDEX_EXT.
Khronos reference: VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_INDIRECT_INDEX_EXT
HEAP_WITH_INDIRECT_INDEX_ARRAY_EXT
Native value VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_INDIRECT_INDEX_ARRAY_EXT.
Khronos reference: VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_INDIRECT_INDEX_ARRAY_EXT
RESOURCE_HEAP_DATA_EXT
Native value VK_DESCRIPTOR_MAPPING_SOURCE_RESOURCE_HEAP_DATA_EXT.
Khronos reference: VK_DESCRIPTOR_MAPPING_SOURCE_RESOURCE_HEAP_DATA_EXT
PUSH_DATA_EXT
Native value VK_DESCRIPTOR_MAPPING_SOURCE_PUSH_DATA_EXT.
Khronos reference: VK_DESCRIPTOR_MAPPING_SOURCE_PUSH_DATA_EXT
PUSH_ADDRESS_EXT
Native value VK_DESCRIPTOR_MAPPING_SOURCE_PUSH_ADDRESS_EXT.
Khronos reference: VK_DESCRIPTOR_MAPPING_SOURCE_PUSH_ADDRESS_EXT
INDIRECT_ADDRESS_EXT
Native value VK_DESCRIPTOR_MAPPING_SOURCE_INDIRECT_ADDRESS_EXT.
Khronos reference: VK_DESCRIPTOR_MAPPING_SOURCE_INDIRECT_ADDRESS_EXT
HEAP_WITH_SHADER_RECORD_INDEX_EXT
Native value VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_SHADER_RECORD_INDEX_EXT.
Khronos reference: VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_SHADER_RECORD_INDEX_EXT
SHADER_RECORD_DATA_EXT
Native value VK_DESCRIPTOR_MAPPING_SOURCE_SHADER_RECORD_DATA_EXT.
Khronos reference: VK_DESCRIPTOR_MAPPING_SOURCE_SHADER_RECORD_DATA_EXT
SHADER_RECORD_ADDRESS_EXT
Native value VK_DESCRIPTOR_MAPPING_SOURCE_SHADER_RECORD_ADDRESS_EXT.
Khronos reference: VK_DESCRIPTOR_MAPPING_SOURCE_SHADER_RECORD_ADDRESS_EXT
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::DescriptorMappingSourceHeapDataEXT
Contract
Native structure VkDescriptorMappingSourceHeapDataEXT.
Fields
heap_offset
heap_offset: u32Native field heapOffset.
push_offset
push_offset: u32Native field pushOffset.
Methods and associated items
new
Construct the record with its default native state.
set_heap_offset
Set native field heapOffset without native effects.
set_push_offset
Set native field pushOffset without native effects.
clone
default
Stvk::DescriptorMappingSourceIndirectAddressEXT
Contract
Native structure VkDescriptorMappingSourceIndirectAddressEXT.
Khronos reference: VkDescriptorMappingSourceIndirectAddressEXT
Fields
push_offset
push_offset: u32Native field pushOffset.
address_offset
address_offset: u32Native field addressOffset.
Methods and associated items
new
Construct the record with its default native state.
set_push_offset
Set native field pushOffset without native effects.
set_address_offset
Set native field addressOffset without native effects.
clone
default
Stvk::DescriptorMappingSourceIndirectIndexArrayEXT
pub struct DescriptorMappingSourceIndirectIndexArrayEXT<'a> {
pub heap_offset: u32,
pub push_offset: u32,
pub address_offset: u32,
pub heap_index_stride: u32,
pub p_embedded_sampler: *const SamplerCreateInfo<'a>,
pub use_combined_image_sampler_index: Bool32,
pub sampler_heap_offset: u32,
pub sampler_push_offset: u32,
pub sampler_address_offset: u32,
pub sampler_heap_index_stride: u32,
/* private fields */
}Contract
Native structure VkDescriptorMappingSourceIndirectIndexArrayEXT.
Khronos reference: VkDescriptorMappingSourceIndirectIndexArrayEXT
Fields
heap_offset
heap_offset: u32Native field heapOffset.
push_offset
push_offset: u32Native field pushOffset.
address_offset
address_offset: u32Native field addressOffset.
heap_index_stride
heap_index_stride: u32Native field heapIndexStride.
p_embedded_sampler
p_embedded_sampler: *const SamplerCreateInfo<'a>Native field pEmbeddedSampler.
use_combined_image_sampler_index
use_combined_image_sampler_index: Bool32Native field useCombinedImageSamplerIndex.
sampler_heap_offset
sampler_heap_offset: u32Native field samplerHeapOffset.
sampler_push_offset
sampler_push_offset: u32Native field samplerPushOffset.
sampler_address_offset
sampler_address_offset: u32Native field samplerAddressOffset.
sampler_heap_index_stride
sampler_heap_index_stride: u32Native field samplerHeapIndexStride.
Methods and associated items
new
Construct the record with its default native state.
set_heap_offset
Set native field heapOffset without native effects.
set_push_offset
Set native field pushOffset without native effects.
set_address_offset
Set native field addressOffset without native effects.
set_heap_index_stride
Set native field heapIndexStride without native effects.
set_embedded_sampler
Set native field pEmbeddedSampler without native effects.
set_use_combined_image_sampler_index
Set native field useCombinedImageSamplerIndex without native effects.
set_sampler_heap_offset
Set native field samplerHeapOffset without native effects.
set_sampler_push_offset
Set native field samplerPushOffset without native effects.
set_sampler_address_offset
Set native field samplerAddressOffset without native effects.
set_sampler_heap_index_stride
Set native field samplerHeapIndexStride without native effects.
clone
default
Stvk::DescriptorMappingSourceIndirectIndexEXT
pub struct DescriptorMappingSourceIndirectIndexEXT<'a> {
pub heap_offset: u32,
pub push_offset: u32,
pub address_offset: u32,
pub heap_index_stride: u32,
pub heap_array_stride: u32,
pub p_embedded_sampler: *const SamplerCreateInfo<'a>,
pub use_combined_image_sampler_index: Bool32,
pub sampler_heap_offset: u32,
pub sampler_push_offset: u32,
pub sampler_address_offset: u32,
pub sampler_heap_index_stride: u32,
pub sampler_heap_array_stride: u32,
/* private fields */
}Contract
Native structure VkDescriptorMappingSourceIndirectIndexEXT.
Khronos reference: VkDescriptorMappingSourceIndirectIndexEXT
Fields
heap_offset
heap_offset: u32Native field heapOffset.
push_offset
push_offset: u32Native field pushOffset.
address_offset
address_offset: u32Native field addressOffset.
heap_index_stride
heap_index_stride: u32Native field heapIndexStride.
heap_array_stride
heap_array_stride: u32Native field heapArrayStride.
p_embedded_sampler
p_embedded_sampler: *const SamplerCreateInfo<'a>Native field pEmbeddedSampler.
use_combined_image_sampler_index
use_combined_image_sampler_index: Bool32Native field useCombinedImageSamplerIndex.
sampler_heap_offset
sampler_heap_offset: u32Native field samplerHeapOffset.
sampler_push_offset
sampler_push_offset: u32Native field samplerPushOffset.
sampler_address_offset
sampler_address_offset: u32Native field samplerAddressOffset.
sampler_heap_index_stride
sampler_heap_index_stride: u32Native field samplerHeapIndexStride.
sampler_heap_array_stride
sampler_heap_array_stride: u32Native field samplerHeapArrayStride.
Methods and associated items
new
Construct the record with its default native state.
set_heap_offset
Set native field heapOffset without native effects.
set_push_offset
Set native field pushOffset without native effects.
set_address_offset
Set native field addressOffset without native effects.
set_heap_index_stride
Set native field heapIndexStride without native effects.
set_heap_array_stride
Set native field heapArrayStride without native effects.
set_embedded_sampler
Set native field pEmbeddedSampler without native effects.
set_use_combined_image_sampler_index
Set native field useCombinedImageSamplerIndex without native effects.
set_sampler_heap_offset
Set native field samplerHeapOffset without native effects.
set_sampler_push_offset
Set native field samplerPushOffset without native effects.
set_sampler_address_offset
Set native field samplerAddressOffset without native effects.
set_sampler_heap_index_stride
Set native field samplerHeapIndexStride without native effects.
set_sampler_heap_array_stride
Set native field samplerHeapArrayStride without native effects.
clone
default
Stvk::DescriptorMappingSourcePushIndexEXT
pub struct DescriptorMappingSourcePushIndexEXT<'a> {
pub heap_offset: u32,
pub push_offset: u32,
pub heap_index_stride: u32,
pub heap_array_stride: u32,
pub p_embedded_sampler: *const SamplerCreateInfo<'a>,
pub use_combined_image_sampler_index: Bool32,
pub sampler_heap_offset: u32,
pub sampler_push_offset: u32,
pub sampler_heap_index_stride: u32,
pub sampler_heap_array_stride: u32,
/* private fields */
}Contract
Native structure VkDescriptorMappingSourcePushIndexEXT.
Fields
heap_offset
heap_offset: u32Native field heapOffset.
push_offset
push_offset: u32Native field pushOffset.
heap_index_stride
heap_index_stride: u32Native field heapIndexStride.
heap_array_stride
heap_array_stride: u32Native field heapArrayStride.
p_embedded_sampler
p_embedded_sampler: *const SamplerCreateInfo<'a>Native field pEmbeddedSampler.
use_combined_image_sampler_index
use_combined_image_sampler_index: Bool32Native field useCombinedImageSamplerIndex.
sampler_heap_offset
sampler_heap_offset: u32Native field samplerHeapOffset.
sampler_push_offset
sampler_push_offset: u32Native field samplerPushOffset.
sampler_heap_index_stride
sampler_heap_index_stride: u32Native field samplerHeapIndexStride.
sampler_heap_array_stride
sampler_heap_array_stride: u32Native field samplerHeapArrayStride.
Methods and associated items
new
Construct the record with its default native state.
set_heap_offset
Set native field heapOffset without native effects.
set_push_offset
Set native field pushOffset without native effects.
set_heap_index_stride
Set native field heapIndexStride without native effects.
set_heap_array_stride
Set native field heapArrayStride without native effects.
set_embedded_sampler
Set native field pEmbeddedSampler without native effects.
set_use_combined_image_sampler_index
Set native field useCombinedImageSamplerIndex without native effects.
set_sampler_heap_offset
Set native field samplerHeapOffset without native effects.
set_sampler_push_offset
Set native field samplerPushOffset without native effects.
set_sampler_heap_index_stride
Set native field samplerHeapIndexStride without native effects.
set_sampler_heap_array_stride
Set native field samplerHeapArrayStride without native effects.
clone
default
Stvk::DescriptorMappingSourceShaderRecordIndexEXT
pub struct DescriptorMappingSourceShaderRecordIndexEXT<'a> {
pub heap_offset: u32,
pub shader_record_offset: u32,
pub heap_index_stride: u32,
pub heap_array_stride: u32,
pub p_embedded_sampler: *const SamplerCreateInfo<'a>,
pub use_combined_image_sampler_index: Bool32,
pub sampler_heap_offset: u32,
pub sampler_shader_record_offset: u32,
pub sampler_heap_index_stride: u32,
pub sampler_heap_array_stride: u32,
/* private fields */
}Contract
Native structure VkDescriptorMappingSourceShaderRecordIndexEXT.
Khronos reference: VkDescriptorMappingSourceShaderRecordIndexEXT
Fields
heap_offset
heap_offset: u32Native field heapOffset.
shader_record_offset
shader_record_offset: u32Native field shaderRecordOffset.
heap_index_stride
heap_index_stride: u32Native field heapIndexStride.
heap_array_stride
heap_array_stride: u32Native field heapArrayStride.
p_embedded_sampler
p_embedded_sampler: *const SamplerCreateInfo<'a>Native field pEmbeddedSampler.
use_combined_image_sampler_index
use_combined_image_sampler_index: Bool32Native field useCombinedImageSamplerIndex.
sampler_heap_offset
sampler_heap_offset: u32Native field samplerHeapOffset.
sampler_shader_record_offset
sampler_shader_record_offset: u32Native field samplerShaderRecordOffset.
sampler_heap_index_stride
sampler_heap_index_stride: u32Native field samplerHeapIndexStride.
sampler_heap_array_stride
sampler_heap_array_stride: u32Native field samplerHeapArrayStride.
Methods and associated items
new
Construct the record with its default native state.
set_heap_offset
Set native field heapOffset without native effects.
set_shader_record_offset
Set native field shaderRecordOffset without native effects.
set_heap_index_stride
Set native field heapIndexStride without native effects.
set_heap_array_stride
Set native field heapArrayStride without native effects.
set_embedded_sampler
Set native field pEmbeddedSampler without native effects.
set_use_combined_image_sampler_index
Set native field useCombinedImageSamplerIndex without native effects.
set_sampler_heap_offset
Set native field samplerHeapOffset without native effects.
set_sampler_shader_record_offset
Set native field samplerShaderRecordOffset without native effects.
set_sampler_heap_index_stride
Set native field samplerHeapIndexStride without native effects.
set_sampler_heap_array_stride
Set native field samplerHeapArrayStride without native effects.
clone
default
Stvk::DescriptorPool
Contract
Raw Vulkan handle VkDescriptorPool.
Khronos reference: VkDescriptorPool
Calls using this identity must satisfy Vulkan lifetime and synchronization rules.
Fields
0
0: u64Methods and associated items
NULL
is_null
from_raw
as_raw
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::DescriptorPoolCreateFlagBits
Contract
Open integer representation of VkDescriptorPoolCreateFlagBits.
Fields
0
0: u32Methods and associated items
FREE_DESCRIPTOR_SET_BIT
Native value VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT.
Khronos reference: VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT
UPDATE_AFTER_BIND_BIT
Native value VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT.
Khronos reference: VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT
UPDATE_AFTER_BIND_BIT_EXT
Native value VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT.
Khronos reference: VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT
HOST_ONLY_BIT_VALVE
Native value VK_DESCRIPTOR_POOL_CREATE_HOST_ONLY_BIT_VALVE.
Khronos reference: VK_DESCRIPTOR_POOL_CREATE_HOST_ONLY_BIT_VALVE
HOST_ONLY_BIT_EXT
Native value VK_DESCRIPTOR_POOL_CREATE_HOST_ONLY_BIT_EXT.
Khronos reference: VK_DESCRIPTOR_POOL_CREATE_HOST_ONLY_BIT_EXT
ALLOW_OVERALLOCATION_SETS_BIT_NV
Native value VK_DESCRIPTOR_POOL_CREATE_ALLOW_OVERALLOCATION_SETS_BIT_NV.
Khronos reference: VK_DESCRIPTOR_POOL_CREATE_ALLOW_OVERALLOCATION_SETS_BIT_NV
ALLOW_OVERALLOCATION_POOLS_BIT_NV
Native value VK_DESCRIPTOR_POOL_CREATE_ALLOW_OVERALLOCATION_POOLS_BIT_NV.
Khronos reference: VK_DESCRIPTOR_POOL_CREATE_ALLOW_OVERALLOCATION_POOLS_BIT_NV
from_raw
as_raw
empty
Output
& operator.bitand
& operation. Read moreOutput-1
| operator.bitor
| operation. Read moreOutput-2
^ operator.bitxor
^ operation. Read moreclone
fmt
default
hash
Output-3
! operator.not
! operation. Read moreeq
self and other values to be equal, and is used by ==.Stvk::DescriptorPoolCreateInfo
Contract
Native structure VkDescriptorPoolCreateInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: DescriptorPoolCreateFlagsNative field flags.
max_sets
max_sets: u32Native field maxSets.
pool_size_count
pool_size_count: u32Native field poolSizeCount.
p_pool_sizes
p_pool_sizes: *const DescriptorPoolSizeNative field pPoolSizes.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_flags
Set native field flags without native effects.
set_max_sets
Set native field maxSets without native effects.
set_pool_size_count
Set native count poolSizeCount 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_pool_sizes
Borrow pPoolSizes and set checked native count poolSizeCount.
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::DescriptorPoolInlineUniformBlockCreateInfo
Contract
Native structure VkDescriptorPoolInlineUniformBlockCreateInfo.
Khronos reference: VkDescriptorPoolInlineUniformBlockCreateInfo
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
max_inline_uniform_block_bindings
max_inline_uniform_block_bindings: u32Native field maxInlineUniformBlockBindings.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_max_inline_uniform_block_bindings
Set native field maxInlineUniformBlockBindings 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::DescriptorPoolResetFlags
Contract
Open integer representation of VkDescriptorPoolResetFlags.
Fields
0
0: u32Methods and associated items
from_raw
as_raw
empty
Output
& operator.bitand
& operation. Read moreOutput-1
| operator.bitor
| operation. Read moreOutput-2
^ operator.bitxor
^ operation. Read moreclone
fmt
default
hash
Output-3
! operator.not
! operation. Read moreeq
self and other values to be equal, and is used by ==.