vk · Structs · B5
4 public declarations with native signatures and source-owned contracts.
Stvk::BuildMicromapFlagBitsEXT
Contract
Open integer representation of VkBuildMicromapFlagBitsEXT.
Fields
0
0: u32Methods and associated items
PREFER_FAST_TRACE_BIT_EXT
Native value VK_BUILD_MICROMAP_PREFER_FAST_TRACE_BIT_EXT.
Khronos reference: VK_BUILD_MICROMAP_PREFER_FAST_TRACE_BIT_EXT
PREFER_FAST_BUILD_BIT_EXT
Native value VK_BUILD_MICROMAP_PREFER_FAST_BUILD_BIT_EXT.
Khronos reference: VK_BUILD_MICROMAP_PREFER_FAST_BUILD_BIT_EXT
ALLOW_COMPACTION_BIT_EXT
Native value VK_BUILD_MICROMAP_ALLOW_COMPACTION_BIT_EXT.
Khronos reference: VK_BUILD_MICROMAP_ALLOW_COMPACTION_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::BuildMicromapModeEXT
Contract
Open integer representation of VkBuildMicromapModeEXT.
Fields
0
0: i32Methods and associated items
BUILD_EXT
Native value VK_BUILD_MICROMAP_MODE_BUILD_EXT.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::BuildPartitionedAccelerationStructureIndirectCommandNV
Contract
Native structure VkBuildPartitionedAccelerationStructureIndirectCommandNV.
Khronos reference: VkBuildPartitionedAccelerationStructureIndirectCommandNV
Fields
op_type
op_type: PartitionedAccelerationStructureOpTypeNVNative field opType.
arg_count
arg_count: u32Native field argCount.
arg_data
arg_data: StridedDeviceAddressNVNative field argData.
Methods and associated items
new
Construct the record with its default native state.
set_op_type
Set native field opType without native effects.
set_arg_count
Set native field argCount without native effects.
set_arg_data
Set native field argData without native effects.
clone
default
Stvk::BuildPartitionedAccelerationStructureInfoNV
pub struct BuildPartitionedAccelerationStructureInfoNV<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub input: PartitionedAccelerationStructureInstancesInputNV<'a>,
pub src_acceleration_structure_data: DeviceAddress,
pub dst_acceleration_structure_data: DeviceAddress,
pub scratch_data: DeviceAddress,
pub src_infos: DeviceAddress,
pub src_infos_count: DeviceAddress,
/* private fields */
}Contract
Native structure VkBuildPartitionedAccelerationStructureInfoNV.
Khronos reference: VkBuildPartitionedAccelerationStructureInfoNV
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
input
input: PartitionedAccelerationStructureInstancesInputNV<'a>Native field input.
src_acceleration_structure_data
src_acceleration_structure_data: DeviceAddressNative field srcAccelerationStructureData.
dst_acceleration_structure_data
dst_acceleration_structure_data: DeviceAddressNative field dstAccelerationStructureData.
scratch_data
scratch_data: DeviceAddressNative field scratchData.
src_infos
src_infos: DeviceAddressNative field srcInfos.
src_infos_count
src_infos_count: DeviceAddressNative field srcInfosCount.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_input
Set native field input without native effects.
set_src_acceleration_structure_data
Set native field srcAccelerationStructureData without native effects.
set_dst_acceleration_structure_data
Set native field dstAccelerationStructureData without native effects.
set_scratch_data
Set native field scratchData without native effects.
set_src_infos
Set native field srcInfos without native effects.
set_src_infos_count
Set native field srcInfosCount 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.