size must be greater than 0sType must be STRUCTURE_TYPE_BUFFER_COPY_2pNext must be NULL
struct VkBufferCopy2 {
VkStructureType sType;
void const * pNext;
VkDeviceSize srcOffset;
VkDeviceSize dstOffset;
VkDeviceSize size;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkBufferCopy2.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DSTOFFSET
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 | SRCOFFSET
The struct member offsets. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkBufferCopy2(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkBufferCopy2 | |
| public static VkBufferCopy2. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkBufferCopy2 | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkBufferCopy2. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkBufferCopy2 | 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 VkBufferCopy2 | |
| public static VkBufferCopy2 | |
| public static VkBufferCopy2. | create(int
the buffer capacity capacity)Returns a new |
| public static VkBufferCopy2. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkBufferCopy2 | |
| public static VkBufferCopy2. | |
| public long | |
| public VkBufferCopy2 | |
| public static VkBufferCopy2 | |
| public static VkBufferCopy2. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkBufferCopy2 | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkBufferCopy2. | 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 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 VkBufferCopy2 | |
| public VkBufferCopy2 | set(int sType, long pNext, long srcOffset, long dstOffset, long size)
Initializes this struct with the specified values. |
| public VkBufferCopy2 | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public long | |
| public VkBufferCopy2 | |
| public int | |
| public long | |
| public VkBufferCopy2 | |
| public int | |
| public VkBufferCopy2 | |
| public VkBufferCopy2 |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DSTOFFSET | back to summary |
|---|---|
| public static final int DSTOFFSET 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. | |
| SRCOFFSET | back to summary |
|---|---|
| public static final int SRCOFFSET The struct member offsets. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkBufferCopy2 | back to summary |
|---|---|
| protected VkBufferCopy2(long address, ByteBuffer container) | |
| VkBufferCopy2 | back to summary |
|---|---|
| public VkBufferCopy2(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkBufferCopy2 calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkBufferCopy2. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkBufferCopy2 calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkBufferCopy2. Returns a new
| |
| create | back to summary |
|---|---|
| protected VkBufferCopy2 create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkBufferCopy2 create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkBufferCopy2 create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkBufferCopy2. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkBufferCopy2. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkBufferCopy2 createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkBufferCopy2. Like
| |
| dstOffset | back to summary |
|---|---|
| public long dstOffset() the starting offset in bytes from the start of
| |
| dstOffset | back to summary |
|---|---|
| public VkBufferCopy2 dstOffset(long value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkBufferCopy2 malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkBufferCopy2. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkBufferCopy2 malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkBufferCopy2. Returns a new
| |
| ndstOffset | back to summary |
|---|---|
| public static long ndstOffset(long struct) Unsafe version of | |
| ndstOffset | back to summary |
|---|---|
| public static void ndstOffset(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 | |
| nsrcOffset | back to summary |
|---|---|
| public static long nsrcOffset(long struct) Unsafe version of | |
| nsrcOffset | back to summary |
|---|---|
| public static void nsrcOffset(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 VkBufferCopy2 pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkBufferCopy2 set(int sType, long pNext, long srcOffset, long dstOffset, long size) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkBufferCopy2 set(VkBufferCopy2 src) Copies the specified struct data to this struct.
| |
| size | back to summary |
|---|---|
| public long size() the number of bytes to copy.
| |
| size | back to summary |
|---|---|
| public VkBufferCopy2 size(long value) Sets the specified value to the | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| srcOffset | back to summary |
|---|---|
| public long srcOffset() the starting offset in bytes from the start of
| |
| srcOffset | back to summary |
|---|---|
| public VkBufferCopy2 srcOffset(long value) Sets the specified value to the | |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkBufferCopy2 sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkBufferCopy2 sType$Default() Sets the | |
VkBufferCopy2 structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkBufferCopy2 |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public VkBufferCopy2. | |
| protected VkBufferCopy2 | |
| public long | |
| public VkBufferCopy2. | |
| protected VkBufferCopy2. | |
| public long | |
| public VkBufferCopy2. | |
| public long | |
| public VkBufferCopy2. | |
| public int | |
| public VkBufferCopy2. | |
| public VkBufferCopy2. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkBufferCopy2 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) | |
| dstOffset | back to summary |
|---|---|
public long dstOffset()
| |
| dstOffset | back to summary |
|---|---|
| public VkBufferCopy2. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkBufferCopy2 getElementFactory() Implements abstract org.
| |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkBufferCopy2. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkBufferCopy2. Implements abstract org.
| |
| size | back to summary |
|---|---|
public long size()
| |
| size | back to summary |
|---|---|
| public VkBufferCopy2. Sets the specified value to the | |
| srcOffset | back to summary |
|---|---|
public long srcOffset()
| |
| srcOffset | back to summary |
|---|---|
| public VkBufferCopy2. Sets the specified value to the | |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkBufferCopy2. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkBufferCopy2. Sets the | |