memory must not be currently host mappedoffset must be less than the size of memorysize is not equal to WHOLE_SIZE, size must be greater than 0size is not equal to WHOLE_SIZE, size must be less than or equal to the size of the memory minus offsetmemory must have been created with a memory type that reports MEMORY_PROPERTY_HOST_VISIBLE_BITmemory must not have been allocated with multiple instancessType must be STRUCTURE_TYPE_MEMORY_MAP_INFO_KHRpNext must be NULLflags must be 0memory must be a valid VkDeviceMemory handlememory must be externally synchronized
struct VkMemoryMapInfoKHR {
VkStructureType sType;
void const * pNext;
VkMemoryMapFlags flags;
VkDeviceMemory memory;
VkDeviceSize offset;
VkDeviceSize size;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkMemoryMapInfoKHR.
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 | MEMORY
The struct member offsets. |
| public static final int | OFFSET
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 | VkMemoryMapInfoKHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkMemoryMapInfoKHR | |
| public static VkMemoryMapInfoKHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkMemoryMapInfoKHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkMemoryMapInfoKHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkMemoryMapInfoKHR | 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 VkMemoryMapInfoKHR | |
| public static VkMemoryMapInfoKHR | |
| public static VkMemoryMapInfoKHR. | create(int
the buffer capacity capacity)Returns a new |
| public static VkMemoryMapInfoKHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkMemoryMapInfoKHR | |
| public static VkMemoryMapInfoKHR. | |
| public int | |
| public VkMemoryMapInfoKHR | |
| public static VkMemoryMapInfoKHR | |
| public static VkMemoryMapInfoKHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkMemoryMapInfoKHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkMemoryMapInfoKHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public long | |
| public VkMemoryMapInfoKHR | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| 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 VkMemoryMapInfoKHR | |
| public long | |
| public VkMemoryMapInfoKHR | |
| public VkMemoryMapInfoKHR | set(int sType, long pNext, int flags, long memory, long offset, long size)
Initializes this struct with the specified values. |
| public VkMemoryMapInfoKHR | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public long | size()
the size of the memory range to map, or |
| public VkMemoryMapInfoKHR | |
| public int | |
| public int | |
| public VkMemoryMapInfoKHR | |
| public VkMemoryMapInfoKHR |
| 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. | |
| MEMORY | back to summary |
|---|---|
| public static final int MEMORY The struct member offsets. | |
| OFFSET | back to summary |
|---|---|
| public static final int OFFSET 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. | |
| VkMemoryMapInfoKHR | back to summary |
|---|---|
| protected VkMemoryMapInfoKHR(long address, ByteBuffer container) | |
| VkMemoryMapInfoKHR | back to summary |
|---|---|
| public VkMemoryMapInfoKHR(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkMemoryMapInfoKHR calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkMemoryMapInfoKHR. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkMemoryMapInfoKHR calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkMemoryMapInfoKHR. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkMemoryMapInfoKHR create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkMemoryMapInfoKHR create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkMemoryMapInfoKHR create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkMemoryMapInfoKHR. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkMemoryMapInfoKHR. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkMemoryMapInfoKHR createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkMemoryMapInfoKHR. Like
| |
| flags | back to summary |
|---|---|
| public int flags() reserved for future use.
| |
| flags | back to summary |
|---|---|
| public VkMemoryMapInfoKHR flags(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkMemoryMapInfoKHR malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkMemoryMapInfoKHR. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkMemoryMapInfoKHR malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkMemoryMapInfoKHR. Returns a new
| |
| memory | back to summary |
|---|---|
| public long memory() the
| |
| memory | back to summary |
|---|---|
| public VkMemoryMapInfoKHR memory(long value) Sets the specified value to the | |
| 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 | |
| nmemory | back to summary |
|---|---|
| public static long nmemory(long struct) Unsafe version of | |
| nmemory | back to summary |
|---|---|
| public static void nmemory(long struct, long value) Unsafe version of | |
| noffset | back to summary |
|---|---|
| public static long noffset(long struct) Unsafe version of | |
| noffset | back to summary |
|---|---|
| public static void noffset(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 | |
| 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 | |
| offset | back to summary |
|---|---|
| public long offset() a zero-based byte offset from the beginning of the memory object.
| |
| offset | back to summary |
|---|---|
| public VkMemoryMapInfoKHR offset(long value) Sets the specified value to the | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkMemoryMapInfoKHR pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkMemoryMapInfoKHR set(int sType, long pNext, int flags, long memory, long offset, long size) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkMemoryMapInfoKHR set(VkMemoryMapInfoKHR src) Copies the specified struct data to this struct.
| |
| size | back to summary |
|---|---|
| public long size() the size of the memory range to map, or
| |
| size | back to summary |
|---|---|
| public VkMemoryMapInfoKHR 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 VkMemoryMapInfoKHR sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkMemoryMapInfoKHR sType$Default() Sets the | |
VkMemoryMapInfoKHR structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkMemoryMapInfoKHR |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VkMemoryMapInfoKHR. | |
| protected VkMemoryMapInfoKHR | |
| public long | |
| public VkMemoryMapInfoKHR. | |
| public long | |
| public VkMemoryMapInfoKHR. | |
| public long | |
| public VkMemoryMapInfoKHR. | |
| protected VkMemoryMapInfoKHR. | |
| public long | |
| public VkMemoryMapInfoKHR. | |
| public int | |
| public VkMemoryMapInfoKHR. | |
| public VkMemoryMapInfoKHR. | sType$Default()
Sets the |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkMemoryMapInfoKHR 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 VkMemoryMapInfoKHR. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkMemoryMapInfoKHR getElementFactory() Implements abstract org.
| |
| memory | back to summary |
|---|---|
public long memory()
| |
| memory | back to summary |
|---|---|
| public VkMemoryMapInfoKHR. Sets the specified value to the | |
| offset | back to summary |
|---|---|
public long offset()
| |
| offset | back to summary |
|---|---|
| public VkMemoryMapInfoKHR. Sets the specified value to the | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkMemoryMapInfoKHR. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkMemoryMapInfoKHR. Implements abstract org.
| |
| size | back to summary |
|---|---|
public long size()
| |
| size | back to summary |
|---|---|
| public VkMemoryMapInfoKHR. Sets the specified value to the | |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkMemoryMapInfoKHR. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkMemoryMapInfoKHR. Sets the | |