image and buffer must be NULL_HANDLEimage is not NULL_HANDLE, the image must have been created with VkDedicatedAllocationImageCreateInfoNV::dedicatedAllocation equal to TRUEbuffer is not NULL_HANDLE, the buffer must have been created with VkDedicatedAllocationBufferCreateInfoNV::dedicatedAllocation equal to TRUEimage is not NULL_HANDLE, VkMemoryAllocateInfo::allocationSize must equal the VkMemoryRequirements::size of the imagebuffer is not NULL_HANDLE, VkMemoryAllocateInfo::allocationSize must equal the VkMemoryRequirements::size of the bufferimage is not NULL_HANDLE and VkMemoryAllocateInfo defines a memory import operation, the memory being imported must also be a dedicated image allocation and image must be identical to the image associated with the imported memorybuffer is not NULL_HANDLE and VkMemoryAllocateInfo defines a memory import operation, the memory being imported must also be a dedicated buffer allocation and buffer must be identical to the buffer associated with the imported memorysType must be STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NVimage is not NULL_HANDLE, image must be a valid VkImage handlebuffer is not NULL_HANDLE, buffer must be a valid VkBuffer handlebuffer, and image that are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the same VkDevice
struct VkDedicatedAllocationMemoryAllocateInfoNV {
VkStructureType sType;
void const * pNext;
VkImage image;
VkBuffer buffer;
}
| 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 | BUFFER
The struct member offsets. |
| public static final int | IMAGE
The struct member offsets. |
| public static final int | PNEXT
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 | VkDedicatedAllocationMemoryAllocateInfoNV(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public VkDedicatedAllocationMemoryAllocateInfoNV | |
| public static VkDedicatedAllocationMemoryAllocateInfoNV | |
| public static VkDedicatedAllocationMemoryAllocateInfoNV. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkDedicatedAllocationMemoryAllocateInfoNV | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDedicatedAllocationMemoryAllocateInfoNV. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkDedicatedAllocationMemoryAllocateInfoNV | |
| public static VkDedicatedAllocationMemoryAllocateInfoNV | |
| public static VkDedicatedAllocationMemoryAllocateInfoNV. | |
| public static VkDedicatedAllocationMemoryAllocateInfoNV. | |
| protected VkDedicatedAllocationMemoryAllocateInfoNV | 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 VkDedicatedAllocationMemoryAllocateInfoNV | create()
Returns a new |
| public static VkDedicatedAllocationMemoryAllocateInfoNV | create(long address)
Returns a new |
| public static VkDedicatedAllocationMemoryAllocateInfoNV. | create(int
the buffer capacity capacity)Returns a new |
| public static VkDedicatedAllocationMemoryAllocateInfoNV. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkDedicatedAllocationMemoryAllocateInfoNV | |
| public static VkDedicatedAllocationMemoryAllocateInfoNV. | |
| public long | |
| public VkDedicatedAllocationMemoryAllocateInfoNV | |
| public static VkDedicatedAllocationMemoryAllocateInfoNV | |
| public static VkDedicatedAllocationMemoryAllocateInfoNV. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkDedicatedAllocationMemoryAllocateInfoNV | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDedicatedAllocationMemoryAllocateInfoNV. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkDedicatedAllocationMemoryAllocateInfoNV | |
| public static VkDedicatedAllocationMemoryAllocateInfoNV | |
| public static VkDedicatedAllocationMemoryAllocateInfoNV. | |
| public static VkDedicatedAllocationMemoryAllocateInfoNV. | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkDedicatedAllocationMemoryAllocateInfoNV | |
| public VkDedicatedAllocationMemoryAllocateInfoNV | set(int sType, long pNext, long image, long buffer)
Initializes this struct with the specified values. |
| public VkDedicatedAllocationMemoryAllocateInfoNV | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkDedicatedAllocationMemoryAllocateInfoNV | |
| public VkDedicatedAllocationMemoryAllocateInfoNV | sType$Default()
Sets the |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BUFFER | back to summary |
|---|---|
| public static final int BUFFER The struct member offsets. | |
| IMAGE | back to summary |
|---|---|
| public static final int IMAGE The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT 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. | |
| VkDedicatedAllocationMemoryAllocateInfoNV | back to summary |
|---|---|
| protected VkDedicatedAllocationMemoryAllocateInfoNV(long address, ByteBuffer container) | |
| VkDedicatedAllocationMemoryAllocateInfoNV | back to summary |
|---|---|
| public VkDedicatedAllocationMemoryAllocateInfoNV(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| buffer | back to summary |
|---|---|
| public long buffer()
| |
| buffer | back to summary |
|---|---|
| public VkDedicatedAllocationMemoryAllocateInfoNV buffer(long value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static VkDedicatedAllocationMemoryAllocateInfoNV calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkDedicatedAllocationMemoryAllocateInfoNV. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDedicatedAllocationMemoryAllocateInfoNV calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDedicatedAllocationMemoryAllocateInfoNV. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkDedicatedAllocationMemoryAllocateInfoNV callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDedicatedAllocationMemoryAllocateInfoNV callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDedicatedAllocationMemoryAllocateInfoNV. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDedicatedAllocationMemoryAllocateInfoNV. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkDedicatedAllocationMemoryAllocateInfoNV create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkDedicatedAllocationMemoryAllocateInfoNV create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkDedicatedAllocationMemoryAllocateInfoNV create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkDedicatedAllocationMemoryAllocateInfoNV. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkDedicatedAllocationMemoryAllocateInfoNV. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkDedicatedAllocationMemoryAllocateInfoNV createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkDedicatedAllocationMemoryAllocateInfoNV. Like
| |
| image | back to summary |
|---|---|
| public long image()
| |
| image | back to summary |
|---|---|
| public VkDedicatedAllocationMemoryAllocateInfoNV image(long value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkDedicatedAllocationMemoryAllocateInfoNV malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkDedicatedAllocationMemoryAllocateInfoNV. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDedicatedAllocationMemoryAllocateInfoNV malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDedicatedAllocationMemoryAllocateInfoNV. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkDedicatedAllocationMemoryAllocateInfoNV mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDedicatedAllocationMemoryAllocateInfoNV mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDedicatedAllocationMemoryAllocateInfoNV. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDedicatedAllocationMemoryAllocateInfoNV. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nbuffer | back to summary |
|---|---|
| public static long nbuffer(long struct) Unsafe version of | |
| nbuffer | back to summary |
|---|---|
| public static void nbuffer(long struct, long value) Unsafe version of | |
| nimage | back to summary |
|---|---|
| public static long nimage(long struct) Unsafe version of | |
| nimage | back to summary |
|---|---|
| public static void nimage(long struct, long 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 | |
| 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 VkDedicatedAllocationMemoryAllocateInfoNV pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkDedicatedAllocationMemoryAllocateInfoNV set(int sType, long pNext, long image, long buffer) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkDedicatedAllocationMemoryAllocateInfoNV set(VkDedicatedAllocationMemoryAllocateInfoNV 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 VkDedicatedAllocationMemoryAllocateInfoNV sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDedicatedAllocationMemoryAllocateInfoNV sType$Default() Sets the | |
VkDedicatedAllocationMemoryAllocateInfoNV structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkDedicatedAllocationMemoryAllocateInfoNV |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkDedicatedAllocationMemoryAllocateInfoNV 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) | |
| buffer | back to summary |
|---|---|
public long buffer()
| |
| buffer | back to summary |
|---|---|
| public VkDedicatedAllocationMemoryAllocateInfoNV. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkDedicatedAllocationMemoryAllocateInfoNV getElementFactory() Implements abstract org.
| |
| image | back to summary |
|---|---|
public long image()
| |
| image | back to summary |
|---|---|
| public VkDedicatedAllocationMemoryAllocateInfoNV. Sets the specified value to the | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkDedicatedAllocationMemoryAllocateInfoNV. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkDedicatedAllocationMemoryAllocateInfoNV. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkDedicatedAllocationMemoryAllocateInfoNV. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkDedicatedAllocationMemoryAllocateInfoNV. Sets the | |