dstBinding must be a valid binding in the descriptor set layout implicitly specified when using a descriptor update template to update descriptorsdstArrayElement and descriptorCount must be less than or equal to the number of array elements in the descriptor set binding implicitly specified when using a descriptor update template to update descriptors, and all applicable consecutive bindings, as described by consecutive binding updatesdescriptor type is DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK, dstArrayElement must be an integer multiple of 4descriptor type is DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK, descriptorCount must be an integer multiple of 4descriptorType must be a valid VkDescriptorType valueVkDescriptorUpdateTemplateCreateInfo
struct VkDescriptorUpdateTemplateEntry {
uint32_t dstBinding;
uint32_t dstArrayElement;
uint32_t descriptorCount;
VkDescriptorType descriptorType;
size_t offset;
size_t stride;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkDescriptorUpdateTemplateEntry.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DESCRIPTORCOUNT
The struct member offsets. |
| public static final int | DESCRIPTORTYPE
The struct member offsets. |
| public static final int | DSTARRAYELEMENT
The struct member offsets. |
| public static final int | DSTBINDING
The struct member offsets. |
| public static final int | OFFSET
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STRIDE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkDescriptorUpdateTemplateEntry(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkDescriptorUpdateTemplateEntry | |
| public static VkDescriptorUpdateTemplateEntry. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkDescriptorUpdateTemplateEntry | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDescriptorUpdateTemplateEntry. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkDescriptorUpdateTemplateEntry | |
| public static VkDescriptorUpdateTemplateEntry | |
| public static VkDescriptorUpdateTemplateEntry. | |
| public static VkDescriptorUpdateTemplateEntry. | |
| protected VkDescriptorUpdateTemplateEntry | 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 VkDescriptorUpdateTemplateEntry | |
| public static VkDescriptorUpdateTemplateEntry | create(long address)
Returns a new |
| public static VkDescriptorUpdateTemplateEntry. | create(int
the buffer capacity capacity)Returns a new |
| public static VkDescriptorUpdateTemplateEntry. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkDescriptorUpdateTemplateEntry | |
| public static VkDescriptorUpdateTemplateEntry. | |
| public int | |
| public VkDescriptorUpdateTemplateEntry | |
| public int | |
| public VkDescriptorUpdateTemplateEntry | |
| public int | |
| public VkDescriptorUpdateTemplateEntry | |
| public int | |
| public VkDescriptorUpdateTemplateEntry | |
| public static VkDescriptorUpdateTemplateEntry | |
| public static VkDescriptorUpdateTemplateEntry. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkDescriptorUpdateTemplateEntry | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkDescriptorUpdateTemplateEntry. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkDescriptorUpdateTemplateEntry | |
| public static VkDescriptorUpdateTemplateEntry | |
| public static VkDescriptorUpdateTemplateEntry. | |
| public static VkDescriptorUpdateTemplateEntry. | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public long | |
| public VkDescriptorUpdateTemplateEntry | |
| public VkDescriptorUpdateTemplateEntry | set(int dstBinding, int dstArrayElement, int descriptorCount, int descriptorType, long offset, long stride)
Initializes this struct with the specified values. |
| public VkDescriptorUpdateTemplateEntry | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public long | stride()
the stride in bytes between two consecutive array elements of the descriptor update information in the raw data structure. |
| public VkDescriptorUpdateTemplateEntry |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DESCRIPTORCOUNT | back to summary |
|---|---|
| public static final int DESCRIPTORCOUNT The struct member offsets. | |
| DESCRIPTORTYPE | back to summary |
|---|---|
| public static final int DESCRIPTORTYPE The struct member offsets. | |
| DSTARRAYELEMENT | back to summary |
|---|---|
| public static final int DSTARRAYELEMENT The struct member offsets. | |
| DSTBINDING | back to summary |
|---|---|
| public static final int DSTBINDING The struct member offsets. | |
| OFFSET | back to summary |
|---|---|
| public static final int OFFSET The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STRIDE | back to summary |
|---|---|
| public static final int STRIDE The struct member offsets. | |
| VkDescriptorUpdateTemplateEntry | back to summary |
|---|---|
| protected VkDescriptorUpdateTemplateEntry(long address, ByteBuffer container) | |
| VkDescriptorUpdateTemplateEntry | back to summary |
|---|---|
| public VkDescriptorUpdateTemplateEntry(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkDescriptorUpdateTemplateEntry calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkDescriptorUpdateTemplateEntry. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDescriptorUpdateTemplateEntry calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkDescriptorUpdateTemplateEntry. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkDescriptorUpdateTemplateEntry callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDescriptorUpdateTemplateEntry callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDescriptorUpdateTemplateEntry. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkDescriptorUpdateTemplateEntry. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkDescriptorUpdateTemplateEntry create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkDescriptorUpdateTemplateEntry create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkDescriptorUpdateTemplateEntry create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkDescriptorUpdateTemplateEntry. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkDescriptorUpdateTemplateEntry. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkDescriptorUpdateTemplateEntry createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkDescriptorUpdateTemplateEntry. Like
| |
| descriptorCount | back to summary |
|---|---|
| public int descriptorCount() the number of descriptors to update. If
| |
| descriptorCount | back to summary |
|---|---|
| public VkDescriptorUpdateTemplateEntry descriptorCount(int value) Sets the specified value to the | |
| descriptorType | back to summary |
|---|---|
| public int descriptorType() a
| |
| descriptorType | back to summary |
|---|---|
| public VkDescriptorUpdateTemplateEntry descriptorType(int value) Sets the specified value to the | |
| dstArrayElement | back to summary |
|---|---|
| public int dstArrayElement() the starting element in the array belonging to
| |
| dstArrayElement | back to summary |
|---|---|
| public VkDescriptorUpdateTemplateEntry dstArrayElement(int value) Sets the specified value to the | |
| dstBinding | back to summary |
|---|---|
| public int dstBinding() the descriptor binding to update when using this descriptor update template.
| |
| dstBinding | back to summary |
|---|---|
| public VkDescriptorUpdateTemplateEntry dstBinding(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkDescriptorUpdateTemplateEntry malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkDescriptorUpdateTemplateEntry. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDescriptorUpdateTemplateEntry malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkDescriptorUpdateTemplateEntry. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkDescriptorUpdateTemplateEntry mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDescriptorUpdateTemplateEntry mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDescriptorUpdateTemplateEntry. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkDescriptorUpdateTemplateEntry. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| ndescriptorCount | back to summary |
|---|---|
| public static int ndescriptorCount(long struct) Unsafe version of | |
| ndescriptorCount | back to summary |
|---|---|
| public static void ndescriptorCount(long struct, int value) Unsafe version of | |
| ndescriptorType | back to summary |
|---|---|
| public static int ndescriptorType(long struct) Unsafe version of | |
| ndescriptorType | back to summary |
|---|---|
| public static void ndescriptorType(long struct, int value) Unsafe version of | |
| ndstArrayElement | back to summary |
|---|---|
| public static int ndstArrayElement(long struct) Unsafe version of | |
| ndstArrayElement | back to summary |
|---|---|
| public static void ndstArrayElement(long struct, int value) Unsafe version of | |
| ndstBinding | back to summary |
|---|---|
| public static int ndstBinding(long struct) Unsafe version of | |
| ndstBinding | back to summary |
|---|---|
| public static void ndstBinding(long struct, int 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 | |
| nstride | back to summary |
|---|---|
| public static long nstride(long struct) Unsafe version of | |
| nstride | back to summary |
|---|---|
| public static void nstride(long struct, long value) Unsafe version of | |
| offset | back to summary |
|---|---|
| public long offset() the offset in bytes of the first binding in the raw data structure.
| |
| offset | back to summary |
|---|---|
| public VkDescriptorUpdateTemplateEntry offset(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkDescriptorUpdateTemplateEntry set(int dstBinding, int dstArrayElement, int descriptorCount, int descriptorType, long offset, long stride) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkDescriptorUpdateTemplateEntry set(VkDescriptorUpdateTemplateEntry src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| stride | back to summary |
|---|---|
| public long stride() the stride in bytes between two consecutive array elements of the descriptor update information in the raw data structure. The actual pointer ptr for each array element j of update entry i is computed using the following formula:
The stride is useful in case the bindings are stored in structs along with other data. If
| |
| stride | back to summary |
|---|---|
| public VkDescriptorUpdateTemplateEntry stride(long value) Sets the specified value to the | |
VkDescriptorUpdateTemplateEntry structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkDescriptorUpdateTemplateEntry |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VkDescriptorUpdateTemplateEntry. | descriptorCount(int value)
Sets the specified value to the |
| public int | |
| public VkDescriptorUpdateTemplateEntry. | descriptorType(int value)
Sets the specified value to the |
| public int | |
| public VkDescriptorUpdateTemplateEntry. | dstArrayElement(int value)
Sets the specified value to the |
| public int | |
| public VkDescriptorUpdateTemplateEntry. | dstBinding(int value)
Sets the specified value to the |
| protected VkDescriptorUpdateTemplateEntry | |
| public long | |
| public VkDescriptorUpdateTemplateEntry. | |
| protected VkDescriptorUpdateTemplateEntry. | |
| public long | |
| public VkDescriptorUpdateTemplateEntry. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkDescriptorUpdateTemplateEntry 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) | |
| descriptorCount | back to summary |
|---|---|
public int descriptorCount()
| |
| descriptorCount | back to summary |
|---|---|
| public VkDescriptorUpdateTemplateEntry. Sets the specified value to the | |
| descriptorType | back to summary |
|---|---|
public int descriptorType()
| |
| descriptorType | back to summary |
|---|---|
| public VkDescriptorUpdateTemplateEntry. Sets the specified value to the | |
| dstArrayElement | back to summary |
|---|---|
public int dstArrayElement()
| |
| dstArrayElement | back to summary |
|---|---|
| public VkDescriptorUpdateTemplateEntry. Sets the specified value to the | |
| dstBinding | back to summary |
|---|---|
public int dstBinding()
| |
| dstBinding | back to summary |
|---|---|
| public VkDescriptorUpdateTemplateEntry. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkDescriptorUpdateTemplateEntry getElementFactory() Implements abstract org.
| |
| offset | back to summary |
|---|---|
public long offset()
| |
| offset | back to summary |
|---|---|
| public VkDescriptorUpdateTemplateEntry. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkDescriptorUpdateTemplateEntry. Implements abstract org.
| |
| stride | back to summary |
|---|---|
public long stride()
| |
| stride | back to summary |
|---|---|
| public VkDescriptorUpdateTemplateEntry. Sets the specified value to the | |