Class VkDeviceAddressBindingCallbackDataEXT

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkDeviceAddressBindingCallbackDataEXT>
org.lwjgl.vulkan.VkDeviceAddressBindingCallbackDataEXT
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkDeviceAddressBindingCallbackDataEXT extends org.lwjgl.system.Struct<VkDeviceAddressBindingCallbackDataEXT> implements org.lwjgl.system.NativeResource
Structure specifying parameters returned to the callback.
Description

If the reportAddressBinding feature is enabled and the implementation binds or unbinds a region of virtual address space associated with a Vulkan object, the implementation must submit a debug message with the following properties:

These debug messages must be emitted both for GPU virtual address space regions that are explicitly bound to a Vulkan object via the vkBind*Memory/vkBind*Memory2 functions, and for those that are implicitly generated via memory allocation or importing external memory.

An implementation may report binding events associated with a Vulkan object via VkDebugUtilsMessengerEXT prior to the object becoming visible to an application via other Vulkan commands. For example, object creation functions may report binding events that occur during an objects creation. In such cases, VkDeviceAddressBindingCallbackDataEXT::flags must include DEVICE_ADDRESS_BINDING_INTERNAL_OBJECT_BIT_EXT.

Object handles reported in this manner are not valid object handles, and must not be used as an input parameter to any Vulkan command.

Any valid object handle returned by an object creation function must match the handle specified via any previously reported binding events associated with the object’s creation.

Valid Usage (Implicit)

Layout


 struct VkDeviceAddressBindingCallbackDataEXT {
     VkStructureType sType();
     void * pNext();
     VkDeviceAddressBindingFlagsEXT flags();
     VkDeviceAddress baseAddress();
     VkDeviceSize size();
     VkDeviceAddressBindingTypeEXT bindingType();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • FLAGS

      public static final int FLAGS
      The struct member offsets.
    • BASEADDRESS

      public static final int BASEADDRESS
      The struct member offsets.
    • SIZE

      public static final int SIZE
      The struct member offsets.
    • BINDINGTYPE

      public static final int BINDINGTYPE
      The struct member offsets.
  • Constructor Details

    • VkDeviceAddressBindingCallbackDataEXT

      public VkDeviceAddressBindingCallbackDataEXT(ByteBuffer container)
      Creates a VkDeviceAddressBindingCallbackDataEXT instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details