VmaVirtualBlock object to be passed to CreateVirtualBlock.
struct VmaVirtualBlockCreateInfo {
VkDeviceSize size;
VmaVirtualBlockCreateFlagBits flags;
VkAllocationCallbacks const * pAllocationCallbacks;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VmaVirtualBlockCreateInfo.
An array of |
| 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 | PALLOCATIONCALLBACKS
The struct member offsets. |
| public static final int | SIZE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VmaVirtualBlockCreateInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VmaVirtualBlockCreateInfo | |
| public static VmaVirtualBlockCreateInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VmaVirtualBlockCreateInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VmaVirtualBlockCreateInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VmaVirtualBlockCreateInfo | 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 VmaVirtualBlockCreateInfo | |
| public static VmaVirtualBlockCreateInfo | create(long address)
Returns a new |
| public static VmaVirtualBlockCreateInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static VmaVirtualBlockCreateInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VmaVirtualBlockCreateInfo | |
| public static VmaVirtualBlockCreateInfo. | |
| public int | |
| public VmaVirtualBlockCreateInfo | |
| public static VmaVirtualBlockCreateInfo | |
| public static VmaVirtualBlockCreateInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VmaVirtualBlockCreateInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VmaVirtualBlockCreateInfo. | 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 VkAllocationCallbacks | |
| public static void | npAllocationCallbacks(long struct, VkAllocationCallbacks value)
Unsafe version of |
| public static long | |
| public static void | |
| public VkAllocationCallbacks | |
| public VmaVirtualBlockCreateInfo | pAllocationCallbacks(VkAllocationCallbacks value)
Sets the address of the specified |
| public VmaVirtualBlockCreateInfo | set(long size, int flags, VkAllocationCallbacks pAllocationCallbacks)
Initializes this struct with the specified values. |
| public VmaVirtualBlockCreateInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public long | |
| public VmaVirtualBlockCreateInfo | |
| public int |
| 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. | |
| PALLOCATIONCALLBACKS | back to summary |
|---|---|
| public static final int PALLOCATIONCALLBACKS 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. | |
| VmaVirtualBlockCreateInfo | back to summary |
|---|---|
| protected VmaVirtualBlockCreateInfo(long address, ByteBuffer container) | |
| VmaVirtualBlockCreateInfo | back to summary |
|---|---|
| public VmaVirtualBlockCreateInfo(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VmaVirtualBlockCreateInfo calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VmaVirtualBlockCreateInfo. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VmaVirtualBlockCreateInfo calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VmaVirtualBlockCreateInfo. Returns a new
| |
| create | back to summary |
|---|---|
| protected VmaVirtualBlockCreateInfo create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VmaVirtualBlockCreateInfo create() Returns a new | |
| create | back to summary |
|---|---|
| public static VmaVirtualBlockCreateInfo create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VmaVirtualBlockCreateInfo. Returns a new
| |
| create | back to summary |
|---|---|
| public static VmaVirtualBlockCreateInfo. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VmaVirtualBlockCreateInfo createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VmaVirtualBlockCreateInfo. Like
| |
| flags | back to summary | ||
|---|---|---|---|
| public int flags() use combination of
| |||
| flags | back to summary |
|---|---|
| public VmaVirtualBlockCreateInfo flags(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VmaVirtualBlockCreateInfo malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VmaVirtualBlockCreateInfo. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VmaVirtualBlockCreateInfo malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VmaVirtualBlockCreateInfo. 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 | |
| npAllocationCallbacks | back to summary |
|---|---|
| public static VkAllocationCallbacks npAllocationCallbacks(long struct) Unsafe version of
| |
| npAllocationCallbacks | back to summary |
|---|---|
| public static void npAllocationCallbacks(long struct, VkAllocationCallbacks 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 | |
| pAllocationCallbacks | back to summary |
|---|---|
| public VkAllocationCallbacks pAllocationCallbacks() custom CPU memory allocation callbacks. Optional. Optional, can be null. When specified, they will be used for all CPU-side memory allocations.
| |
| pAllocationCallbacks | back to summary |
|---|---|
| public VmaVirtualBlockCreateInfo pAllocationCallbacks(VkAllocationCallbacks value) Sets the address of the specified | |
| set | back to summary |
|---|---|
| public VmaVirtualBlockCreateInfo set(long size, int flags, VkAllocationCallbacks pAllocationCallbacks) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VmaVirtualBlockCreateInfo set(VmaVirtualBlockCreateInfo src) Copies the specified struct data to this struct.
| |
| size | back to summary |
|---|---|
| public long size() total size of the virtual block. Sizes can be expressed in bytes or any units you want as long as you are consistent in using them. For example, if you allocate from some array of structures, 1 can mean single instance of entire structure.
| |
| size | back to summary |
|---|---|
| public VmaVirtualBlockCreateInfo size(long value) Sets the specified value to the | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
VmaVirtualBlockCreateInfo structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VmaVirtualBlockCreateInfo |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VmaVirtualBlockCreateInfo. | |
| protected VmaVirtualBlockCreateInfo | |
| public VkAllocationCallbacks | Returns: aVkAllocationCallbacks view of the struct pointed to by the VmaVirtualBlockCreateInfo#pAllocationCallbacks field.
|
| public VmaVirtualBlockCreateInfo. | pAllocationCallbacks(VkAllocationCallbacks value)
Sets the address of the specified |
| protected VmaVirtualBlockCreateInfo. | |
| public long | |
| public VmaVirtualBlockCreateInfo. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VmaVirtualBlockCreateInfo 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 VmaVirtualBlockCreateInfo. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VmaVirtualBlockCreateInfo getElementFactory() Implements abstract org.
| |
| pAllocationCallbacks | back to summary |
|---|---|
public VkAllocationCallbacks pAllocationCallbacks()
| |
| pAllocationCallbacks | back to summary |
|---|---|
| public VmaVirtualBlockCreateInfo. Sets the address of the specified | |
| self | back to summary |
|---|---|
| protected VmaVirtualBlockCreateInfo. Implements abstract org.
| |
| size | back to summary |
|---|---|
public long size()
| |
| size | back to summary |
|---|---|
| public VmaVirtualBlockCreateInfo. Sets the specified value to the | |