vk · Structs · T2
16 public declarations with native signatures and source-owned contracts.
Stvk::TensorViewCreateFlagBitsARM
Contract
Open integer representation of VkTensorViewCreateFlagBitsARM.
Fields
0
0: u64Methods and associated items
DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_ARM
Native value VK_TENSOR_VIEW_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_ARM.
Khronos reference: VK_TENSOR_VIEW_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_ARM
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::TensorViewCreateInfoARM
Contract
Native structure VkTensorViewCreateInfoARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: TensorViewCreateFlagsARMNative field flags.
tensor
tensor: TensorARMNative field tensor.
format
format: FormatNative field format.
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_tensor
Set native field tensor without native effects.
set_format
Set native field format 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::TessellationDomainOrigin
Contract
Open integer representation of VkTessellationDomainOrigin.
Fields
0
0: i32Methods and associated items
UPPER_LEFT
Native value VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT.
LOWER_LEFT
Native value VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT.
UPPER_LEFT_KHR
Native value VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT_KHR.
Khronos reference: VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT_KHR
LOWER_LEFT_KHR
Native value VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT_KHR.
Khronos reference: VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT_KHR
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::TexelBufferDescriptorInfoEXT
Contract
Native structure VkTexelBufferDescriptorInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
format
format: FormatNative field format.
address_range
address_range: DeviceAddressRangeEXTNative field addressRange.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_format
Set native field format without native effects.
set_address_range
Set native field addressRange 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::TextureLODGatherFormatPropertiesAMD
Contract
Native structure VkTextureLODGatherFormatPropertiesAMD.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
supports_texture_gather_lod_bias_amd
supports_texture_gather_lod_bias_amd: Bool32Native field supportsTextureGatherLODBiasAMD.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_supports_texture_gather_lod_bias_amd
Set native field supportsTextureGatherLODBiasAMD 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::ThrottleHintSubmitInfoSEC
Contract
Native structure VkThrottleHintSubmitInfoSEC.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
throttle_hint
throttle_hint: ThrottleHintTypeSECNative field throttleHint.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_throttle_hint
Set native field throttleHint 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::ThrottleHintTypeSEC
Contract
Open integer representation of VkThrottleHintTypeSEC.
Fields
0
0: i32Methods and associated items
THROTTLE_HINT_TYPE_DEFAULT_SEC
Native value VK_THROTTLE_HINT_TYPE_DEFAULT_SEC.
THROTTLE_HINT_TYPE_LOW_SEC
Native value VK_THROTTLE_HINT_TYPE_LOW_SEC.
THROTTLE_HINT_TYPE_HIGH_SEC
Native value VK_THROTTLE_HINT_TYPE_HIGH_SEC.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::TileMemoryBindInfoQCOM
Contract
Native structure VkTileMemoryBindInfoQCOM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
memory
memory: DeviceMemoryNative field memory.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_memory
Set native field memory 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::TileMemoryRequirementsQCOM
Contract
Native structure VkTileMemoryRequirementsQCOM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
size
size: DeviceSizeNative field size.
alignment
alignment: DeviceSizeNative field alignment.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_size
Set native field size without native effects.
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.
default
Stvk::TileMemorySizeInfoQCOM
Contract
Native structure VkTileMemorySizeInfoQCOM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
size
size: DeviceSizeNative field size.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
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::TilePropertiesQCOM
Contract
Native structure VkTilePropertiesQCOM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
tile_size
tile_size: Extent3DNative field tileSize.
apron_size
apron_size: Extent2DNative field apronSize.
origin
origin: Offset2DNative field origin.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_tile_size
Set native field tileSize without native effects.
set_apron_size
Set native field apronSize without native effects.
set_origin
Set native field origin 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::TileShadingRenderPassFlagBitsQCOM
Contract
Open integer representation of VkTileShadingRenderPassFlagBitsQCOM.
Fields
0
0: u32Methods and associated items
ENABLE_BIT_QCOM
Native value VK_TILE_SHADING_RENDER_PASS_ENABLE_BIT_QCOM.
Khronos reference: VK_TILE_SHADING_RENDER_PASS_ENABLE_BIT_QCOM
PER_TILE_EXECUTION_BIT_QCOM
Native value VK_TILE_SHADING_RENDER_PASS_PER_TILE_EXECUTION_BIT_QCOM.
Khronos reference: VK_TILE_SHADING_RENDER_PASS_PER_TILE_EXECUTION_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::TimeDomainKHR
Contract
Open integer representation of VkTimeDomainKHR.
Fields
0
0: i32Methods and associated items
DEVICE_KHR
Native value VK_TIME_DOMAIN_DEVICE_KHR.
CLOCK_MONOTONIC_KHR
Native value VK_TIME_DOMAIN_CLOCK_MONOTONIC_KHR.
CLOCK_MONOTONIC_RAW_KHR
Native value VK_TIME_DOMAIN_CLOCK_MONOTONIC_RAW_KHR.
QUERY_PERFORMANCE_COUNTER_KHR
Native value VK_TIME_DOMAIN_QUERY_PERFORMANCE_COUNTER_KHR.
Khronos reference: VK_TIME_DOMAIN_QUERY_PERFORMANCE_COUNTER_KHR
DEVICE_EXT
Native value VK_TIME_DOMAIN_DEVICE_EXT.
CLOCK_MONOTONIC_EXT
Native value VK_TIME_DOMAIN_CLOCK_MONOTONIC_EXT.
CLOCK_MONOTONIC_RAW_EXT
Native value VK_TIME_DOMAIN_CLOCK_MONOTONIC_RAW_EXT.
QUERY_PERFORMANCE_COUNTER_EXT
Native value VK_TIME_DOMAIN_QUERY_PERFORMANCE_COUNTER_EXT.
Khronos reference: VK_TIME_DOMAIN_QUERY_PERFORMANCE_COUNTER_EXT
PRESENT_STAGE_LOCAL_EXT
Native value VK_TIME_DOMAIN_PRESENT_STAGE_LOCAL_EXT.
SWAPCHAIN_LOCAL_EXT
Native value VK_TIME_DOMAIN_SWAPCHAIN_LOCAL_EXT.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::TimelineSemaphoreSubmitInfo
Contract
Native structure VkTimelineSemaphoreSubmitInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
wait_semaphore_value_count
wait_semaphore_value_count: u32Native field waitSemaphoreValueCount.
p_wait_semaphore_values
p_wait_semaphore_values: *const u64Native field pWaitSemaphoreValues.
signal_semaphore_value_count
signal_semaphore_value_count: u32Native field signalSemaphoreValueCount.
p_signal_semaphore_values
p_signal_semaphore_values: *const u64Native field pSignalSemaphoreValues.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_wait_semaphore_value_count
Set native count waitSemaphoreValueCount 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_wait_semaphore_values
Borrow pWaitSemaphoreValues and set checked native count waitSemaphoreValueCount.
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_signal_semaphore_value_count
Set native count signalSemaphoreValueCount 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_signal_semaphore_values
Borrow pSignalSemaphoreValues and set checked native count signalSemaphoreValueCount.
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::ToolPurposeFlagBits
Contract
Open integer representation of VkToolPurposeFlagBits.
Fields
0
0: u32Methods and associated items
VALIDATION_BIT
Native value VK_TOOL_PURPOSE_VALIDATION_BIT.
PROFILING_BIT
Native value VK_TOOL_PURPOSE_PROFILING_BIT.
TRACING_BIT
Native value VK_TOOL_PURPOSE_TRACING_BIT.
ADDITIONAL_FEATURES_BIT
Native value VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT.
MODIFYING_FEATURES_BIT
Native value VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT.
VALIDATION_BIT_EXT
Native value VK_TOOL_PURPOSE_VALIDATION_BIT_EXT.
PROFILING_BIT_EXT
Native value VK_TOOL_PURPOSE_PROFILING_BIT_EXT.
TRACING_BIT_EXT
Native value VK_TOOL_PURPOSE_TRACING_BIT_EXT.
ADDITIONAL_FEATURES_BIT_EXT
Native value VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT_EXT.
Khronos reference: VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT_EXT
MODIFYING_FEATURES_BIT_EXT
Native value VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT_EXT.
Khronos reference: VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT_EXT
DEBUG_REPORTING_BIT_EXT
Native value VK_TOOL_PURPOSE_DEBUG_REPORTING_BIT_EXT.
DEBUG_MARKERS_BIT_EXT
Native value VK_TOOL_PURPOSE_DEBUG_MARKERS_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::TraceRaysIndirectCommand2KHR
#[repr(C)]pub struct TraceRaysIndirectCommand2KHR {
pub raygen_shader_record_address: DeviceAddress,
pub raygen_shader_record_size: DeviceSize,
pub miss_shader_binding_table_address: DeviceAddress,
pub miss_shader_binding_table_size: DeviceSize,
pub miss_shader_binding_table_stride: DeviceSize,
pub hit_shader_binding_table_address: DeviceAddress,
pub hit_shader_binding_table_size: DeviceSize,
pub hit_shader_binding_table_stride: DeviceSize,
pub callable_shader_binding_table_address: DeviceAddress,
pub callable_shader_binding_table_size: DeviceSize,
pub callable_shader_binding_table_stride: DeviceSize,
pub width: u32,
pub height: u32,
pub depth: u32,
}Contract
Native structure VkTraceRaysIndirectCommand2KHR.
Fields
raygen_shader_record_address
raygen_shader_record_address: DeviceAddressNative field raygenShaderRecordAddress.
raygen_shader_record_size
raygen_shader_record_size: DeviceSizeNative field raygenShaderRecordSize.
miss_shader_binding_table_address
miss_shader_binding_table_address: DeviceAddressNative field missShaderBindingTableAddress.
miss_shader_binding_table_size
miss_shader_binding_table_size: DeviceSizeNative field missShaderBindingTableSize.
miss_shader_binding_table_stride
miss_shader_binding_table_stride: DeviceSizeNative field missShaderBindingTableStride.
hit_shader_binding_table_address
hit_shader_binding_table_address: DeviceAddressNative field hitShaderBindingTableAddress.
hit_shader_binding_table_size
hit_shader_binding_table_size: DeviceSizeNative field hitShaderBindingTableSize.
hit_shader_binding_table_stride
hit_shader_binding_table_stride: DeviceSizeNative field hitShaderBindingTableStride.
callable_shader_binding_table_address
callable_shader_binding_table_address: DeviceAddressNative field callableShaderBindingTableAddress.
callable_shader_binding_table_size
callable_shader_binding_table_size: DeviceSizeNative field callableShaderBindingTableSize.
callable_shader_binding_table_stride
callable_shader_binding_table_stride: DeviceSizeNative field callableShaderBindingTableStride.
width
width: u32Native field width.
height
height: u32Native field height.
depth
depth: u32Native field depth.
Methods and associated items
new
Construct the record with its default native state.
set_raygen_shader_record_address
Set native field raygenShaderRecordAddress without native effects.
set_raygen_shader_record_size
Set native field raygenShaderRecordSize without native effects.
set_miss_shader_binding_table_address
Set native field missShaderBindingTableAddress without native effects.
set_miss_shader_binding_table_size
Set native field missShaderBindingTableSize without native effects.
set_miss_shader_binding_table_stride
Set native field missShaderBindingTableStride without native effects.
set_hit_shader_binding_table_address
Set native field hitShaderBindingTableAddress without native effects.
set_hit_shader_binding_table_size
Set native field hitShaderBindingTableSize without native effects.
set_hit_shader_binding_table_stride
Set native field hitShaderBindingTableStride without native effects.
set_callable_shader_binding_table_address
Set native field callableShaderBindingTableAddress without native effects.
set_callable_shader_binding_table_size
Set native field callableShaderBindingTableSize without native effects.
set_callable_shader_binding_table_stride
Set native field callableShaderBindingTableStride without native effects.
set_width
Set native field width without native effects.
set_height
Set native field height without native effects.
set_depth
Set native field depth without native effects.