size must be greater than 0
struct VkBufferCopy {
VkDeviceSize srcOffset;
VkDeviceSize dstOffset;
VkDeviceSize size;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkBufferCopy.
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 | SIZE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SRCOFFSET
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkBufferCopy(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkBufferCopy | |
| public static VkBufferCopy. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkBufferCopy | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkBufferCopy. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkBufferCopy | |
| public static VkBufferCopy | |
| public static VkBufferCopy. | |
| public static VkBufferCopy. | |
| protected VkBufferCopy | 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 VkBufferCopy | |
| public static VkBufferCopy | |
| public static VkBufferCopy. | create(int
the buffer capacity capacity)Returns a new |
| public static VkBufferCopy. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkBufferCopy | |
| public static VkBufferCopy. | |
| public long | |
| public VkBufferCopy | |
| public static VkBufferCopy | |
| public static VkBufferCopy. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkBufferCopy | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkBufferCopy. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkBufferCopy | |
| public static VkBufferCopy | |
| public static VkBufferCopy. | |
| public static VkBufferCopy. | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public VkBufferCopy | |
| public VkBufferCopy | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public long | |
| public VkBufferCopy | |
| public int | |
| public long | |
| public VkBufferCopy |
| 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. | |
| 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. | |
| VkBufferCopy | back to summary |
|---|---|
| protected VkBufferCopy(long address, ByteBuffer container) | |
| VkBufferCopy | back to summary |
|---|---|
| public VkBufferCopy(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkBufferCopy calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkBufferCopy. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkBufferCopy calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkBufferCopy. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkBufferCopy callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkBufferCopy callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkBufferCopy. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkBufferCopy. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkBufferCopy create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkBufferCopy create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkBufferCopy create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkBufferCopy. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkBufferCopy. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkBufferCopy createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkBufferCopy. Like
| |
| dstOffset | back to summary |
|---|---|
| public long dstOffset() the starting offset in bytes from the start of
| |
| dstOffset | back to summary |
|---|---|
| public VkBufferCopy dstOffset(long value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkBufferCopy malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkBufferCopy. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkBufferCopy malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkBufferCopy. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkBufferCopy mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkBufferCopy mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkBufferCopy. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkBufferCopy. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| 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 | |
| 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 | |
| set | back to summary |
|---|---|
| public VkBufferCopy set(long srcOffset, long dstOffset, long size) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkBufferCopy set(VkBufferCopy 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 VkBufferCopy 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 VkBufferCopy srcOffset(long value) Sets the specified value to the | |
VkBufferCopy structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkBufferCopy |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public VkBufferCopy. | |
| protected VkBufferCopy | |
| protected VkBufferCopy. | |
| public long | |
| public VkBufferCopy. | |
| public long | |
| public VkBufferCopy. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkBufferCopy 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 VkBufferCopy. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkBufferCopy getElementFactory() Implements abstract org.
| |
| self | back to summary |
|---|---|
| protected VkBufferCopy. Implements abstract org.
| |
| size | back to summary |
|---|---|
public long size()
| |
| size | back to summary |
|---|---|
| public VkBufferCopy. Sets the specified value to the | |
| srcOffset | back to summary |
|---|---|
public long srcOffset()
| |
| srcOffset | back to summary |
|---|---|
| public VkBufferCopy. Sets the specified value to the | |