vk · Structs · C5
16 public declarations with native signatures and source-owned contracts.
Stvk::ConditionalRenderingFlagBitsEXT
Contract
Open integer representation of VkConditionalRenderingFlagBitsEXT.
Fields
0
0: u32Methods and associated items
INVERTED_BIT_EXT
Native value VK_CONDITIONAL_RENDERING_INVERTED_BIT_EXT.
Khronos reference: VK_CONDITIONAL_RENDERING_INVERTED_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::ConformanceVersion
Contract
Native structure VkConformanceVersion.
Fields
major
major: u8Native field major.
minor
minor: u8Native field minor.
subminor
subminor: u8Native field subminor.
patch
patch: u8Native field patch.
Methods and associated items
new
Construct the record with its default native state.
set_major
Set native field major without native effects.
set_minor
Set native field minor without native effects.
set_subminor
Set native field subminor without native effects.
set_patch
Set native field patch without native effects.
clone
default
Stvk::ConservativeRasterizationModeEXT
Contract
Open integer representation of VkConservativeRasterizationModeEXT.
Fields
0
0: i32Methods and associated items
DISABLED_EXT
Native value VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT.
Khronos reference: VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT
OVERESTIMATE_EXT
Native value VK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT.
Khronos reference: VK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT
UNDERESTIMATE_EXT
Native value VK_CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT.
Khronos reference: VK_CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::ConvertCooperativeVectorMatrixInfoNV
pub struct ConvertCooperativeVectorMatrixInfoNV<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub src_size: usize,
pub src_data: DeviceOrHostAddressConstKHR,
pub p_dst_size: *mut usize,
pub dst_data: DeviceOrHostAddressKHR,
pub src_component_type: ComponentTypeKHR,
pub dst_component_type: ComponentTypeKHR,
pub num_rows: u32,
pub num_columns: u32,
pub src_layout: CooperativeVectorMatrixLayoutNV,
pub src_stride: usize,
pub dst_layout: CooperativeVectorMatrixLayoutNV,
pub dst_stride: usize,
/* private fields */
}Contract
Native structure VkConvertCooperativeVectorMatrixInfoNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
src_size
src_size: usizeNative field srcSize.
src_data
src_data: DeviceOrHostAddressConstKHRNative field srcData.
p_dst_size
p_dst_size: *mut usizeNative field pDstSize.
dst_data
dst_data: DeviceOrHostAddressKHRNative field dstData.
src_component_type
src_component_type: ComponentTypeKHRNative field srcComponentType.
dst_component_type
dst_component_type: ComponentTypeKHRNative field dstComponentType.
num_rows
num_rows: u32Native field numRows.
num_columns
num_columns: u32Native field numColumns.
src_layout
src_layout: CooperativeVectorMatrixLayoutNVNative field srcLayout.
src_stride
src_stride: usizeNative field srcStride.
dst_layout
dst_layout: CooperativeVectorMatrixLayoutNVNative field dstLayout.
dst_stride
dst_stride: usizeNative field dstStride.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_src_size
Set native field srcSize without native effects.
set_src_data
Set native field srcData without native effects.
set_dst_size
Set native field pDstSize without native effects.
set_dst_data
Set native field dstData without native effects.
set_src_component_type
Set native field srcComponentType without native effects.
set_dst_component_type
Set native field dstComponentType without native effects.
set_num_rows
Set native field numRows without native effects.
set_num_columns
Set native field numColumns without native effects.
set_src_layout
Set native field srcLayout without native effects.
set_src_stride
Set native field srcStride without native effects.
set_dst_layout
Set native field dstLayout without native effects.
set_dst_stride
Set native field dstStride 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::CooperativeMatrixFlagBitsEXT
Contract
Open integer representation of VkCooperativeMatrixFlagBitsEXT.
Fields
0
0: u32Methods and associated items
SATURATING_ACCUMULATION_BIT_EXT
Native value VK_COOPERATIVE_MATRIX_SATURATING_ACCUMULATION_BIT_EXT.
Khronos reference: VK_COOPERATIVE_MATRIX_SATURATING_ACCUMULATION_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::CooperativeMatrixFlexibleDimensionsPropertiesNV
pub struct CooperativeMatrixFlexibleDimensionsPropertiesNV<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub m_granularity: u32,
pub n_granularity: u32,
pub k_granularity: u32,
pub a_type: ComponentTypeKHR,
pub b_type: ComponentTypeKHR,
pub c_type: ComponentTypeKHR,
pub result_type: ComponentTypeKHR,
pub saturating_accumulation: Bool32,
pub scope: ScopeKHR,
pub workgroup_invocations: u32,
/* private fields */
}Contract
Native structure VkCooperativeMatrixFlexibleDimensionsPropertiesNV.
Khronos reference: VkCooperativeMatrixFlexibleDimensionsPropertiesNV
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
m_granularity
m_granularity: u32Native field MGranularity.
n_granularity
n_granularity: u32Native field NGranularity.
k_granularity
k_granularity: u32Native field KGranularity.
a_type
a_type: ComponentTypeKHRNative field AType.
b_type
b_type: ComponentTypeKHRNative field BType.
c_type
c_type: ComponentTypeKHRNative field CType.
result_type
result_type: ComponentTypeKHRNative field ResultType.
saturating_accumulation
saturating_accumulation: Bool32Native field saturatingAccumulation.
scope
scope: ScopeKHRNative field scope.
workgroup_invocations
workgroup_invocations: u32Native field workgroupInvocations.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_m_granularity
Set native field MGranularity without native effects.
set_n_granularity
Set native field NGranularity without native effects.
set_k_granularity
Set native field KGranularity without native effects.
set_a_type
Set native field AType without native effects.
set_b_type
Set native field BType without native effects.
set_c_type
Set native field CType without native effects.
set_result_type
Set native field ResultType without native effects.
set_saturating_accumulation
Set native field saturatingAccumulation without native effects.
set_scope
Set native field scope without native effects.
set_workgroup_invocations
Set native field workgroupInvocations 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::CooperativeMatrixProperties2EXT
pub struct CooperativeMatrixProperties2EXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub m_granularity: u32,
pub n_granularity: u32,
pub k_granularity: u32,
pub a_type: ComponentTypeKHR,
pub b_type: ComponentTypeKHR,
pub c_type: ComponentTypeKHR,
pub result_type: ComponentTypeKHR,
/* private fields */
}Contract
Native structure VkCooperativeMatrixProperties2EXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
m_granularity
m_granularity: u32Native field MGranularity.
n_granularity
n_granularity: u32Native field NGranularity.
k_granularity
k_granularity: u32Native field KGranularity.
a_type
a_type: ComponentTypeKHRNative field AType.
b_type
b_type: ComponentTypeKHRNative field BType.
c_type
c_type: ComponentTypeKHRNative field CType.
result_type
result_type: ComponentTypeKHRNative field ResultType.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_m_granularity
Set native field MGranularity without native effects.
set_n_granularity
Set native field NGranularity without native effects.
set_k_granularity
Set native field KGranularity without native effects.
set_a_type
Set native field AType without native effects.
set_b_type
Set native field BType without native effects.
set_c_type
Set native field CType without native effects.
set_result_type
Set native field ResultType 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::CooperativeMatrixPropertiesKHR
pub struct CooperativeMatrixPropertiesKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub m_size: u32,
pub n_size: u32,
pub k_size: u32,
pub a_type: ComponentTypeKHR,
pub b_type: ComponentTypeKHR,
pub c_type: ComponentTypeKHR,
pub result_type: ComponentTypeKHR,
pub saturating_accumulation: Bool32,
pub scope: ScopeKHR,
/* private fields */
}Contract
Native structure VkCooperativeMatrixPropertiesKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
m_size
m_size: u32Native field MSize.
n_size
n_size: u32Native field NSize.
k_size
k_size: u32Native field KSize.
a_type
a_type: ComponentTypeKHRNative field AType.
b_type
b_type: ComponentTypeKHRNative field BType.
c_type
c_type: ComponentTypeKHRNative field CType.
result_type
result_type: ComponentTypeKHRNative field ResultType.
saturating_accumulation
saturating_accumulation: Bool32Native field saturatingAccumulation.
scope
scope: ScopeKHRNative field scope.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_m_size
Set native field MSize without native effects.
set_n_size
Set native field NSize without native effects.
set_k_size
Set native field KSize without native effects.
set_a_type
Set native field AType without native effects.
set_b_type
Set native field BType without native effects.
set_c_type
Set native field CType without native effects.
set_result_type
Set native field ResultType without native effects.
set_saturating_accumulation
Set native field saturatingAccumulation without native effects.
set_scope
Set native field scope 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::CooperativeMatrixPropertiesNV
pub struct CooperativeMatrixPropertiesNV<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub m_size: u32,
pub n_size: u32,
pub k_size: u32,
pub a_type: ComponentTypeNV,
pub b_type: ComponentTypeNV,
pub c_type: ComponentTypeNV,
pub d_type: ComponentTypeNV,
pub scope: ScopeNV,
/* private fields */
}Contract
Native structure VkCooperativeMatrixPropertiesNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
m_size
m_size: u32Native field MSize.
n_size
n_size: u32Native field NSize.
k_size
k_size: u32Native field KSize.
a_type
a_type: ComponentTypeNVNative field AType.
b_type
b_type: ComponentTypeNVNative field BType.
c_type
c_type: ComponentTypeNVNative field CType.
d_type
d_type: ComponentTypeNVNative field DType.
scope
scope: ScopeNVNative field scope.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_m_size
Set native field MSize without native effects.
set_n_size
Set native field NSize without native effects.
set_k_size
Set native field KSize without native effects.
set_a_type
Set native field AType without native effects.
set_b_type
Set native field BType without native effects.
set_c_type
Set native field CType without native effects.
set_d_type
Set native field DType without native effects.
set_scope
Set native field scope 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::CooperativeVectorMatrixLayoutNV
Contract
Open integer representation of VkCooperativeVectorMatrixLayoutNV.
Fields
0
0: i32Methods and associated items
ROW_MAJOR_NV
Native value VK_COOPERATIVE_VECTOR_MATRIX_LAYOUT_ROW_MAJOR_NV.
Khronos reference: VK_COOPERATIVE_VECTOR_MATRIX_LAYOUT_ROW_MAJOR_NV
COLUMN_MAJOR_NV
Native value VK_COOPERATIVE_VECTOR_MATRIX_LAYOUT_COLUMN_MAJOR_NV.
Khronos reference: VK_COOPERATIVE_VECTOR_MATRIX_LAYOUT_COLUMN_MAJOR_NV
INFERENCING_OPTIMAL_NV
Native value VK_COOPERATIVE_VECTOR_MATRIX_LAYOUT_INFERENCING_OPTIMAL_NV.
Khronos reference: VK_COOPERATIVE_VECTOR_MATRIX_LAYOUT_INFERENCING_OPTIMAL_NV
TRAINING_OPTIMAL_NV
Native value VK_COOPERATIVE_VECTOR_MATRIX_LAYOUT_TRAINING_OPTIMAL_NV.
Khronos reference: VK_COOPERATIVE_VECTOR_MATRIX_LAYOUT_TRAINING_OPTIMAL_NV
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::CooperativeVectorPropertiesNV
pub struct CooperativeVectorPropertiesNV<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub input_type: ComponentTypeKHR,
pub input_interpretation: ComponentTypeKHR,
pub matrix_interpretation: ComponentTypeKHR,
pub bias_interpretation: ComponentTypeKHR,
pub result_type: ComponentTypeKHR,
pub transpose: Bool32,
/* private fields */
}Contract
Native structure VkCooperativeVectorPropertiesNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
input_type
input_type: ComponentTypeKHRNative field inputType.
input_interpretation
input_interpretation: ComponentTypeKHRNative field inputInterpretation.
matrix_interpretation
matrix_interpretation: ComponentTypeKHRNative field matrixInterpretation.
bias_interpretation
bias_interpretation: ComponentTypeKHRNative field biasInterpretation.
result_type
result_type: ComponentTypeKHRNative field resultType.
transpose
transpose: Bool32Native field transpose.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_input_type
Set native field inputType without native effects.
set_input_interpretation
Set native field inputInterpretation without native effects.
set_matrix_interpretation
Set native field matrixInterpretation without native effects.
set_bias_interpretation
Set native field biasInterpretation without native effects.
set_result_type
Set native field resultType without native effects.
set_transpose
Set native field transpose 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::CopyAccelerationStructureInfoKHR
Contract
Native structure VkCopyAccelerationStructureInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
src
src: AccelerationStructureKHRNative field src.
dst
dst: AccelerationStructureKHRNative field dst.
mode
mode: CopyAccelerationStructureModeKHRNative field mode.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_src
Set native field src without native effects.
set_dst
Set native field dst without native effects.
set_mode
Set native field mode 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::CopyAccelerationStructureModeKHR
Contract
Open integer representation of VkCopyAccelerationStructureModeKHR.
Fields
0
0: i32Methods and associated items
CLONE_KHR
Native value VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_KHR.
Khronos reference: VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_KHR
COMPACT_KHR
Native value VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR.
Khronos reference: VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_KHR
SERIALIZE_KHR
Native value VK_COPY_ACCELERATION_STRUCTURE_MODE_SERIALIZE_KHR.
Khronos reference: VK_COPY_ACCELERATION_STRUCTURE_MODE_SERIALIZE_KHR
DESERIALIZE_KHR
Native value VK_COPY_ACCELERATION_STRUCTURE_MODE_DESERIALIZE_KHR.
Khronos reference: VK_COPY_ACCELERATION_STRUCTURE_MODE_DESERIALIZE_KHR
CLONE_NV
Native value VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_NV.
Khronos reference: VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_NV
COMPACT_NV
Native value VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_NV.
Khronos reference: VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_NV
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::CopyAccelerationStructureToMemoryInfoKHR
Contract
Native structure VkCopyAccelerationStructureToMemoryInfoKHR.
Khronos reference: VkCopyAccelerationStructureToMemoryInfoKHR
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
src
src: AccelerationStructureKHRNative field src.
dst
dst: DeviceOrHostAddressKHRNative field dst.
mode
mode: CopyAccelerationStructureModeKHRNative field mode.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_src
Set native field src without native effects.
set_dst
Set native field dst without native effects.
set_mode
Set native field mode 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::CopyBufferInfo2
Contract
Native structure VkCopyBufferInfo2.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
src_buffer
src_buffer: BufferNative field srcBuffer.
dst_buffer
dst_buffer: BufferNative field dstBuffer.
region_count
region_count: u32Native field regionCount.
p_regions
p_regions: *const BufferCopy2<'a>Native field pRegions.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_src_buffer
Set native field srcBuffer without native effects.
set_dst_buffer
Set native field dstBuffer without native effects.
set_region_count
Set native count regionCount 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_regions
Borrow pRegions and set checked native count regionCount.
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::CopyBufferToImageInfo2
Contract
Native structure VkCopyBufferToImageInfo2.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
src_buffer
src_buffer: BufferNative field srcBuffer.
dst_image
dst_image: ImageNative field dstImage.
dst_image_layout
dst_image_layout: ImageLayoutNative field dstImageLayout.
region_count
region_count: u32Native field regionCount.
p_regions
p_regions: *const BufferImageCopy2<'a>Native field pRegions.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_src_buffer
Set native field srcBuffer without native effects.
set_dst_image
Set native field dstImage without native effects.
set_dst_image_layout
Set native field dstImageLayout without native effects.
set_region_count
Set native count regionCount 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_regions
Borrow pRegions and set checked native count regionCount.
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.