vk · Structs · E1
16 public declarations with native signatures and source-owned contracts.
Stvk::Event
Contract
Raw Vulkan handle VkEvent.
Khronos reference: VkEvent
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::EventCreateFlagBits
Contract
Open integer representation of VkEventCreateFlagBits.
Fields
0
0: u32Methods and associated items
DEVICE_ONLY_BIT
Native value VK_EVENT_CREATE_DEVICE_ONLY_BIT.
DEVICE_ONLY_BIT_KHR
Native value VK_EVENT_CREATE_DEVICE_ONLY_BIT_KHR.
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::EventCreateInfo
Contract
Native structure VkEventCreateInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: EventCreateFlagsNative field flags.
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.
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::ExecutionGraphPipelineCreateInfoAMDX
pub struct ExecutionGraphPipelineCreateInfoAMDX<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: PipelineCreateFlags,
pub stage_count: u32,
pub p_stages: *const PipelineShaderStageCreateInfo<'a>,
pub p_library_info: *const PipelineLibraryCreateInfoKHR<'a>,
pub layout: PipelineLayout,
pub base_pipeline_handle: Pipeline,
pub base_pipeline_index: i32,
/* private fields */
}Contract
Native structure VkExecutionGraphPipelineCreateInfoAMDX.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: PipelineCreateFlagsNative field flags.
stage_count
stage_count: u32Native field stageCount.
p_stages
p_stages: *const PipelineShaderStageCreateInfo<'a>Native field pStages.
p_library_info
p_library_info: *const PipelineLibraryCreateInfoKHR<'a>Native field pLibraryInfo.
layout
layout: PipelineLayoutNative field layout.
base_pipeline_handle
base_pipeline_handle: PipelineNative field basePipelineHandle.
base_pipeline_index
base_pipeline_index: i32Native field basePipelineIndex.
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_stage_count
Set native count stageCount 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_stages
Borrow pStages and set checked native count stageCount.
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_library_info
Set native field pLibraryInfo without native effects.
set_layout
Set native field layout without native effects.
set_base_pipeline_handle
Set native field basePipelineHandle without native effects.
set_base_pipeline_index
Set native field basePipelineIndex 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::ExecutionGraphPipelineScratchSizeAMDX
Contract
Native structure VkExecutionGraphPipelineScratchSizeAMDX.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
min_size
min_size: DeviceSizeNative field minSize.
max_size
max_size: DeviceSizeNative field maxSize.
size_granularity
size_granularity: DeviceSizeNative field sizeGranularity.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_min_size
Set native field minSize without native effects.
set_max_size
Set native field maxSize without native effects.
set_size_granularity
Set native field sizeGranularity 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::ExportFenceCreateInfo
Contract
Native structure VkExportFenceCreateInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
handle_types
handle_types: ExternalFenceHandleTypeFlagsNative field handleTypes.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_handle_types
Set native field handleTypes 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::ExportFenceWin32HandleInfoKHR
Contract
Native structure VkExportFenceWin32HandleInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
p_attributes
p_attributes: *const SECURITY_ATTRIBUTESNative field pAttributes.
dw_access
dw_access: DWORDNative field dwAccess.
name
name: LPCWSTRNative field name.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_attributes
Set native pointer pAttributes explicitly. No borrow or extent is inferred.
Safety
The caller must establish pointee validity, extent, alignment, aliasing and the full native retention lifetime before using this record in a native call. Callback, external-object and nested-pointer contracts remain caller obligations.
set_dw_access
Set native field dwAccess without native effects.
set_name
Set native field name 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::ExportMemoryAllocateInfo
Contract
Native structure VkExportMemoryAllocateInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
handle_types
handle_types: ExternalMemoryHandleTypeFlagsNative field handleTypes.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_handle_types
Set native field handleTypes 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::ExportMemoryAllocateInfoNV
Contract
Native structure VkExportMemoryAllocateInfoNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
handle_types
handle_types: ExternalMemoryHandleTypeFlagsNVNative field handleTypes.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_handle_types
Set native field handleTypes 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::ExportMemoryWin32HandleInfoKHR
Contract
Native structure VkExportMemoryWin32HandleInfoKHR.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
p_attributes
p_attributes: *const SECURITY_ATTRIBUTESNative field pAttributes.
dw_access
dw_access: DWORDNative field dwAccess.
name
name: LPCWSTRNative field name.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_attributes
Set native pointer pAttributes explicitly. No borrow or extent is inferred.
Safety
The caller must establish pointee validity, extent, alignment, aliasing and the full native retention lifetime before using this record in a native call. Callback, external-object and nested-pointer contracts remain caller obligations.
set_dw_access
Set native field dwAccess without native effects.
set_name
Set native field name 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::ExportMemoryWin32HandleInfoNV
Contract
Native structure VkExportMemoryWin32HandleInfoNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
p_attributes
p_attributes: *const SECURITY_ATTRIBUTESNative field pAttributes.
dw_access
dw_access: DWORDNative field dwAccess.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_attributes
Set native pointer pAttributes explicitly. No borrow or extent is inferred.
Safety
The caller must establish pointee validity, extent, alignment, aliasing and the full native retention lifetime before using this record in a native call. Callback, external-object and nested-pointer contracts remain caller obligations.
set_dw_access
Set native field dwAccess 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::ExportMetalBufferInfoEXT
Contract
Native structure VkExportMetalBufferInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
memory
memory: DeviceMemoryNative field memory.
mtl_buffer
mtl_buffer: MTLBuffer_idNative field mtlBuffer.
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.
set_mtl_buffer
Set native field mtlBuffer 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::ExportMetalCommandQueueInfoEXT
Contract
Native structure VkExportMetalCommandQueueInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
queue
queue: QueueNative field queue.
mtl_command_queue
mtl_command_queue: MTLCommandQueue_idNative field mtlCommandQueue.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_queue
Set native field queue without native effects.
set_mtl_command_queue
Set native field mtlCommandQueue 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::ExportMetalDeviceInfoEXT
Contract
Native structure VkExportMetalDeviceInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
mtl_device
mtl_device: MTLDevice_idNative field mtlDevice.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_mtl_device
Set native field mtlDevice 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::ExportMetalIOSurfaceInfoEXT
Contract
Native structure VkExportMetalIOSurfaceInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
image
image: ImageNative field image.
io_surface
io_surface: IOSurfaceRefNative field ioSurface.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_image
Set native field image without native effects.
set_io_surface
Set native field ioSurface 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::ExportMetalObjectCreateInfoEXT
Contract
Native structure VkExportMetalObjectCreateInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
export_object_type
export_object_type: ExportMetalObjectTypeFlagBitsEXTNative field exportObjectType.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_export_object_type
Set native field exportObjectType 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.