vk · Structs · B4
16 public declarations with native signatures and source-owned contracts.
Stvk::BufferDeviceAddressCreateInfoEXT
Contract
Native structure VkBufferDeviceAddressCreateInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
device_address
device_address: DeviceAddressNative field deviceAddress.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_device_address
Set native field deviceAddress 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::BufferDeviceAddressInfo
Contract
Native structure VkBufferDeviceAddressInfo.
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::BufferImageCopy
Contract
Native structure VkBufferImageCopy.
Fields
buffer_offset
buffer_offset: DeviceSizeNative field bufferOffset.
buffer_row_length
buffer_row_length: u32Native field bufferRowLength.
buffer_image_height
buffer_image_height: u32Native field bufferImageHeight.
image_subresource
image_subresource: ImageSubresourceLayersNative field imageSubresource.
image_offset
image_offset: Offset3DNative field imageOffset.
image_extent
image_extent: Extent3DNative field imageExtent.
Methods and associated items
new
Construct the record with its default native state.
set_buffer_offset
Set native field bufferOffset without native effects.
set_buffer_row_length
Set native field bufferRowLength without native effects.
set_buffer_image_height
Set native field bufferImageHeight without native effects.
set_image_subresource
Set native field imageSubresource without native effects.
set_image_offset
Set native field imageOffset without native effects.
set_image_extent
Set native field imageExtent without native effects.
clone
default
Stvk::BufferImageCopy2
pub struct BufferImageCopy2<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub buffer_offset: DeviceSize,
pub buffer_row_length: u32,
pub buffer_image_height: u32,
pub image_subresource: ImageSubresourceLayers,
pub image_offset: Offset3D,
pub image_extent: Extent3D,
/* private fields */
}Contract
Native structure VkBufferImageCopy2.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
buffer_offset
buffer_offset: DeviceSizeNative field bufferOffset.
buffer_row_length
buffer_row_length: u32Native field bufferRowLength.
buffer_image_height
buffer_image_height: u32Native field bufferImageHeight.
image_subresource
image_subresource: ImageSubresourceLayersNative field imageSubresource.
image_offset
image_offset: Offset3DNative field imageOffset.
image_extent
image_extent: Extent3DNative field imageExtent.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_buffer_offset
Set native field bufferOffset without native effects.
set_buffer_row_length
Set native field bufferRowLength without native effects.
set_buffer_image_height
Set native field bufferImageHeight without native effects.
set_image_subresource
Set native field imageSubresource without native effects.
set_image_offset
Set native field imageOffset without native effects.
set_image_extent
Set native field imageExtent 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::BufferMemoryBarrier
pub struct BufferMemoryBarrier<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub src_access_mask: AccessFlags,
pub dst_access_mask: AccessFlags,
pub src_queue_family_index: u32,
pub dst_queue_family_index: u32,
pub buffer: Buffer,
pub offset: DeviceSize,
pub size: DeviceSize,
/* private fields */
}Contract
Native structure VkBufferMemoryBarrier.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
src_access_mask
src_access_mask: AccessFlagsNative field srcAccessMask.
dst_access_mask
dst_access_mask: AccessFlagsNative field dstAccessMask.
src_queue_family_index
src_queue_family_index: u32Native field srcQueueFamilyIndex.
dst_queue_family_index
dst_queue_family_index: u32Native field dstQueueFamilyIndex.
buffer
buffer: BufferNative field buffer.
offset
offset: DeviceSizeNative field offset.
size
size: DeviceSizeNative field size.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_src_access_mask
Set native field srcAccessMask without native effects.
set_dst_access_mask
Set native field dstAccessMask without native effects.
set_src_queue_family_index
Set native field srcQueueFamilyIndex without native effects.
set_dst_queue_family_index
Set native field dstQueueFamilyIndex without native effects.
set_buffer
Set native field buffer without native effects.
set_offset
Set native field offset 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::BufferMemoryBarrier2
pub struct BufferMemoryBarrier2<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub src_stage_mask: PipelineStageFlags2,
pub src_access_mask: AccessFlags2,
pub dst_stage_mask: PipelineStageFlags2,
pub dst_access_mask: AccessFlags2,
pub src_queue_family_index: u32,
pub dst_queue_family_index: u32,
pub buffer: Buffer,
pub offset: DeviceSize,
pub size: DeviceSize,
/* private fields */
}Contract
Native structure VkBufferMemoryBarrier2.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
src_stage_mask
src_stage_mask: PipelineStageFlags2Native field srcStageMask.
src_access_mask
src_access_mask: AccessFlags2Native field srcAccessMask.
dst_stage_mask
dst_stage_mask: PipelineStageFlags2Native field dstStageMask.
dst_access_mask
dst_access_mask: AccessFlags2Native field dstAccessMask.
src_queue_family_index
src_queue_family_index: u32Native field srcQueueFamilyIndex.
dst_queue_family_index
dst_queue_family_index: u32Native field dstQueueFamilyIndex.
buffer
buffer: BufferNative field buffer.
offset
offset: DeviceSizeNative field offset.
size
size: DeviceSizeNative field size.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_src_stage_mask
Set native field srcStageMask without native effects.
set_src_access_mask
Set native field srcAccessMask without native effects.
set_dst_stage_mask
Set native field dstStageMask without native effects.
set_dst_access_mask
Set native field dstAccessMask without native effects.
set_src_queue_family_index
Set native field srcQueueFamilyIndex without native effects.
set_dst_queue_family_index
Set native field dstQueueFamilyIndex without native effects.
set_buffer
Set native field buffer without native effects.
set_offset
Set native field offset 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::BufferMemoryRequirementsInfo2
Contract
Native structure VkBufferMemoryRequirementsInfo2.
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::BufferOpaqueCaptureAddressCreateInfo
Contract
Native structure VkBufferOpaqueCaptureAddressCreateInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
opaque_capture_address
opaque_capture_address: u64Native field opaqueCaptureAddress.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_opaque_capture_address
Set native field opaqueCaptureAddress 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::BufferUsageFlagBits
Contract
Open integer representation of VkBufferUsageFlagBits.
Fields
0
0: u32Methods and associated items
TRANSFER_SRC_BIT
Native value VK_BUFFER_USAGE_TRANSFER_SRC_BIT.
TRANSFER_DST_BIT
Native value VK_BUFFER_USAGE_TRANSFER_DST_BIT.
UNIFORM_TEXEL_BUFFER_BIT
Native value VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT.
STORAGE_TEXEL_BUFFER_BIT
Native value VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT.
UNIFORM_BUFFER_BIT
Native value VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT.
STORAGE_BUFFER_BIT
Native value VK_BUFFER_USAGE_STORAGE_BUFFER_BIT.
INDEX_BUFFER_BIT
Native value VK_BUFFER_USAGE_INDEX_BUFFER_BIT.
VERTEX_BUFFER_BIT
Native value VK_BUFFER_USAGE_VERTEX_BUFFER_BIT.
INDIRECT_BUFFER_BIT
Native value VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT.
SHADER_DEVICE_ADDRESS_BIT
Native value VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT.
Khronos reference: VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT
VIDEO_DECODE_SRC_BIT_KHR
Native value VK_BUFFER_USAGE_VIDEO_DECODE_SRC_BIT_KHR.
VIDEO_DECODE_DST_BIT_KHR
Native value VK_BUFFER_USAGE_VIDEO_DECODE_DST_BIT_KHR.
TRANSFORM_FEEDBACK_BUFFER_BIT_EXT
Native value VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT.
Khronos reference: VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT
TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT
Native value VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT.
Khronos reference: VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT
CONDITIONAL_RENDERING_BIT_EXT
Native value VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT.
Khronos reference: VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT
EXECUTION_GRAPH_SCRATCH_BIT_AMDX
Native value VK_BUFFER_USAGE_EXECUTION_GRAPH_SCRATCH_BIT_AMDX.
Khronos reference: VK_BUFFER_USAGE_EXECUTION_GRAPH_SCRATCH_BIT_AMDX
DESCRIPTOR_HEAP_BIT_EXT
Native value VK_BUFFER_USAGE_DESCRIPTOR_HEAP_BIT_EXT.
ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR
Native value VK_BUFFER_USAGE_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR.
Khronos reference: VK_BUFFER_USAGE_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR
ACCELERATION_STRUCTURE_STORAGE_BIT_KHR
Native value VK_BUFFER_USAGE_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR.
Khronos reference: VK_BUFFER_USAGE_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR
SHADER_BINDING_TABLE_BIT_KHR
Native value VK_BUFFER_USAGE_SHADER_BINDING_TABLE_BIT_KHR.
Khronos reference: VK_BUFFER_USAGE_SHADER_BINDING_TABLE_BIT_KHR
RAY_TRACING_BIT_NV
Native value VK_BUFFER_USAGE_RAY_TRACING_BIT_NV.
SHADER_DEVICE_ADDRESS_BIT_EXT
Native value VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT_EXT.
Khronos reference: VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT_EXT
SHADER_DEVICE_ADDRESS_BIT_KHR
Native value VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT_KHR.
Khronos reference: VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT_KHR
VIDEO_ENCODE_DST_BIT_KHR
Native value VK_BUFFER_USAGE_VIDEO_ENCODE_DST_BIT_KHR.
VIDEO_ENCODE_SRC_BIT_KHR
Native value VK_BUFFER_USAGE_VIDEO_ENCODE_SRC_BIT_KHR.
SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT
Native value VK_BUFFER_USAGE_SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT.
Khronos reference: VK_BUFFER_USAGE_SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT
RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT
Native value VK_BUFFER_USAGE_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT.
Khronos reference: VK_BUFFER_USAGE_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT
PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT
Native value VK_BUFFER_USAGE_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT.
Khronos reference: VK_BUFFER_USAGE_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT
MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT
Native value VK_BUFFER_USAGE_MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT.
Khronos reference: VK_BUFFER_USAGE_MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT
MICROMAP_STORAGE_BIT_EXT
Native value VK_BUFFER_USAGE_MICROMAP_STORAGE_BIT_EXT.
TILE_MEMORY_BIT_QCOM
Native value VK_BUFFER_USAGE_TILE_MEMORY_BIT_QCOM.
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::BufferUsageFlagBits2
Contract
Open integer representation of VkBufferUsageFlagBits2.
Fields
0
0: u64Methods and associated items
TRANSFER_SRC_BIT
Native value VK_BUFFER_USAGE_2_TRANSFER_SRC_BIT.
TRANSFER_DST_BIT
Native value VK_BUFFER_USAGE_2_TRANSFER_DST_BIT.
UNIFORM_TEXEL_BUFFER_BIT
Native value VK_BUFFER_USAGE_2_UNIFORM_TEXEL_BUFFER_BIT.
Khronos reference: VK_BUFFER_USAGE_2_UNIFORM_TEXEL_BUFFER_BIT
STORAGE_TEXEL_BUFFER_BIT
Native value VK_BUFFER_USAGE_2_STORAGE_TEXEL_BUFFER_BIT.
Khronos reference: VK_BUFFER_USAGE_2_STORAGE_TEXEL_BUFFER_BIT
UNIFORM_BUFFER_BIT
Native value VK_BUFFER_USAGE_2_UNIFORM_BUFFER_BIT.
STORAGE_BUFFER_BIT
Native value VK_BUFFER_USAGE_2_STORAGE_BUFFER_BIT.
INDEX_BUFFER_BIT
Native value VK_BUFFER_USAGE_2_INDEX_BUFFER_BIT.
VERTEX_BUFFER_BIT
Native value VK_BUFFER_USAGE_2_VERTEX_BUFFER_BIT.
INDIRECT_BUFFER_BIT
Native value VK_BUFFER_USAGE_2_INDIRECT_BUFFER_BIT.
SHADER_DEVICE_ADDRESS_BIT
Native value VK_BUFFER_USAGE_2_SHADER_DEVICE_ADDRESS_BIT.
Khronos reference: VK_BUFFER_USAGE_2_SHADER_DEVICE_ADDRESS_BIT
EXECUTION_GRAPH_SCRATCH_BIT_AMDX
Native value VK_BUFFER_USAGE_2_EXECUTION_GRAPH_SCRATCH_BIT_AMDX.
Khronos reference: VK_BUFFER_USAGE_2_EXECUTION_GRAPH_SCRATCH_BIT_AMDX
DESCRIPTOR_HEAP_BIT_EXT
Native value VK_BUFFER_USAGE_2_DESCRIPTOR_HEAP_BIT_EXT.
Khronos reference: VK_BUFFER_USAGE_2_DESCRIPTOR_HEAP_BIT_EXT
MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT
Native value VK_BUFFER_USAGE_2_MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT.
Khronos reference: VK_BUFFER_USAGE_2_MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT
MICROMAP_STORAGE_BIT_EXT
Native value VK_BUFFER_USAGE_2_MICROMAP_STORAGE_BIT_EXT.
Khronos reference: VK_BUFFER_USAGE_2_MICROMAP_STORAGE_BIT_EXT
TRANSFER_SRC_BIT_KHR
Native value VK_BUFFER_USAGE_2_TRANSFER_SRC_BIT_KHR.
TRANSFER_DST_BIT_KHR
Native value VK_BUFFER_USAGE_2_TRANSFER_DST_BIT_KHR.
UNIFORM_TEXEL_BUFFER_BIT_KHR
Native value VK_BUFFER_USAGE_2_UNIFORM_TEXEL_BUFFER_BIT_KHR.
Khronos reference: VK_BUFFER_USAGE_2_UNIFORM_TEXEL_BUFFER_BIT_KHR
STORAGE_TEXEL_BUFFER_BIT_KHR
Native value VK_BUFFER_USAGE_2_STORAGE_TEXEL_BUFFER_BIT_KHR.
Khronos reference: VK_BUFFER_USAGE_2_STORAGE_TEXEL_BUFFER_BIT_KHR
UNIFORM_BUFFER_BIT_KHR
Native value VK_BUFFER_USAGE_2_UNIFORM_BUFFER_BIT_KHR.
STORAGE_BUFFER_BIT_KHR
Native value VK_BUFFER_USAGE_2_STORAGE_BUFFER_BIT_KHR.
INDEX_BUFFER_BIT_KHR
Native value VK_BUFFER_USAGE_2_INDEX_BUFFER_BIT_KHR.
VERTEX_BUFFER_BIT_KHR
Native value VK_BUFFER_USAGE_2_VERTEX_BUFFER_BIT_KHR.
INDIRECT_BUFFER_BIT_KHR
Native value VK_BUFFER_USAGE_2_INDIRECT_BUFFER_BIT_KHR.
Khronos reference: VK_BUFFER_USAGE_2_INDIRECT_BUFFER_BIT_KHR
CONDITIONAL_RENDERING_BIT_EXT
Native value VK_BUFFER_USAGE_2_CONDITIONAL_RENDERING_BIT_EXT.
Khronos reference: VK_BUFFER_USAGE_2_CONDITIONAL_RENDERING_BIT_EXT
SHADER_BINDING_TABLE_BIT_KHR
Native value VK_BUFFER_USAGE_2_SHADER_BINDING_TABLE_BIT_KHR.
Khronos reference: VK_BUFFER_USAGE_2_SHADER_BINDING_TABLE_BIT_KHR
RAY_TRACING_BIT_NV
Native value VK_BUFFER_USAGE_2_RAY_TRACING_BIT_NV.
TRANSFORM_FEEDBACK_BUFFER_BIT_EXT
Native value VK_BUFFER_USAGE_2_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT.
Khronos reference: VK_BUFFER_USAGE_2_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT
TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT
Native value VK_BUFFER_USAGE_2_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT.
Khronos reference: VK_BUFFER_USAGE_2_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT
VIDEO_DECODE_SRC_BIT_KHR
Native value VK_BUFFER_USAGE_2_VIDEO_DECODE_SRC_BIT_KHR.
Khronos reference: VK_BUFFER_USAGE_2_VIDEO_DECODE_SRC_BIT_KHR
VIDEO_DECODE_DST_BIT_KHR
Native value VK_BUFFER_USAGE_2_VIDEO_DECODE_DST_BIT_KHR.
Khronos reference: VK_BUFFER_USAGE_2_VIDEO_DECODE_DST_BIT_KHR
VIDEO_ENCODE_DST_BIT_KHR
Native value VK_BUFFER_USAGE_2_VIDEO_ENCODE_DST_BIT_KHR.
Khronos reference: VK_BUFFER_USAGE_2_VIDEO_ENCODE_DST_BIT_KHR
VIDEO_ENCODE_SRC_BIT_KHR
Native value VK_BUFFER_USAGE_2_VIDEO_ENCODE_SRC_BIT_KHR.
Khronos reference: VK_BUFFER_USAGE_2_VIDEO_ENCODE_SRC_BIT_KHR
SHADER_DEVICE_ADDRESS_BIT_KHR
Native value VK_BUFFER_USAGE_2_SHADER_DEVICE_ADDRESS_BIT_KHR.
Khronos reference: VK_BUFFER_USAGE_2_SHADER_DEVICE_ADDRESS_BIT_KHR
ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR
Native value VK_BUFFER_USAGE_2_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR.
Khronos reference: VK_BUFFER_USAGE_2_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR
ACCELERATION_STRUCTURE_STORAGE_BIT_KHR
Native value VK_BUFFER_USAGE_2_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR.
Khronos reference: VK_BUFFER_USAGE_2_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR
SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT
Native value VK_BUFFER_USAGE_2_SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT.
Khronos reference: VK_BUFFER_USAGE_2_SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT
RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT
Native value VK_BUFFER_USAGE_2_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT.
Khronos reference: VK_BUFFER_USAGE_2_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT
PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT
Native value VK_BUFFER_USAGE_2_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT.
Khronos reference: VK_BUFFER_USAGE_2_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT
COMPRESSED_DATA_DGF1_BIT_AMDX
Native value VK_BUFFER_USAGE_2_COMPRESSED_DATA_DGF1_BIT_AMDX.
Khronos reference: VK_BUFFER_USAGE_2_COMPRESSED_DATA_DGF1_BIT_AMDX
DATA_GRAPH_FOREIGN_DESCRIPTOR_BIT_ARM
Native value VK_BUFFER_USAGE_2_DATA_GRAPH_FOREIGN_DESCRIPTOR_BIT_ARM.
Khronos reference: VK_BUFFER_USAGE_2_DATA_GRAPH_FOREIGN_DESCRIPTOR_BIT_ARM
TILE_MEMORY_BIT_QCOM
Native value VK_BUFFER_USAGE_2_TILE_MEMORY_BIT_QCOM.
MEMORY_DECOMPRESSION_BIT_EXT
Native value VK_BUFFER_USAGE_2_MEMORY_DECOMPRESSION_BIT_EXT.
Khronos reference: VK_BUFFER_USAGE_2_MEMORY_DECOMPRESSION_BIT_EXT
PREPROCESS_BUFFER_BIT_EXT
Native value VK_BUFFER_USAGE_2_PREPROCESS_BUFFER_BIT_EXT.
Khronos reference: VK_BUFFER_USAGE_2_PREPROCESS_BUFFER_BIT_EXT
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::BufferUsageFlags2CreateInfo
Contract
Native structure VkBufferUsageFlags2CreateInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
usage
usage: BufferUsageFlags2Native field usage.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_usage
Set native field usage 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::BufferView
Contract
Raw Vulkan handle VkBufferView.
Khronos reference: VkBufferView
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::BufferViewCreateFlags
Contract
Open integer representation of VkBufferViewCreateFlags.
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 ==.Stvk::BufferViewCreateInfo
Contract
Native structure VkBufferViewCreateInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: BufferViewCreateFlagsNative field flags.
buffer
buffer: BufferNative field buffer.
format
format: FormatNative field format.
offset
offset: DeviceSizeNative field offset.
range
range: DeviceSizeNative field range.
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_buffer
Set native field buffer without native effects.
set_format
Set native field format without native effects.
set_offset
Set native field offset without native effects.
set_range
Set native field range 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::BuildAccelerationStructureFlagBitsKHR
Contract
Open integer representation of VkBuildAccelerationStructureFlagBitsKHR.
Fields
0
0: u32Methods and associated items
ALLOW_UPDATE_BIT_KHR
Native value VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_UPDATE_BIT_KHR.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_UPDATE_BIT_KHR
ALLOW_COMPACTION_BIT_KHR
Native value VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_COMPACTION_BIT_KHR.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_COMPACTION_BIT_KHR
PREFER_FAST_TRACE_BIT_KHR
Native value VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_TRACE_BIT_KHR.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_TRACE_BIT_KHR
PREFER_FAST_BUILD_BIT_KHR
Native value VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_BUILD_BIT_KHR.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_BUILD_BIT_KHR
LOW_MEMORY_BIT_KHR
Native value VK_BUILD_ACCELERATION_STRUCTURE_LOW_MEMORY_BIT_KHR.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_LOW_MEMORY_BIT_KHR
ALLOW_UPDATE_BIT_NV
Native value VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_UPDATE_BIT_NV.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_UPDATE_BIT_NV
ALLOW_COMPACTION_BIT_NV
Native value VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_COMPACTION_BIT_NV.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_COMPACTION_BIT_NV
PREFER_FAST_TRACE_BIT_NV
Native value VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_TRACE_BIT_NV.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_TRACE_BIT_NV
PREFER_FAST_BUILD_BIT_NV
Native value VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_BUILD_BIT_NV.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_BUILD_BIT_NV
LOW_MEMORY_BIT_NV
Native value VK_BUILD_ACCELERATION_STRUCTURE_LOW_MEMORY_BIT_NV.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_LOW_MEMORY_BIT_NV
MOTION_BIT_NV
Native value VK_BUILD_ACCELERATION_STRUCTURE_MOTION_BIT_NV.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_MOTION_BIT_NV
ALLOW_OPACITY_MICROMAP_UPDATE_BIT_EXT
Native value VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_UPDATE_BIT_EXT.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_UPDATE_BIT_EXT
ALLOW_OPACITY_MICROMAP_UPDATE_EXT
Native value VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_UPDATE_EXT.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_UPDATE_EXT
ALLOW_DISABLE_OPACITY_MICROMAPS_BIT_EXT
Native value VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISABLE_OPACITY_MICROMAPS_BIT_EXT.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISABLE_OPACITY_MICROMAPS_BIT_EXT
ALLOW_DISABLE_OPACITY_MICROMAPS_EXT
Native value VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISABLE_OPACITY_MICROMAPS_EXT.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISABLE_OPACITY_MICROMAPS_EXT
ALLOW_OPACITY_MICROMAP_DATA_UPDATE_BIT_EXT
Native value VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_DATA_UPDATE_BIT_EXT.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_DATA_UPDATE_BIT_EXT
ALLOW_OPACITY_MICROMAP_DATA_UPDATE_EXT
Native value VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_DATA_UPDATE_EXT.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_DATA_UPDATE_EXT
ALLOW_DISPLACEMENT_MICROMAP_UPDATE_BIT_NV
Native value VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISPLACEMENT_MICROMAP_UPDATE_BIT_NV.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISPLACEMENT_MICROMAP_UPDATE_BIT_NV
ALLOW_DISPLACEMENT_MICROMAP_UPDATE_NV
Native value VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISPLACEMENT_MICROMAP_UPDATE_NV.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISPLACEMENT_MICROMAP_UPDATE_NV
ALLOW_DATA_ACCESS_BIT_KHR
Native value VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DATA_ACCESS_BIT_KHR.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DATA_ACCESS_BIT_KHR
ALLOW_DATA_ACCESS_KHR
Native value VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DATA_ACCESS_KHR.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DATA_ACCESS_KHR
ALLOW_CLUSTER_OPACITY_MICROMAPS_BIT_NV
Native value VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_CLUSTER_OPACITY_MICROMAPS_BIT_NV.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_CLUSTER_OPACITY_MICROMAPS_BIT_NV
ALLOW_OPACITY_MICROMAP_UPDATE_BIT_KHR
Native value VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_UPDATE_BIT_KHR.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_OPACITY_MICROMAP_UPDATE_BIT_KHR
ALLOW_DISABLE_OPACITY_MICROMAPS_BIT_KHR
Native value VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISABLE_OPACITY_MICROMAPS_BIT_KHR.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_DISABLE_OPACITY_MICROMAPS_BIT_KHR
MICROMAP_LOSSY_BIT_KHR
Native value VK_BUILD_ACCELERATION_STRUCTURE_MICROMAP_LOSSY_BIT_KHR.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_MICROMAP_LOSSY_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::BuildAccelerationStructureModeKHR
Contract
Open integer representation of VkBuildAccelerationStructureModeKHR.
Fields
0
0: i32Methods and associated items
BUILD_KHR
Native value VK_BUILD_ACCELERATION_STRUCTURE_MODE_BUILD_KHR.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_MODE_BUILD_KHR
UPDATE_KHR
Native value VK_BUILD_ACCELERATION_STRUCTURE_MODE_UPDATE_KHR.
Khronos reference: VK_BUILD_ACCELERATION_STRUCTURE_MODE_UPDATE_KHR
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.