VkSparseImageFormatProperties, VkSparseImageMemoryRequirements2, GetImageSparseMemoryRequirements
struct VkSparseImageMemoryRequirements {
VkSparseImageFormatProperties formatProperties;
uint32_t imageMipTailFirstLod;
VkDeviceSize imageMipTailSize;
VkDeviceSize imageMipTailOffset;
VkDeviceSize imageMipTailStride;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkSparseImageMemoryRequirements.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | FORMATPROPERTIES
The struct member offsets. |
| public static final int | IMAGEMIPTAILFIRSTLOD
The struct member offsets. |
| public static final int | IMAGEMIPTAILOFFSET
The struct member offsets. |
| public static final int | IMAGEMIPTAILSIZE
The struct member offsets. |
| public static final int | IMAGEMIPTAILSTRIDE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkSparseImageMemoryRequirements(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkSparseImageMemoryRequirements | |
| public static VkSparseImageMemoryRequirements. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkSparseImageMemoryRequirements | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkSparseImageMemoryRequirements. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkSparseImageMemoryRequirements | |
| public static VkSparseImageMemoryRequirements | |
| public static VkSparseImageMemoryRequirements. | |
| public static VkSparseImageMemoryRequirements. | |
| protected VkSparseImageMemoryRequirements | 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 VkSparseImageMemoryRequirements | |
| public static VkSparseImageMemoryRequirements | create(long address)
Returns a new |
| public static VkSparseImageMemoryRequirements. | create(int
the buffer capacity capacity)Returns a new |
| public static VkSparseImageMemoryRequirements. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkSparseImageMemoryRequirements | |
| public static VkSparseImageMemoryRequirements. | |
| public VkSparseImageFormatProperties | formatProperties()
a |
| public int | imageMipTailFirstLod()
the first mip level at which image subresources are included in the mip tail region. |
| public long | imageMipTailOffset()
the opaque memory offset used with |
| public long | |
| public long | imageMipTailStride()
the offset stride between each array-layer’s mip tail, if |
| public static VkSparseImageMemoryRequirements | |
| public static VkSparseImageMemoryRequirements. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkSparseImageMemoryRequirements | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkSparseImageMemoryRequirements. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkSparseImageMemoryRequirements | |
| public static VkSparseImageMemoryRequirements | |
| public static VkSparseImageMemoryRequirements. | |
| public static VkSparseImageMemoryRequirements. | |
| public static VkSparseImageFormatProperties | |
| public static int | |
| public static long | |
| public static long | |
| public static long | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| FORMATPROPERTIES | back to summary |
|---|---|
| public static final int FORMATPROPERTIES The struct member offsets. | |
| IMAGEMIPTAILFIRSTLOD | back to summary |
|---|---|
| public static final int IMAGEMIPTAILFIRSTLOD The struct member offsets. | |
| IMAGEMIPTAILOFFSET | back to summary |
|---|---|
| public static final int IMAGEMIPTAILOFFSET The struct member offsets. | |
| IMAGEMIPTAILSIZE | back to summary |
|---|---|
| public static final int IMAGEMIPTAILSIZE The struct member offsets. | |
| IMAGEMIPTAILSTRIDE | back to summary |
|---|---|
| public static final int IMAGEMIPTAILSTRIDE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VkSparseImageMemoryRequirements | back to summary |
|---|---|
| protected VkSparseImageMemoryRequirements(long address, ByteBuffer container) | |
| VkSparseImageMemoryRequirements | back to summary |
|---|---|
| public VkSparseImageMemoryRequirements(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkSparseImageMemoryRequirements calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkSparseImageMemoryRequirements. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkSparseImageMemoryRequirements calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkSparseImageMemoryRequirements. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkSparseImageMemoryRequirements callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkSparseImageMemoryRequirements callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkSparseImageMemoryRequirements. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkSparseImageMemoryRequirements. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkSparseImageMemoryRequirements create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkSparseImageMemoryRequirements create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkSparseImageMemoryRequirements create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkSparseImageMemoryRequirements. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkSparseImageMemoryRequirements. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkSparseImageMemoryRequirements createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkSparseImageMemoryRequirements. Like
| |
| formatProperties | back to summary |
|---|---|
| public VkSparseImageFormatProperties formatProperties() a | |
| imageMipTailFirstLod | back to summary |
|---|---|
| public int imageMipTailFirstLod() the first mip level at which image subresources are included in the mip tail region.
| |
| imageMipTailOffset | back to summary |
|---|---|
| public long imageMipTailOffset() the opaque memory offset used with
| |
| imageMipTailSize | back to summary |
|---|---|
| public long imageMipTailSize() the memory size (in bytes) of the mip tail region. If
| |
| imageMipTailStride | back to summary |
|---|---|
| public long imageMipTailStride() the offset stride between each array-layer’s mip tail, if
| |
| malloc | back to summary |
|---|---|
| public static VkSparseImageMemoryRequirements malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkSparseImageMemoryRequirements. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkSparseImageMemoryRequirements malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkSparseImageMemoryRequirements. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkSparseImageMemoryRequirements mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkSparseImageMemoryRequirements mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkSparseImageMemoryRequirements. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkSparseImageMemoryRequirements. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nformatProperties | back to summary |
|---|---|
| public static VkSparseImageFormatProperties nformatProperties(long struct) Unsafe version of | |
| nimageMipTailFirstLod | back to summary |
|---|---|
| public static int nimageMipTailFirstLod(long struct) Unsafe version of | |
| nimageMipTailOffset | back to summary |
|---|---|
| public static long nimageMipTailOffset(long struct) Unsafe version of | |
| nimageMipTailSize | back to summary |
|---|---|
| public static long nimageMipTailSize(long struct) Unsafe version of | |
| nimageMipTailStride | back to summary |
|---|---|
| public static long nimageMipTailStride(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
VkSparseImageMemoryRequirements structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkSparseImageMemoryRequirements |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public VkSparseImageFormatProperties | Returns: aVkSparseImageFormatProperties view of the VkSparseImageMemoryRequirements#formatProperties field.
|
| protected VkSparseImageMemoryRequirements | |
| public int | Returns: the value of theVkSparseImageMemoryRequirements#imageMipTailFirstLod field.
|
| public long | Returns: the value of theVkSparseImageMemoryRequirements#imageMipTailOffset field.
|
| public long | |
| public long | Returns: the value of theVkSparseImageMemoryRequirements#imageMipTailStride field.
|
| protected VkSparseImageMemoryRequirements. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkSparseImageMemoryRequirements 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) | |
| formatProperties | back to summary |
|---|---|
public VkSparseImageFormatProperties formatProperties()
| |
| getElementFactory | back to summary |
|---|---|
| protected VkSparseImageMemoryRequirements getElementFactory() Implements abstract org.
| |
| imageMipTailFirstLod | back to summary |
|---|---|
public int imageMipTailFirstLod()
| |
| imageMipTailOffset | back to summary |
|---|---|
public long imageMipTailOffset()
| |
| imageMipTailSize | back to summary |
|---|---|
public long imageMipTailSize()
| |
| imageMipTailStride | back to summary |
|---|---|
public long imageMipTailStride()
| |
| self | back to summary |
|---|---|
| protected VkSparseImageMemoryRequirements. Implements abstract org.
| |