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:
messageSeverity equal to DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXTmessageType equal to DEBUG_UTILS_MESSAGE_TYPE_DEVICE_ADDRESS_BINDING_BIT_EXTVkDebugUtilsMessengerCallbackDataEXT::pObjects must identify the associated Vulkan objectVkDeviceAddressBindingCallbackDataEXT must be included in the pNext chain of VkDebugUtilsMessengerCallbackDataEXTThese 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.
sType must be STRUCTURE_TYPE_DEVICE_ADDRESS_BINDING_CALLBACK_DATA_EXTflags must be a valid combination of VkDeviceAddressBindingFlagBitsEXT valuesbindingType must be a valid VkDeviceAddressBindingTypeEXT value
struct VkDeviceAddressBindingCallbackDataEXT {
VkStructureType sType;
void * pNext;
VkDeviceAddressBindingFlagsEXT flags;
VkDeviceAddress baseAddress;
VkDeviceSize size;
VkDeviceAddressBindingTypeEXT bindingType;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkDeviceAddressBindingCallbackDataEXT.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BASEADDRESS
The struct member offsets. |
| public static final int | BINDINGTYPE
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SIZE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkDeviceAddressBindingCallbackDataEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public long | baseAddress()
a GPU-accessible virtual address identifying the start of a region of the virtual address space associated with a Vulkan object, as identified by the |
| public VkDeviceAddressBindingCallbackDataEXT | |
| public int | bindingType()
a |
| public VkDeviceAddressBindingCallbackDataEXT | |
| public static VkDeviceAddressBindingCallbackDataEXT | |
| public static VkDeviceAddressBindingCallbackDataEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkDeviceAddressBindingCallbackDataEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDeviceAddressBindingCallbackDataEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkDeviceAddressBindingCallbackDataEXT | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkDeviceAddressBindingCallbackDataEXT | |
| public static VkDeviceAddressBindingCallbackDataEXT | create(long address)
Returns a new |
| public static VkDeviceAddressBindingCallbackDataEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkDeviceAddressBindingCallbackDataEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkDeviceAddressBindingCallbackDataEXT | |
| public static VkDeviceAddressBindingCallbackDataEXT. | |
| public int | flags()
a bitmask of |
| public VkDeviceAddressBindingCallbackDataEXT | |
| public static VkDeviceAddressBindingCallbackDataEXT | |
| public static VkDeviceAddressBindingCallbackDataEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkDeviceAddressBindingCallbackDataEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDeviceAddressBindingCallbackDataEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkDeviceAddressBindingCallbackDataEXT | |
| public VkDeviceAddressBindingCallbackDataEXT | set(int sType, long pNext, int flags, long baseAddress, long size, int bindingType)
Initializes this struct with the specified values. |
| public VkDeviceAddressBindingCallbackDataEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public long | |
| public VkDeviceAddressBindingCallbackDataEXT | |
| public int | |
| public int | |
| public VkDeviceAddressBindingCallbackDataEXT | |
| public VkDeviceAddressBindingCallbackDataEXT | sType$Default()
Sets the |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BASEADDRESS | back to summary |
|---|---|
| public static final int BASEADDRESS The struct member offsets. | |
| BINDINGTYPE | back to summary |
|---|---|
| public static final int BINDINGTYPE The struct member offsets. | |
| FLAGS | back to summary |
|---|---|
| public static final int FLAGS The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| SIZE | back to summary |
|---|---|
| public static final int SIZE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkDeviceAddressBindingCallbackDataEXT | back to summary |
|---|---|
| protected VkDeviceAddressBindingCallbackDataEXT(long address, ByteBuffer container) | |
| VkDeviceAddressBindingCallbackDataEXT | back to summary |
|---|---|
| public VkDeviceAddressBindingCallbackDataEXT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| baseAddress | back to summary |
|---|---|
| public long baseAddress() a GPU-accessible virtual address identifying the start of a region of the virtual address space associated with a Vulkan object, as identified by the
| |
| baseAddress | back to summary |
|---|---|
| public VkDeviceAddressBindingCallbackDataEXT baseAddress(long value) Sets the specified value to the | |
| bindingType | back to summary |
|---|---|
| public int bindingType() a
| |
| bindingType | back to summary |
|---|---|
| public VkDeviceAddressBindingCallbackDataEXT bindingType(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static VkDeviceAddressBindingCallbackDataEXT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkDeviceAddressBindingCallbackDataEXT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDeviceAddressBindingCallbackDataEXT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDeviceAddressBindingCallbackDataEXT. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkDeviceAddressBindingCallbackDataEXT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkDeviceAddressBindingCallbackDataEXT create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkDeviceAddressBindingCallbackDataEXT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkDeviceAddressBindingCallbackDataEXT. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkDeviceAddressBindingCallbackDataEXT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkDeviceAddressBindingCallbackDataEXT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkDeviceAddressBindingCallbackDataEXT. Like
| |
| flags | back to summary |
|---|---|
| public int flags() a bitmask of
| |
| flags | back to summary |
|---|---|
| public VkDeviceAddressBindingCallbackDataEXT flags(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkDeviceAddressBindingCallbackDataEXT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkDeviceAddressBindingCallbackDataEXT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDeviceAddressBindingCallbackDataEXT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDeviceAddressBindingCallbackDataEXT. Returns a new
| |
| nbaseAddress | back to summary |
|---|---|
| public static long nbaseAddress(long struct) Unsafe version of | |
| nbaseAddress | back to summary |
|---|---|
| public static void nbaseAddress(long struct, long value) Unsafe version of | |
| nbindingType | back to summary |
|---|---|
| public static int nbindingType(long struct) Unsafe version of | |
| nbindingType | back to summary |
|---|---|
| public static void nbindingType(long struct, int value) Unsafe version of | |
| nflags | back to summary |
|---|---|
| public static int nflags(long struct) Unsafe version of | |
| nflags | back to summary |
|---|---|
| public static void nflags(long struct, int value) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| nsize | back to summary |
|---|---|
| public static long nsize(long struct) Unsafe version of | |
| nsize | back to summary |
|---|---|
| public static void nsize(long struct, long value) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDeviceAddressBindingCallbackDataEXT pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkDeviceAddressBindingCallbackDataEXT set(int sType, long pNext, int flags, long baseAddress, long size, int bindingType) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkDeviceAddressBindingCallbackDataEXT set(VkDeviceAddressBindingCallbackDataEXT src) Copies the specified struct data to this struct.
| |
| size | back to summary |
|---|---|
| public long size() the size in bytes of a region of GPU-accessible virtual address space.
| |
| size | back to summary |
|---|---|
| public VkDeviceAddressBindingCallbackDataEXT size(long value) Sets the specified value to the | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkDeviceAddressBindingCallbackDataEXT sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDeviceAddressBindingCallbackDataEXT sType$Default() Sets the | |
VkDeviceAddressBindingCallbackDataEXT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkDeviceAddressBindingCallbackDataEXT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public VkDeviceAddressBindingCallbackDataEXT. | baseAddress(long value)
Sets the specified value to the |
| public int | |
| public VkDeviceAddressBindingCallbackDataEXT. | bindingType(int value)
Sets the specified value to the |
| public int | |
| public VkDeviceAddressBindingCallbackDataEXT. | |
| protected VkDeviceAddressBindingCallbackDataEXT | |
| public long | |
| public VkDeviceAddressBindingCallbackDataEXT. | |
| protected VkDeviceAddressBindingCallbackDataEXT. | |
| public long | |
| public VkDeviceAddressBindingCallbackDataEXT. | |
| public int | |
| public VkDeviceAddressBindingCallbackDataEXT. | |
| public VkDeviceAddressBindingCallbackDataEXT. | sType$Default()
Sets the |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkDeviceAddressBindingCallbackDataEXT ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| baseAddress | back to summary |
|---|---|
public long baseAddress()
| |
| baseAddress | back to summary |
|---|---|
| public VkDeviceAddressBindingCallbackDataEXT. Sets the specified value to the | |
| bindingType | back to summary |
|---|---|
public int bindingType()
| |
| bindingType | back to summary |
|---|---|
| public VkDeviceAddressBindingCallbackDataEXT. Sets the specified value to the | |
| flags | back to summary |
|---|---|
public int flags()
| |
| flags | back to summary |
|---|---|
| public VkDeviceAddressBindingCallbackDataEXT. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkDeviceAddressBindingCallbackDataEXT getElementFactory() Implements abstract org.
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDeviceAddressBindingCallbackDataEXT. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkDeviceAddressBindingCallbackDataEXT. Implements abstract org.
| |
| size | back to summary |
|---|---|
public long size()
| |
| size | back to summary |
|---|---|
| public VkDeviceAddressBindingCallbackDataEXT. Sets the specified value to the | |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkDeviceAddressBindingCallbackDataEXT. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDeviceAddressBindingCallbackDataEXT. Sets the | |