vk · Structs · D11
16 public declarations with native signatures and source-owned contracts.
Stvk::DevicePrivateDataCreateInfo
Contract
Native structure VkDevicePrivateDataCreateInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
private_data_slot_request_count
private_data_slot_request_count: u32Native field privateDataSlotRequestCount.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_private_data_slot_request_count
Set native field privateDataSlotRequestCount 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::DeviceQueueCreateFlagBits
Contract
Open integer representation of VkDeviceQueueCreateFlagBits.
Fields
0
0: u32Methods and associated items
PROTECTED_BIT
Native value VK_DEVICE_QUEUE_CREATE_PROTECTED_BIT.
INTERNALLY_SYNCHRONIZED_BIT_KHR
Native value VK_DEVICE_QUEUE_CREATE_INTERNALLY_SYNCHRONIZED_BIT_KHR.
Khronos reference: VK_DEVICE_QUEUE_CREATE_INTERNALLY_SYNCHRONIZED_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::DeviceQueueCreateInfo
Contract
Native structure VkDeviceQueueCreateInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: DeviceQueueCreateFlagsNative field flags.
queue_family_index
queue_family_index: u32Native field queueFamilyIndex.
queue_count
queue_count: u32Native field queueCount.
p_queue_priorities
p_queue_priorities: *const f32Native field pQueuePriorities.
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_queue_family_index
Set native field queueFamilyIndex without native effects.
set_queue_count
Set native count queueCount 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_queue_priorities
Borrow pQueuePriorities and set checked native count queueCount.
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::DeviceQueueGlobalPriorityCreateInfo
Contract
Native structure VkDeviceQueueGlobalPriorityCreateInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
global_priority
global_priority: QueueGlobalPriorityNative field globalPriority.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_global_priority
Set native field globalPriority 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::DeviceQueueInfo2
Contract
Native structure VkDeviceQueueInfo2.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: DeviceQueueCreateFlagsNative field flags.
queue_family_index
queue_family_index: u32Native field queueFamilyIndex.
queue_index
queue_index: u32Native field queueIndex.
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_queue_family_index
Set native field queueFamilyIndex without native effects.
set_queue_index
Set native field queueIndex 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::DeviceQueueShaderCoreControlCreateInfoARM
Contract
Native structure VkDeviceQueueShaderCoreControlCreateInfoARM.
Khronos reference: VkDeviceQueueShaderCoreControlCreateInfoARM
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
shader_core_count
shader_core_count: u32Native field shaderCoreCount.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_shader_core_count
Set native field shaderCoreCount 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::DeviceTensorMemoryRequirementsARM
Contract
Native structure VkDeviceTensorMemoryRequirementsARM.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
p_create_info
p_create_info: *const TensorCreateInfoARM<'a>Native field pCreateInfo.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_create_info
Set native field pCreateInfo 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::DirectDriverLoadingFlagsLUNARG
Contract
Open integer representation of VkDirectDriverLoadingFlagsLUNARG.
Fields
0
0: u32Methods and associated items
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::DirectDriverLoadingInfoLUNARG
Contract
Native structure VkDirectDriverLoadingInfoLUNARG.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
flags
flags: DirectDriverLoadingFlagsLUNARGNative field flags.
pfn_get_instance_proc_addr
pfn_get_instance_proc_addr: PFN_vkGetInstanceProcAddrLUNARGNative field pfnGetInstanceProcAddr.
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_pfn_get_instance_proc_addr
Set native field pfnGetInstanceProcAddr 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::DirectDriverLoadingListLUNARG
Contract
Native structure VkDirectDriverLoadingListLUNARG.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
mode
mode: DirectDriverLoadingModeLUNARGNative field mode.
driver_count
driver_count: u32Native field driverCount.
p_drivers
p_drivers: *const DirectDriverLoadingInfoLUNARG<'a>Native field pDrivers.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_mode
Set native field mode without native effects.
set_driver_count
Set native count driverCount 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_drivers
Borrow pDrivers and set checked native count driverCount.
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::DirectDriverLoadingModeLUNARG
Contract
Open integer representation of VkDirectDriverLoadingModeLUNARG.
Fields
0
0: i32Methods and associated items
DIRECT_DRIVER_LOADING_MODE_EXCLUSIVE_LUNARG
Native value VK_DIRECT_DRIVER_LOADING_MODE_EXCLUSIVE_LUNARG.
Khronos reference: VK_DIRECT_DRIVER_LOADING_MODE_EXCLUSIVE_LUNARG
DIRECT_DRIVER_LOADING_MODE_INCLUSIVE_LUNARG
Native value VK_DIRECT_DRIVER_LOADING_MODE_INCLUSIVE_LUNARG.
Khronos reference: VK_DIRECT_DRIVER_LOADING_MODE_INCLUSIVE_LUNARG
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::DirectFBSurfaceCreateFlagsEXT
Contract
Open integer representation of VkDirectFBSurfaceCreateFlagsEXT.
Fields
0
0: u32Methods and associated items
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::DirectFBSurfaceCreateInfoEXT
Contract
Native structure VkDirectFBSurfaceCreateInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
flags
flags: DirectFBSurfaceCreateFlagsEXTNative field flags.
dfb
dfb: *mut IDirectFBNative field dfb.
surface
surface: *mut IDirectFBSurfaceNative field surface.
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_dfb
Set native pointer dfb 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_surface
Set native pointer surface 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.
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::DiscardRectangleModeEXT
Contract
Open integer representation of VkDiscardRectangleModeEXT.
Fields
0
0: i32Methods and associated items
INCLUSIVE_EXT
Native value VK_DISCARD_RECTANGLE_MODE_INCLUSIVE_EXT.
EXCLUSIVE_EXT
Native value VK_DISCARD_RECTANGLE_MODE_EXCLUSIVE_EXT.
from_raw
as_raw
empty
clone
fmt
default
hash
eq
self and other values to be equal, and is used by ==.Stvk::DispatchGraphCountInfoAMDX
Contract
Native structure VkDispatchGraphCountInfoAMDX.
Fields
count
count: u32Native field count.
infos
infos: DeviceOrHostAddressConstAMDXNative field infos.
stride
stride: u64Native field stride.
Methods and associated items
new
Construct the record with its default native state.
set_count
Set native field count without native effects.
set_infos
Set native field infos without native effects.
set_stride
Set native field stride without native effects.
clone
default
Stvk::DispatchGraphInfoAMDX
Contract
Native structure VkDispatchGraphInfoAMDX.
Fields
node_index
node_index: u32Native field nodeIndex.
payload_count
payload_count: u32Native field payloadCount.
payloads
payloads: DeviceOrHostAddressConstAMDXNative field payloads.
payload_stride
payload_stride: u64Native field payloadStride.
Methods and associated items
new
Construct the record with its default native state.
set_node_index
Set native field nodeIndex without native effects.
set_payload_count
Set native field payloadCount without native effects.
set_payloads
Set native field payloads without native effects.
set_payload_stride
Set native field payloadStride without native effects.