vk · Structs · B3
16 public declarations with native signatures and source-owned contracts.
Stvk::BlockMatchWindowCompareModeQCOM
Contract
Open integer representation of VkBlockMatchWindowCompareModeQCOM.
Fields
0
0: i32Methods and associated items
MIN_QCOM
Native value VK_BLOCK_MATCH_WINDOW_COMPARE_MODE_MIN_QCOM.
Khronos reference: VK_BLOCK_MATCH_WINDOW_COMPARE_MODE_MIN_QCOM
MAX_QCOM
Native value VK_BLOCK_MATCH_WINDOW_COMPARE_MODE_MAX_QCOM.
Khronos reference: VK_BLOCK_MATCH_WINDOW_COMPARE_MODE_MAX_QCOM
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::BorderColor
Contract
Open integer representation of VkBorderColor.
Fields
0
0: i32Methods and associated items
FLOAT_TRANSPARENT_BLACK
Native value VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK.
INT_TRANSPARENT_BLACK
Native value VK_BORDER_COLOR_INT_TRANSPARENT_BLACK.
FLOAT_OPAQUE_BLACK
Native value VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK.
INT_OPAQUE_BLACK
Native value VK_BORDER_COLOR_INT_OPAQUE_BLACK.
FLOAT_OPAQUE_WHITE
Native value VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE.
INT_OPAQUE_WHITE
Native value VK_BORDER_COLOR_INT_OPAQUE_WHITE.
FLOAT_CUSTOM_EXT
Native value VK_BORDER_COLOR_FLOAT_CUSTOM_EXT.
INT_CUSTOM_EXT
Native value VK_BORDER_COLOR_INT_CUSTOM_EXT.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::Buffer
Contract
Raw Vulkan handle VkBuffer.
Khronos reference: VkBuffer
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::BufferCaptureDescriptorDataInfoEXT
Contract
Native structure VkBufferCaptureDescriptorDataInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
buffer
buffer: BufferNative field buffer.
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.
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::BufferCollectionBufferCreateInfoFUCHSIA
Contract
Native structure VkBufferCollectionBufferCreateInfoFUCHSIA.
Khronos reference: VkBufferCollectionBufferCreateInfoFUCHSIA
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
collection
collection: BufferCollectionFUCHSIANative field collection.
index
index: u32Native field index.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_collection
Set native field collection without native effects.
set_index
Set native field index 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::BufferCollectionConstraintsInfoFUCHSIA
pub struct BufferCollectionConstraintsInfoFUCHSIA<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub min_buffer_count: u32,
pub max_buffer_count: u32,
pub min_buffer_count_for_camping: u32,
pub min_buffer_count_for_dedicated_slack: u32,
pub min_buffer_count_for_shared_slack: u32,
/* private fields */
}Contract
Native structure VkBufferCollectionConstraintsInfoFUCHSIA.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
min_buffer_count
min_buffer_count: u32Native field minBufferCount.
max_buffer_count
max_buffer_count: u32Native field maxBufferCount.
min_buffer_count_for_camping
min_buffer_count_for_camping: u32Native field minBufferCountForCamping.
min_buffer_count_for_dedicated_slack
min_buffer_count_for_dedicated_slack: u32Native field minBufferCountForDedicatedSlack.
min_buffer_count_for_shared_slack
min_buffer_count_for_shared_slack: u32Native field minBufferCountForSharedSlack.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_min_buffer_count
Set native field minBufferCount without native effects.
set_max_buffer_count
Set native field maxBufferCount without native effects.
set_min_buffer_count_for_camping
Set native field minBufferCountForCamping without native effects.
set_min_buffer_count_for_dedicated_slack
Set native field minBufferCountForDedicatedSlack without native effects.
set_min_buffer_count_for_shared_slack
Set native field minBufferCountForSharedSlack 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::BufferCollectionCreateInfoFUCHSIA
Contract
Native structure VkBufferCollectionCreateInfoFUCHSIA.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
collection_token
collection_token: zx_handle_tNative field collectionToken.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_collection_token
Set native field collectionToken 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::BufferCollectionFUCHSIA
Contract
Raw Vulkan handle VkBufferCollectionFUCHSIA.
Khronos reference: VkBufferCollectionFUCHSIA
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::BufferCollectionImageCreateInfoFUCHSIA
Contract
Native structure VkBufferCollectionImageCreateInfoFUCHSIA.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
collection
collection: BufferCollectionFUCHSIANative field collection.
index
index: u32Native field index.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_collection
Set native field collection without native effects.
set_index
Set native field index 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::BufferCollectionPropertiesFUCHSIA
pub struct BufferCollectionPropertiesFUCHSIA<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub memory_type_bits: u32,
pub buffer_count: u32,
pub create_info_index: u32,
pub sysmem_pixel_format: u64,
pub format_features: FormatFeatureFlags,
pub sysmem_color_space_index: SysmemColorSpaceFUCHSIA<'a>,
pub sampler_ycbcr_conversion_components: ComponentMapping,
pub suggested_ycbcr_model: SamplerYcbcrModelConversion,
pub suggested_ycbcr_range: SamplerYcbcrRange,
pub suggested_x_chroma_offset: ChromaLocation,
pub suggested_y_chroma_offset: ChromaLocation,
/* private fields */
}Contract
Native structure VkBufferCollectionPropertiesFUCHSIA.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
memory_type_bits
memory_type_bits: u32Native field memoryTypeBits.
buffer_count
buffer_count: u32Native field bufferCount.
create_info_index
create_info_index: u32Native field createInfoIndex.
sysmem_pixel_format
sysmem_pixel_format: u64Native field sysmemPixelFormat.
format_features
format_features: FormatFeatureFlagsNative field formatFeatures.
sysmem_color_space_index
sysmem_color_space_index: SysmemColorSpaceFUCHSIA<'a>Native field sysmemColorSpaceIndex.
sampler_ycbcr_conversion_components
sampler_ycbcr_conversion_components: ComponentMappingNative field samplerYcbcrConversionComponents.
suggested_ycbcr_model
suggested_ycbcr_model: SamplerYcbcrModelConversionNative field suggestedYcbcrModel.
suggested_ycbcr_range
suggested_ycbcr_range: SamplerYcbcrRangeNative field suggestedYcbcrRange.
suggested_x_chroma_offset
suggested_x_chroma_offset: ChromaLocationNative field suggestedXChromaOffset.
suggested_y_chroma_offset
suggested_y_chroma_offset: ChromaLocationNative field suggestedYChromaOffset.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_memory_type_bits
Set native field memoryTypeBits without native effects.
set_buffer_count
Set native field bufferCount without native effects.
set_create_info_index
Set native field createInfoIndex without native effects.
set_sysmem_pixel_format
Set native field sysmemPixelFormat without native effects.
set_format_features
Set native field formatFeatures without native effects.
set_sysmem_color_space_index
Set native field sysmemColorSpaceIndex without native effects.
set_sampler_ycbcr_conversion_components
Set native field samplerYcbcrConversionComponents without native effects.
set_suggested_ycbcr_model
Set native field suggestedYcbcrModel without native effects.
set_suggested_ycbcr_range
Set native field suggestedYcbcrRange without native effects.
set_suggested_x_chroma_offset
Set native field suggestedXChromaOffset without native effects.
set_suggested_y_chroma_offset
Set native field suggestedYChromaOffset 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::BufferConstraintsInfoFUCHSIA
Contract
Native structure VkBufferConstraintsInfoFUCHSIA.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
create_info
create_info: BufferCreateInfo<'a>Native field createInfo.
required_format_features
required_format_features: FormatFeatureFlagsNative field requiredFormatFeatures.
buffer_collection_constraints
buffer_collection_constraints: BufferCollectionConstraintsInfoFUCHSIA<'a>Native field bufferCollectionConstraints.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_create_info
Set native field createInfo without native effects.
set_required_format_features
Set native field requiredFormatFeatures without native effects.
set_buffer_collection_constraints
Set native field bufferCollectionConstraints 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::BufferCopy
Contract
Native structure VkBufferCopy.
Fields
src_offset
src_offset: DeviceSizeNative field srcOffset.
dst_offset
dst_offset: DeviceSizeNative field dstOffset.
size
size: DeviceSizeNative field size.
Methods and associated items
new
Construct the record with its default native state.
set_src_offset
Set native field srcOffset without native effects.
set_dst_offset
Set native field dstOffset without native effects.
set_size
Set native field size without native effects.
clone
default
Stvk::BufferCopy2
Contract
Native structure VkBufferCopy2.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
src_offset
src_offset: DeviceSizeNative field srcOffset.
dst_offset
dst_offset: DeviceSizeNative field dstOffset.
size
size: DeviceSizeNative field size.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_src_offset
Set native field srcOffset without native effects.
set_dst_offset
Set native field dstOffset without native effects.
set_size
Set native field size 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::BufferCreateFlagBits
Contract
Open integer representation of VkBufferCreateFlagBits.
Fields
0
0: u32Methods and associated items
SPARSE_BINDING_BIT
Native value VK_BUFFER_CREATE_SPARSE_BINDING_BIT.
SPARSE_RESIDENCY_BIT
Native value VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT.
SPARSE_ALIASED_BIT
Native value VK_BUFFER_CREATE_SPARSE_ALIASED_BIT.
PROTECTED_BIT
Native value VK_BUFFER_CREATE_PROTECTED_BIT.
DEVICE_ADDRESS_CAPTURE_REPLAY_BIT
Native value VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT.
Khronos reference: VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT
DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_EXT
Native value VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_EXT.
Khronos reference: VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_EXT
DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_KHR
Native value VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_KHR.
Khronos reference: VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_KHR
DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT
Native value VK_BUFFER_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT.
Khronos reference: VK_BUFFER_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT
VIDEO_PROFILE_INDEPENDENT_BIT_KHR
Native value VK_BUFFER_CREATE_VIDEO_PROFILE_INDEPENDENT_BIT_KHR.
Khronos reference: VK_BUFFER_CREATE_VIDEO_PROFILE_INDEPENDENT_BIT_KHR
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::BufferCreateInfo
Contract
Native structure VkBufferCreateInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: BufferCreateFlagsNative field flags.
size
size: DeviceSizeNative field size.
usage
usage: BufferUsageFlagsNative field usage.
sharing_mode
sharing_mode: SharingModeNative field sharingMode.
queue_family_index_count
queue_family_index_count: u32Native field queueFamilyIndexCount.
p_queue_family_indices
p_queue_family_indices: *const u32Native field pQueueFamilyIndices.
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_size
Set native field size without native effects.
set_usage
Set native field usage without native effects.
set_sharing_mode
Set native field sharingMode without native effects.
set_queue_family_index_count
Set native count queueFamilyIndexCount 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_queue_family_indices
Borrow pQueueFamilyIndices and set checked native count queueFamilyIndexCount.
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::BufferDeviceAddressAlignmentAllocateInfoVALVE
Contract
Native structure VkBufferDeviceAddressAlignmentAllocateInfoVALVE.
Khronos reference: VkBufferDeviceAddressAlignmentAllocateInfoVALVE
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
alignment
alignment: u32Native field alignment.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_alignment
Set native field alignment 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.