The callback may be called from multiple threads simultaneously.
The callback must be called only once by the implementation when a VkDeviceMemoryReportEventTypeEXT event occurs.
The callback could be called from a background thread other than the thread calling the Vulkan commands.
sType must be STRUCTURE_TYPE_DEVICE_DEVICE_MEMORY_REPORT_CREATE_INFO_EXTflags must be 0pfnUserCallback must be a valid VkDeviceMemoryReportCallbackEXT valuepUserData must be a pointer valueVkDeviceMemoryReportCallbackEXT
struct VkDeviceDeviceMemoryReportCreateInfoEXT {
VkStructureType sType;
void const * pNext;
VkDeviceMemoryReportFlagsEXT flags;
PFN_vkDeviceMemoryReportCallbackEXT pfnUserCallback;
void * pUserData;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | PFNUSERCALLBACK
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | PUSERDATA
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 | VkDeviceDeviceMemoryReportCreateInfoEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkDeviceDeviceMemoryReportCreateInfoEXT | |
| public static VkDeviceDeviceMemoryReportCreateInfoEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkDeviceDeviceMemoryReportCreateInfoEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDeviceDeviceMemoryReportCreateInfoEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkDeviceDeviceMemoryReportCreateInfoEXT | 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 VkDeviceDeviceMemoryReportCreateInfoEXT | |
| public static VkDeviceDeviceMemoryReportCreateInfoEXT | create(long address)
Returns a new |
| public static VkDeviceDeviceMemoryReportCreateInfoEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkDeviceDeviceMemoryReportCreateInfoEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkDeviceDeviceMemoryReportCreateInfoEXT | |
| public static VkDeviceDeviceMemoryReportCreateInfoEXT. | |
| public int | |
| public VkDeviceDeviceMemoryReportCreateInfoEXT | |
| public static VkDeviceDeviceMemoryReportCreateInfoEXT | |
| public static VkDeviceDeviceMemoryReportCreateInfoEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkDeviceDeviceMemoryReportCreateInfoEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDeviceDeviceMemoryReportCreateInfoEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static int | |
| public static void | |
| public static VkDeviceMemoryReportCallbackEXT | |
| public static void | npfnUserCallback(long struct, VkDeviceMemoryReportCallbackEXTI value)
Unsafe version of |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public VkDeviceMemoryReportCallbackEXT | |
| public VkDeviceDeviceMemoryReportCreateInfoEXT | pfnUserCallback(VkDeviceMemoryReportCallbackEXTI value)
Sets the specified value to the |
| public long | |
| public VkDeviceDeviceMemoryReportCreateInfoEXT | |
| public long | |
| public VkDeviceDeviceMemoryReportCreateInfoEXT | |
| public VkDeviceDeviceMemoryReportCreateInfoEXT | set(int sType, long pNext, int flags, VkDeviceMemoryReportCallbackEXTI pfnUserCallback, long pUserData)
Initializes this struct with the specified values. |
| public VkDeviceDeviceMemoryReportCreateInfoEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkDeviceDeviceMemoryReportCreateInfoEXT | |
| public VkDeviceDeviceMemoryReportCreateInfoEXT | sType$Default()
Sets the |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| FLAGS | back to summary |
|---|---|
| public static final int FLAGS The struct member offsets. | |
| PFNUSERCALLBACK | back to summary |
|---|---|
| public static final int PFNUSERCALLBACK The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| PUSERDATA | back to summary |
|---|---|
| public static final int PUSERDATA 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. | |
| VkDeviceDeviceMemoryReportCreateInfoEXT | back to summary |
|---|---|
| protected VkDeviceDeviceMemoryReportCreateInfoEXT(long address, ByteBuffer container) | |
| VkDeviceDeviceMemoryReportCreateInfoEXT | back to summary |
|---|---|
| public VkDeviceDeviceMemoryReportCreateInfoEXT(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkDeviceDeviceMemoryReportCreateInfoEXT calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkDeviceDeviceMemoryReportCreateInfoEXT. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDeviceDeviceMemoryReportCreateInfoEXT calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDeviceDeviceMemoryReportCreateInfoEXT. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkDeviceDeviceMemoryReportCreateInfoEXT create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkDeviceDeviceMemoryReportCreateInfoEXT create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkDeviceDeviceMemoryReportCreateInfoEXT create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkDeviceDeviceMemoryReportCreateInfoEXT. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkDeviceDeviceMemoryReportCreateInfoEXT. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkDeviceDeviceMemoryReportCreateInfoEXT createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkDeviceDeviceMemoryReportCreateInfoEXT. Like
| |
| flags | back to summary |
|---|---|
| public int flags() 0 and reserved for future use.
| |
| flags | back to summary |
|---|---|
| public VkDeviceDeviceMemoryReportCreateInfoEXT flags(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkDeviceDeviceMemoryReportCreateInfoEXT malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkDeviceDeviceMemoryReportCreateInfoEXT. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDeviceDeviceMemoryReportCreateInfoEXT malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDeviceDeviceMemoryReportCreateInfoEXT. Returns a new
| |
| 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 | |
| npfnUserCallback | back to summary |
|---|---|
| public static VkDeviceMemoryReportCallbackEXT npfnUserCallback(long struct) Unsafe version of | |
| npfnUserCallback | back to summary |
|---|---|
| public static void npfnUserCallback(long struct, VkDeviceMemoryReportCallbackEXTI 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 | |
| npUserData | back to summary |
|---|---|
| public static long npUserData(long struct) Unsafe version of | |
| npUserData | back to summary |
|---|---|
| public static void npUserData(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 | |
| pfnUserCallback | back to summary |
|---|---|
| public VkDeviceMemoryReportCallbackEXT pfnUserCallback() the application callback function to call.
| |
| pfnUserCallback | back to summary |
|---|---|
| public VkDeviceDeviceMemoryReportCreateInfoEXT pfnUserCallback(VkDeviceMemoryReportCallbackEXTI value) Sets the specified value to the | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDeviceDeviceMemoryReportCreateInfoEXT pNext(long value) Sets the specified value to the | |
| pUserData | back to summary |
|---|---|
| public long pUserData() user data to be passed to the callback.
| |
| pUserData | back to summary |
|---|---|
| public VkDeviceDeviceMemoryReportCreateInfoEXT pUserData(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkDeviceDeviceMemoryReportCreateInfoEXT set(int sType, long pNext, int flags, VkDeviceMemoryReportCallbackEXTI pfnUserCallback, long pUserData) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkDeviceDeviceMemoryReportCreateInfoEXT set(VkDeviceDeviceMemoryReportCreateInfoEXT src) Copies the specified struct data to this struct.
| |
| 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 VkDeviceDeviceMemoryReportCreateInfoEXT sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDeviceDeviceMemoryReportCreateInfoEXT sType$Default() Sets the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
VkDeviceDeviceMemoryReportCreateInfoEXT structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkDeviceDeviceMemoryReportCreateInfoEXT |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkDeviceDeviceMemoryReportCreateInfoEXT 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) | |
| flags | back to summary |
|---|---|
public int flags()
| |
| flags | back to summary |
|---|---|
| public VkDeviceDeviceMemoryReportCreateInfoEXT. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkDeviceDeviceMemoryReportCreateInfoEXT getElementFactory() Implements abstract org.
| |
| pfnUserCallback | back to summary |
|---|---|
public VkDeviceMemoryReportCallbackEXT pfnUserCallback()
| |
| pfnUserCallback | back to summary |
|---|---|
| public VkDeviceDeviceMemoryReportCreateInfoEXT. Sets the specified value to the | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDeviceDeviceMemoryReportCreateInfoEXT. Sets the specified value to the | |
| pUserData | back to summary |
|---|---|
public long pUserData()
| |
| pUserData | back to summary |
|---|---|
| public VkDeviceDeviceMemoryReportCreateInfoEXT. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkDeviceDeviceMemoryReportCreateInfoEXT. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkDeviceDeviceMemoryReportCreateInfoEXT. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDeviceDeviceMemoryReportCreateInfoEXT. Sets the | |