vk · Structs · C7
16 public declarations with native signatures and source-owned contracts.
Stvk::CopyMicromapModeEXT
Contract
Open integer representation of VkCopyMicromapModeEXT.
Fields
0
0: i32Methods and associated items
CLONE_EXT
Native value VK_COPY_MICROMAP_MODE_CLONE_EXT.
SERIALIZE_EXT
Native value VK_COPY_MICROMAP_MODE_SERIALIZE_EXT.
DESERIALIZE_EXT
Native value VK_COPY_MICROMAP_MODE_DESERIALIZE_EXT.
COMPACT_EXT
Native value VK_COPY_MICROMAP_MODE_COMPACT_EXT.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::CopyMicromapToMemoryInfoEXT
Contract
Native structure VkCopyMicromapToMemoryInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
src
src: MicromapEXTNative field src.
dst
dst: DeviceOrHostAddressKHRNative field dst.
mode
mode: CopyMicromapModeEXTNative 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::CopyTensorInfoARM
Contract
Native structure VkCopyTensorInfoARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
src_tensor
src_tensor: TensorARMNative field srcTensor.
dst_tensor
dst_tensor: TensorARMNative field dstTensor.
region_count
region_count: u32Native field regionCount.
p_regions
p_regions: *const TensorCopyARM<'a>Native field pRegions.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_src_tensor
Set native field srcTensor without native effects.
set_dst_tensor
Set native field dstTensor 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::CoverageModulationModeNV
Contract
Open integer representation of VkCoverageModulationModeNV.
Fields
0
0: i32Methods and associated items
NONE_NV
Native value VK_COVERAGE_MODULATION_MODE_NONE_NV.
RGB_NV
Native value VK_COVERAGE_MODULATION_MODE_RGB_NV.
ALPHA_NV
Native value VK_COVERAGE_MODULATION_MODE_ALPHA_NV.
RGBA_NV
Native value VK_COVERAGE_MODULATION_MODE_RGBA_NV.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::CoverageReductionModeNV
Contract
Open integer representation of VkCoverageReductionModeNV.
Fields
0
0: i32Methods and associated items
MERGE_NV
Native value VK_COVERAGE_REDUCTION_MODE_MERGE_NV.
TRUNCATE_NV
Native value VK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::CubicFilterWeightsQCOM
Contract
Open integer representation of VkCubicFilterWeightsQCOM.
Fields
0
0: i32Methods and associated items
CATMULL_ROM_QCOM
Native value VK_CUBIC_FILTER_WEIGHTS_CATMULL_ROM_QCOM.
ZERO_TANGENT_CARDINAL_QCOM
Native value VK_CUBIC_FILTER_WEIGHTS_ZERO_TANGENT_CARDINAL_QCOM.
Khronos reference: VK_CUBIC_FILTER_WEIGHTS_ZERO_TANGENT_CARDINAL_QCOM
B_SPLINE_QCOM
Native value VK_CUBIC_FILTER_WEIGHTS_B_SPLINE_QCOM.
MITCHELL_NETRAVALI_QCOM
Native value VK_CUBIC_FILTER_WEIGHTS_MITCHELL_NETRAVALI_QCOM.
Khronos reference: VK_CUBIC_FILTER_WEIGHTS_MITCHELL_NETRAVALI_QCOM
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::CudaFunctionCreateInfoNV
Contract
Native structure VkCudaFunctionCreateInfoNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
module
module: CudaModuleNVNative field module.
p_name
p_name: *const c_charNative field pName.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_module
Set native field module without native effects.
set_name
Set native field pName 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::CudaFunctionNV
Contract
Raw Vulkan handle VkCudaFunctionNV.
Khronos reference: VkCudaFunctionNV
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::CudaLaunchInfoNV
pub struct CudaLaunchInfoNV<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub function: CudaFunctionNV,
pub grid_dim_x: u32,
pub grid_dim_y: u32,
pub grid_dim_z: u32,
pub block_dim_x: u32,
pub block_dim_y: u32,
pub block_dim_z: u32,
pub shared_mem_bytes: u32,
pub param_count: usize,
pub p_params: *const *const c_void,
pub extra_count: usize,
pub p_extras: *const *const c_void,
/* private fields */
}Contract
Native structure VkCudaLaunchInfoNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
function
function: CudaFunctionNVNative field function.
grid_dim_x
grid_dim_x: u32Native field gridDimX.
grid_dim_y
grid_dim_y: u32Native field gridDimY.
grid_dim_z
grid_dim_z: u32Native field gridDimZ.
block_dim_x
block_dim_x: u32Native field blockDimX.
block_dim_y
block_dim_y: u32Native field blockDimY.
block_dim_z
block_dim_z: u32Native field blockDimZ.
shared_mem_bytes
shared_mem_bytes: u32Native field sharedMemBytes.
param_count
param_count: usizeNative field paramCount.
p_params
p_params: *const *const c_voidNative field pParams.
extra_count
extra_count: usizeNative field extraCount.
p_extras
p_extras: *const *const c_voidNative field pExtras.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_function
Set native field function without native effects.
set_grid_dim_x
Set native field gridDimX without native effects.
set_grid_dim_y
Set native field gridDimY without native effects.
set_grid_dim_z
Set native field gridDimZ without native effects.
set_block_dim_x
Set native field blockDimX without native effects.
set_block_dim_y
Set native field blockDimY without native effects.
set_block_dim_z
Set native field blockDimZ without native effects.
set_shared_mem_bytes
Set native field sharedMemBytes without native effects.
set_param_count
Set native count paramCount 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_params
Borrow pParams and set checked native count paramCount.
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_extra_count
Set native count extraCount 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_extras
Borrow pExtras and set checked native count extraCount.
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::CudaModuleCreateInfoNV
Contract
Native structure VkCudaModuleCreateInfoNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
data_size
data_size: usizeNative field dataSize.
p_data
p_data: *const c_voidNative field pData.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_data_size
Set native count dataSize 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_data
Borrow pData and set checked native byte size dataSize.
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::CudaModuleNV
Contract
Raw Vulkan handle VkCudaModuleNV.
Khronos reference: VkCudaModuleNV
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::CuFunctionCreateInfoNVX
Contract
Native structure VkCuFunctionCreateInfoNVX.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
module
module: CuModuleNVXNative field module.
p_name
p_name: *const c_charNative field pName.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_module
Set native field module without native effects.
set_name
Set native field pName 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::CuFunctionNVX
Contract
Raw Vulkan handle VkCuFunctionNVX.
Khronos reference: VkCuFunctionNVX
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::CuLaunchInfoNVX
pub struct CuLaunchInfoNVX<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub function: CuFunctionNVX,
pub grid_dim_x: u32,
pub grid_dim_y: u32,
pub grid_dim_z: u32,
pub block_dim_x: u32,
pub block_dim_y: u32,
pub block_dim_z: u32,
pub shared_mem_bytes: u32,
pub param_count: usize,
pub p_params: *const *const c_void,
pub extra_count: usize,
pub p_extras: *const *const c_void,
/* private fields */
}Contract
Native structure VkCuLaunchInfoNVX.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
function
function: CuFunctionNVXNative field function.
grid_dim_x
grid_dim_x: u32Native field gridDimX.
grid_dim_y
grid_dim_y: u32Native field gridDimY.
grid_dim_z
grid_dim_z: u32Native field gridDimZ.
block_dim_x
block_dim_x: u32Native field blockDimX.
block_dim_y
block_dim_y: u32Native field blockDimY.
block_dim_z
block_dim_z: u32Native field blockDimZ.
shared_mem_bytes
shared_mem_bytes: u32Native field sharedMemBytes.
param_count
param_count: usizeNative field paramCount.
p_params
p_params: *const *const c_voidNative field pParams.
extra_count
extra_count: usizeNative field extraCount.
p_extras
p_extras: *const *const c_voidNative field pExtras.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_function
Set native field function without native effects.
set_grid_dim_x
Set native field gridDimX without native effects.
set_grid_dim_y
Set native field gridDimY without native effects.
set_grid_dim_z
Set native field gridDimZ without native effects.
set_block_dim_x
Set native field blockDimX without native effects.
set_block_dim_y
Set native field blockDimY without native effects.
set_block_dim_z
Set native field blockDimZ without native effects.
set_shared_mem_bytes
Set native field sharedMemBytes without native effects.
set_param_count
Set native count paramCount 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_params
Borrow pParams and set checked native count paramCount.
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_extra_count
Set native count extraCount 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_extras
Borrow pExtras and set checked native count extraCount.
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::CullModeFlagBits
Contract
Open integer representation of VkCullModeFlagBits.
Fields
0
0: u32Methods and associated items
NONE
Native value VK_CULL_MODE_NONE.
FRONT_BIT
Native value VK_CULL_MODE_FRONT_BIT.
BACK_BIT
Native value VK_CULL_MODE_BACK_BIT.
FRONT_AND_BACK
Native value VK_CULL_MODE_FRONT_AND_BACK.
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::CuModuleCreateInfoNVX
Contract
Native structure VkCuModuleCreateInfoNVX.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
data_size
data_size: usizeNative field dataSize.
p_data
p_data: *const c_voidNative field pData.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_data_size
Set native count dataSize 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_data
Borrow pData and set checked native byte size dataSize.
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.