pub struct ClusterAccelerationStructureCommandsInfoNV<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub input: ClusterAccelerationStructureInputInfoNV<'a>,
pub dst_implicit_data: DeviceAddress,
pub scratch_data: DeviceAddress,
pub dst_addresses_array: StridedDeviceAddressRegionKHR,
pub dst_sizes_array: StridedDeviceAddressRegionKHR,
pub src_infos_array: StridedDeviceAddressRegionKHR,
pub src_infos_count: DeviceAddress,
pub address_resolution_flags: ClusterAccelerationStructureAddressResolutionFlagsNV,
/* private fields */
}Expand description
Native structure VkClusterAccelerationStructureCommandsInfoNV.
Khronos reference: VkClusterAccelerationStructureCommandsInfoNV
Fields§
§s_type: StructureTypeNative field sType.
p_next: *mut c_voidNative field pNext.
input: ClusterAccelerationStructureInputInfoNV<'a>Native field input.
dst_implicit_data: DeviceAddressNative field dstImplicitData.
scratch_data: DeviceAddressNative field scratchData.
dst_addresses_array: StridedDeviceAddressRegionKHRNative field dstAddressesArray.
dst_sizes_array: StridedDeviceAddressRegionKHRNative field dstSizesArray.
src_infos_array: StridedDeviceAddressRegionKHRNative field srcInfosArray.
src_infos_count: DeviceAddressNative field srcInfosCount.
address_resolution_flags: ClusterAccelerationStructureAddressResolutionFlagsNVNative field addressResolutionFlags.
Implementations§
Source§impl<'a> ClusterAccelerationStructureCommandsInfoNV<'a>
impl<'a> ClusterAccelerationStructureCommandsInfoNV<'a>
Sourcepub fn new() -> Self
pub fn new() -> Self
Construct the record with its canonical sType tag and default native state.
Sourcepub fn set_input(
self,
value: ClusterAccelerationStructureInputInfoNV<'a>,
) -> Self
pub fn set_input( self, value: ClusterAccelerationStructureInputInfoNV<'a>, ) -> Self
Set native field input without native effects.
Sourcepub fn set_dst_implicit_data(self, value: DeviceAddress) -> Self
pub fn set_dst_implicit_data(self, value: DeviceAddress) -> Self
Set native field dstImplicitData without native effects.
Sourcepub fn set_scratch_data(self, value: DeviceAddress) -> Self
pub fn set_scratch_data(self, value: DeviceAddress) -> Self
Set native field scratchData without native effects.
Sourcepub fn set_dst_addresses_array(
self,
value: StridedDeviceAddressRegionKHR,
) -> Self
pub fn set_dst_addresses_array( self, value: StridedDeviceAddressRegionKHR, ) -> Self
Set native field dstAddressesArray without native effects.
Sourcepub fn set_dst_sizes_array(self, value: StridedDeviceAddressRegionKHR) -> Self
pub fn set_dst_sizes_array(self, value: StridedDeviceAddressRegionKHR) -> Self
Set native field dstSizesArray without native effects.
Sourcepub fn set_src_infos_array(self, value: StridedDeviceAddressRegionKHR) -> Self
pub fn set_src_infos_array(self, value: StridedDeviceAddressRegionKHR) -> Self
Set native field srcInfosArray without native effects.
Sourcepub fn set_src_infos_count(self, value: DeviceAddress) -> Self
pub fn set_src_infos_count(self, value: DeviceAddress) -> Self
Set native field srcInfosCount without native effects.
Sourcepub fn set_address_resolution_flags(
self,
value: ClusterAccelerationStructureAddressResolutionFlagsNV,
) -> Self
pub fn set_address_resolution_flags( self, value: ClusterAccelerationStructureAddressResolutionFlagsNV, ) -> Self
Set native field addressResolutionFlags without native effects.
Sourcepub fn push_next<T: Extends<Self>>(
self,
next: &'a mut T,
) -> Result<Self, ConstructionError>
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>
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.