Class VkMemoryOpaqueCaptureAddressAllocateInfo

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
    Direct Known Subclasses:
    VkMemoryOpaqueCaptureAddressAllocateInfoKHR

    public class VkMemoryOpaqueCaptureAddressAllocateInfo
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    Request a specific address for a memory allocation.
    Description

    If opaqueCaptureAddress is zero, no specific address is requested.

    If opaqueCaptureAddress is not zero, it should be an address retrieved from GetDeviceMemoryOpaqueCaptureAddress on an identically created memory allocation on the same implementation.

    Note

    In most cases, it is expected that a non-zero opaqueAddress is an address retrieved from GetDeviceMemoryOpaqueCaptureAddress on an identically created memory allocation. If this is not the case, it is likely that ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS errors will occur.

    This is, however, not a strict requirement because trace capture/replay tools may need to adjust memory allocation parameters for imported memory.

    If this structure is not present, it is as if opaqueCaptureAddress is zero.

    Valid Usage (Implicit)

    Layout

    
     struct VkMemoryOpaqueCaptureAddressAllocateInfo {
         VkStructureType sType();
         void const * pNext();
         uint64_t opaqueCaptureAddress();
     }