vk · Structs · E2
16 public declarations with native signatures and source-owned contracts.
Stvk::ExportMetalObjectsInfoEXT
Contract
Native structure VkExportMetalObjectsInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
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::ExportMetalObjectTypeFlagBitsEXT
Contract
Open integer representation of VkExportMetalObjectTypeFlagBitsEXT.
Fields
0
0: u32Methods and associated items
METAL_DEVICE_BIT_EXT
Native value VK_EXPORT_METAL_OBJECT_TYPE_METAL_DEVICE_BIT_EXT.
Khronos reference: VK_EXPORT_METAL_OBJECT_TYPE_METAL_DEVICE_BIT_EXT
METAL_COMMAND_QUEUE_BIT_EXT
Native value VK_EXPORT_METAL_OBJECT_TYPE_METAL_COMMAND_QUEUE_BIT_EXT.
Khronos reference: VK_EXPORT_METAL_OBJECT_TYPE_METAL_COMMAND_QUEUE_BIT_EXT
METAL_BUFFER_BIT_EXT
Native value VK_EXPORT_METAL_OBJECT_TYPE_METAL_BUFFER_BIT_EXT.
Khronos reference: VK_EXPORT_METAL_OBJECT_TYPE_METAL_BUFFER_BIT_EXT
METAL_TEXTURE_BIT_EXT
Native value VK_EXPORT_METAL_OBJECT_TYPE_METAL_TEXTURE_BIT_EXT.
Khronos reference: VK_EXPORT_METAL_OBJECT_TYPE_METAL_TEXTURE_BIT_EXT
METAL_IOSURFACE_BIT_EXT
Native value VK_EXPORT_METAL_OBJECT_TYPE_METAL_IOSURFACE_BIT_EXT.
Khronos reference: VK_EXPORT_METAL_OBJECT_TYPE_METAL_IOSURFACE_BIT_EXT
METAL_SHARED_EVENT_BIT_EXT
Native value VK_EXPORT_METAL_OBJECT_TYPE_METAL_SHARED_EVENT_BIT_EXT.
Khronos reference: VK_EXPORT_METAL_OBJECT_TYPE_METAL_SHARED_EVENT_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::ExportMetalSharedEventInfoEXT
Contract
Native structure VkExportMetalSharedEventInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
semaphore
semaphore: SemaphoreNative field semaphore.
event
event: EventNative field event.
mtl_shared_event
mtl_shared_event: MTLSharedEvent_idNative field mtlSharedEvent.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_semaphore
Set native field semaphore without native effects.
set_event
Set native field event without native effects.
set_mtl_shared_event
Set native field mtlSharedEvent 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::ExportMetalTextureInfoEXT
Contract
Native structure VkExportMetalTextureInfoEXT.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
image
image: ImageNative field image.
image_view
image_view: ImageViewNative field imageView.
buffer_view
buffer_view: BufferViewNative field bufferView.
plane
plane: ImageAspectFlagBitsNative field plane.
mtl_texture
mtl_texture: MTLTexture_idNative field mtlTexture.
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_image_view
Set native field imageView without native effects.
set_buffer_view
Set native field bufferView without native effects.
set_plane
Set native field plane without native effects.
set_mtl_texture
Set native field mtlTexture 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::ExportSemaphoreCreateInfo
Contract
Native structure VkExportSemaphoreCreateInfo.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
handle_types
handle_types: ExternalSemaphoreHandleTypeFlagsNative 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::ExportSemaphoreWin32HandleInfoKHR
Contract
Native structure VkExportSemaphoreWin32HandleInfoKHR.
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::ExtensionMetadata
Fields
name
name: &'static CStrnumber
number: u32scope
scope: &'static strplatform
platform: Option<&'static str>provisional
provisional: boolpromoted_to
promoted_to: Option<&'static str>depends
depends: Option<&'static str>standard_video
standard_video: boolcommands
commands: &'static [&'static str]Methods and associated items
fmt
Stvk::ExtensionProperties
Contract
Native structure VkExtensionProperties.
Fields
extension_name
extension_name: [c_char; 256]Native field extensionName.
spec_version
spec_version: u32Native field specVersion.
Methods and associated items
new
Construct the record with its default native state.
set_extension_name
Set native field extensionName without native effects.
set_spec_version
Set native field specVersion without native effects.
clone
default
Stvk::Extent2D
Contract
Native structure VkExtent2D.
Fields
width
width: u32Native field width.
height
height: u32Native field height.
Methods and associated items
new
Construct the record with its default native state.
set_width
Set native field width without native effects.
set_height
Set native field height without native effects.
clone
default
Stvk::Extent3D
Contract
Native structure VkExtent3D.
Fields
width
width: u32Native field width.
height
height: u32Native field height.
depth
depth: u32Native field depth.
Methods and associated items
new
Construct the record with its default native state.
set_width
Set native field width without native effects.
set_height
Set native field height without native effects.
set_depth
Set native field depth without native effects.
clone
default
Stvk::ExternalBufferProperties
Contract
Native structure VkExternalBufferProperties.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *mut c_voidNative field pNext.
external_memory_properties
external_memory_properties: ExternalMemoryPropertiesNative field externalMemoryProperties.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_external_memory_properties
Set native field externalMemoryProperties 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::ExternalComputeQueueCreateInfoNV
Contract
Native structure VkExternalComputeQueueCreateInfoNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
preferred_queue
preferred_queue: QueueNative field preferredQueue.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_preferred_queue
Set native field preferredQueue 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::ExternalComputeQueueDataParamsNV
Contract
Native structure VkExternalComputeQueueDataParamsNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
device_index
device_index: u32Native field deviceIndex.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_device_index
Set native field deviceIndex 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::ExternalComputeQueueDeviceCreateInfoNV
Contract
Native structure VkExternalComputeQueueDeviceCreateInfoNV.
Fields
s_type
s_type: StructureTypeNative field sType.
p_next
p_next: *const c_voidNative field pNext.
reserved_external_queues
reserved_external_queues: u32Native field reservedExternalQueues.
Methods and associated items
new
Construct the record with its canonical sType tag and default native state.
set_reserved_external_queues
Set native field reservedExternalQueues 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::ExternalComputeQueueNV
Contract
Raw Vulkan handle VkExternalComputeQueueNV.
Khronos reference: VkExternalComputeQueueNV
Calls using this identity must satisfy Vulkan lifetime and synchronization rules.
Fields
0
0: *mut c_voidMethods 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::ExternalFenceFeatureFlagBits
Contract
Open integer representation of VkExternalFenceFeatureFlagBits.
Fields
0
0: u32Methods and associated items
EXPORTABLE_BIT
Native value VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT.
IMPORTABLE_BIT
Native value VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT.
EXPORTABLE_BIT_KHR
Native value VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT_KHR.
Khronos reference: VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT_KHR
IMPORTABLE_BIT_KHR
Native value VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT_KHR.
Khronos reference: VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_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 ==.