srcAddress must be 4 byte alignedsrcAddress and srcAddress + compressedSize must be valid and bound to a VkDeviceMemory objectdstAddress must be 4 byte aligneddstAddress and dstAddress + decompressedSize must be valid and bound to a VkDeviceMemory objectdecompressedSize must be large enough to hold the decompressed data based on the decompressionMethoddecompressionMethod must have a single bit setsrcAddress to srcAddress + compressedSize region must not overlap with the dstAddress and dstAddress + decompressedSize regiondecompressionMethod must be a valid combination of VkMemoryDecompressionMethodFlagBitsNV valuesdecompressionMethod must not be 0
struct VkDecompressMemoryRegionNV {
VkDeviceAddress srcAddress;
VkDeviceAddress dstAddress;
VkDeviceSize compressedSize;
VkDeviceSize decompressedSize;
VkMemoryDecompressionMethodFlagsNV decompressionMethod;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkDecompressMemoryRegionNV.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | COMPRESSEDSIZE
The struct member offsets. |
| public static final int | DECOMPRESSEDSIZE
The struct member offsets. |
| public static final int | DECOMPRESSIONMETHOD
The struct member offsets. |
| public static final int | DSTADDRESS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | SRCADDRESS
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkDecompressMemoryRegionNV(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkDecompressMemoryRegionNV | |
| public static VkDecompressMemoryRegionNV. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkDecompressMemoryRegionNV | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDecompressMemoryRegionNV. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public long | |
| public VkDecompressMemoryRegionNV | |
| protected VkDecompressMemoryRegionNV | 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 VkDecompressMemoryRegionNV | |
| public static VkDecompressMemoryRegionNV | create(long address)
Returns a new |
| public static VkDecompressMemoryRegionNV. | create(int
the buffer capacity capacity)Returns a new |
| public static VkDecompressMemoryRegionNV. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkDecompressMemoryRegionNV | |
| public static VkDecompressMemoryRegionNV. | |
| public long | |
| public VkDecompressMemoryRegionNV | |
| public long | decompressionMethod()
a bitmask of |
| public VkDecompressMemoryRegionNV | |
| public long | |
| public VkDecompressMemoryRegionNV | |
| public static VkDecompressMemoryRegionNV | |
| public static VkDecompressMemoryRegionNV. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkDecompressMemoryRegionNV | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDecompressMemoryRegionNV. | 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 long | |
| public static void | |
| public VkDecompressMemoryRegionNV | set(long srcAddress, long dstAddress, long compressedSize, long decompressedSize, long decompressionMethod)
Initializes this struct with the specified values. |
| public VkDecompressMemoryRegionNV | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public long | |
| public VkDecompressMemoryRegionNV |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| COMPRESSEDSIZE | back to summary |
|---|---|
| public static final int COMPRESSEDSIZE The struct member offsets. | |
| DECOMPRESSEDSIZE | back to summary |
|---|---|
| public static final int DECOMPRESSEDSIZE The struct member offsets. | |
| DECOMPRESSIONMETHOD | back to summary |
|---|---|
| public static final int DECOMPRESSIONMETHOD The struct member offsets. | |
| DSTADDRESS | back to summary |
|---|---|
| public static final int DSTADDRESS The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SRCADDRESS | back to summary |
|---|---|
| public static final int SRCADDRESS The struct member offsets. | |
| VkDecompressMemoryRegionNV | back to summary |
|---|---|
| protected VkDecompressMemoryRegionNV(long address, ByteBuffer container) | |
| VkDecompressMemoryRegionNV | back to summary |
|---|---|
| public VkDecompressMemoryRegionNV(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkDecompressMemoryRegionNV calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkDecompressMemoryRegionNV. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDecompressMemoryRegionNV calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDecompressMemoryRegionNV. Returns a new
| |
| compressedSize | back to summary |
|---|---|
| public long compressedSize() the size of compressed data in bytes.
| |
| compressedSize | back to summary |
|---|---|
| public VkDecompressMemoryRegionNV compressedSize(long value) Sets the specified value to the | |
| create | back to summary |
|---|---|
| protected VkDecompressMemoryRegionNV create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkDecompressMemoryRegionNV create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkDecompressMemoryRegionNV create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkDecompressMemoryRegionNV. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkDecompressMemoryRegionNV. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkDecompressMemoryRegionNV createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkDecompressMemoryRegionNV. Like
| |
| decompressedSize | back to summary |
|---|---|
| public long decompressedSize() the size of decompressed data in bytes.
| |
| decompressedSize | back to summary |
|---|---|
| public VkDecompressMemoryRegionNV decompressedSize(long value) Sets the specified value to the | |
| decompressionMethod | back to summary |
|---|---|
| public long decompressionMethod() a bitmask of
| |
| decompressionMethod | back to summary |
|---|---|
| public VkDecompressMemoryRegionNV decompressionMethod(long value) Sets the specified value to the | |
| dstAddress | back to summary |
|---|---|
| public long dstAddress() the destination address where decompressed data will be written.
| |
| dstAddress | back to summary |
|---|---|
| public VkDecompressMemoryRegionNV dstAddress(long value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkDecompressMemoryRegionNV malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkDecompressMemoryRegionNV. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDecompressMemoryRegionNV malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDecompressMemoryRegionNV. Returns a new
| |
| ncompressedSize | back to summary |
|---|---|
| public static long ncompressedSize(long struct) Unsafe version of | |
| ncompressedSize | back to summary |
|---|---|
| public static void ncompressedSize(long struct, long value) Unsafe version of | |
| ndecompressedSize | back to summary |
|---|---|
| public static long ndecompressedSize(long struct) Unsafe version of | |
| ndecompressedSize | back to summary |
|---|---|
| public static void ndecompressedSize(long struct, long value) Unsafe version of | |
| ndecompressionMethod | back to summary |
|---|---|
| public static long ndecompressionMethod(long struct) Unsafe version of | |
| ndecompressionMethod | back to summary |
|---|---|
| public static void ndecompressionMethod(long struct, long value) Unsafe version of | |
| ndstAddress | back to summary |
|---|---|
| public static long ndstAddress(long struct) Unsafe version of | |
| ndstAddress | back to summary |
|---|---|
| public static void ndstAddress(long struct, long value) Unsafe version of | |
| nsrcAddress | back to summary |
|---|---|
| public static long nsrcAddress(long struct) Unsafe version of | |
| nsrcAddress | back to summary |
|---|---|
| public static void nsrcAddress(long struct, long value) Unsafe version of | |
| set | back to summary |
|---|---|
| public VkDecompressMemoryRegionNV set(long srcAddress, long dstAddress, long compressedSize, long decompressedSize, long decompressionMethod) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkDecompressMemoryRegionNV set(VkDecompressMemoryRegionNV src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| srcAddress | back to summary |
|---|---|
| public long srcAddress() the address where compressed data is stored.
| |
| srcAddress | back to summary |
|---|---|
| public VkDecompressMemoryRegionNV srcAddress(long value) Sets the specified value to the | |
VkDecompressMemoryRegionNV structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkDecompressMemoryRegionNV |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public VkDecompressMemoryRegionNV. | compressedSize(long value)
Sets the specified value to the |
| public long | |
| public VkDecompressMemoryRegionNV. | decompressedSize(long value)
Sets the specified value to the |
| public long | Returns: the value of theVkDecompressMemoryRegionNV#decompressionMethod field.
|
| public VkDecompressMemoryRegionNV. | decompressionMethod(long value)
Sets the specified value to the |
| public long | |
| public VkDecompressMemoryRegionNV. | |
| protected VkDecompressMemoryRegionNV | |
| protected VkDecompressMemoryRegionNV. | |
| public long | |
| public VkDecompressMemoryRegionNV. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkDecompressMemoryRegionNV 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) | |
| compressedSize | back to summary |
|---|---|
public long compressedSize()
| |
| compressedSize | back to summary |
|---|---|
| public VkDecompressMemoryRegionNV. Sets the specified value to the | |
| decompressedSize | back to summary |
|---|---|
public long decompressedSize()
| |
| decompressedSize | back to summary |
|---|---|
| public VkDecompressMemoryRegionNV. Sets the specified value to the | |
| decompressionMethod | back to summary |
|---|---|
public long decompressionMethod()
| |
| decompressionMethod | back to summary |
|---|---|
| public VkDecompressMemoryRegionNV. Sets the specified value to the | |
| dstAddress | back to summary |
|---|---|
public long dstAddress()
| |
| dstAddress | back to summary |
|---|---|
| public VkDecompressMemoryRegionNV. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkDecompressMemoryRegionNV getElementFactory() Implements abstract org.
| |
| self | back to summary |
|---|---|
| protected VkDecompressMemoryRegionNV. Implements abstract org.
| |
| srcAddress | back to summary |
|---|---|
public long srcAddress()
| |
| srcAddress | back to summary |
|---|---|
| public VkDecompressMemoryRegionNV. Sets the specified value to the | |