HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Modulevulkan-3.27GHC2021

Vulkan.Extensions.VK_FUCHSIA_external_memory

Name

VK_FUCHSIA_external_memory - device extension

VK_FUCHSIA_external_memory

Name String

VK_FUCHSIA_external_memory

Extension Type

Device extension

Registered Extension Number

365

Revision

1

Ratification Status

Not ratified

Extension and Version Dependencies

VK_KHR_external_memory_capabilities      and

VK_KHR_external_memory or Vulkan Version 1.1

Contact

Other Extension Metadata

Last Modified Date

2021-03-01

IP Status

No known IP claims.

Contributors
  • Craig Stout, Google

  • John Bauman, Google

  • John Rosasco, Google

Description

Vulkan apps may wish to export or import device memory handles to or from other logical devices, instances, or APIs.

This memory sharing can eliminate copies of memory buffers when different subsystems need to interoperate on them. Sharing memory buffers may also facilitate a better distribution of processing workload for more complex memory manipulation pipelines.

New Commands

New Structures

New Enum Constants

Issues

See VK_KHR_external_memory issues list for further information.

Version History

  • Revision 1, 2021-03-01 (John Rosasco)

    • Initial draft

See Also

No cross-references are available

Document Notes

For more information, see the Vulkan Specification.

This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.

  • 6 types
  • 2 values
  • Packagevulkan-3.27
  • Exports10
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceVK_FUCHSIA_external_memory.hs
valuegetMemoryZirconHandleFUCHSIA
  1. :: MonadIO io
  2. => Device

    device is the Device.

    device must be a valid Device handle

  3. -> MemoryGetZirconHandleInfoFUCHSIA

    pGetZirconHandleInfo is a pointer to a MemoryGetZirconHandleInfoFUCHSIA structure.

    pGetZirconHandleInfo must be a valid pointer to a valid MemoryGetZirconHandleInfoFUCHSIA structure

  4. -> io ("zirconHandle" ::: Zx_handle_t)
#
valuegetMemoryZirconHandlePropertiesFUCHSIA
  1. :: MonadIO io
  2. => Device

    device is the Device.

    device must be a valid Device handle

  3. -> ExternalMemoryHandleTypeFlagBits

    handleType is a ExternalMemoryHandleTypeFlagBits value specifying the type of zirconHandle

    handleType must be EXTERNAL_MEMORY_HANDLE_TYPE_ZIRCON_VMO_BIT_FUCHSIA

    handleType must be a valid ExternalMemoryHandleTypeFlagBits value

  4. -> "zirconHandle" ::: Zx_handle_t

    zirconHandle is a zx_handle_t (Zircon) handle to the external resource.

    zirconHandle must reference a valid VMO

  5. -> io MemoryZirconHandlePropertiesFUCHSIA
#

vkGetMemoryZirconHandlePropertiesFUCHSIA - Get a Zircon handle properties for an external memory object

Return Codes

Success
Failure

See Also

VK_FUCHSIA_external_memory, Device, ExternalMemoryHandleTypeFlagBits, MemoryZirconHandlePropertiesFUCHSIA

VkImportMemoryZirconHandleInfoFUCHSIA - Structure specifying import parameters for Zircon handle to external memory

Valid Usage

  • handle must be a valid VMO handle

Valid Usage (Implicit)

Structure Chaining

Extends the structure

See Also

VK_FUCHSIA_external_memory, ExternalMemoryHandleTypeFlagBits, StructureType

Constructors

Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero

VkMemoryZirconHandlePropertiesFUCHSIA - Structure specifying Zircon handle compatible external memory

Valid Usage (Implicit)

See Also

VK_FUCHSIA_external_memory, StructureType, getMemoryZirconHandlePropertiesFUCHSIA

Constructors

Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero

VkMemoryGetZirconHandleInfoFUCHSIA - Structure specifying export parameters for Zircon handle to device memory

Valid Usage (Implicit)

See Also

VK_FUCHSIA_external_memory, DeviceMemory, ExternalMemoryHandleTypeFlagBits, StructureType, getMemoryZirconHandleFUCHSIA

Constructors

Instances6Eq, Show, Storable, FromCStruct, ToCStruct, Zero