public class VkDescriptorUpdateTemplateEntryKHR extends VkDescriptorUpdateTemplateEntry
VkDescriptorUpdateTemplateEntry.
struct VkDescriptorUpdateTemplateEntryKHR {
uint32_t dstBinding;
uint32_t dstArrayElement;
uint32_t descriptorCount;
VkDescriptorType descriptorType;
size_t offset;
size_t stride;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkDescriptorUpdateTemplateEntryKHR.Buffer
An array of
VkDescriptorUpdateTemplateEntryKHR structs. |
ALIGNOF, DESCRIPTORCOUNT, DESCRIPTORTYPE, DSTARRAYELEMENT, DSTBINDING, OFFSET, SIZEOF, STRIDE| Constructor and Description |
|---|
VkDescriptorUpdateTemplateEntryKHR(java.nio.ByteBuffer container)
Creates a
VkDescriptorUpdateTemplateEntryKHR instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkDescriptorUpdateTemplateEntryKHR |
calloc()
Returns a new
VkDescriptorUpdateTemplateEntryKHR instance allocated with memCalloc. |
static VkDescriptorUpdateTemplateEntryKHR.Buffer |
calloc(int capacity)
Returns a new
VkDescriptorUpdateTemplateEntryKHR.Buffer instance allocated with memCalloc. |
static VkDescriptorUpdateTemplateEntryKHR |
callocStack()
Returns a new
VkDescriptorUpdateTemplateEntryKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDescriptorUpdateTemplateEntryKHR.Buffer |
callocStack(int capacity)
Returns a new
VkDescriptorUpdateTemplateEntryKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkDescriptorUpdateTemplateEntryKHR.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDescriptorUpdateTemplateEntryKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDescriptorUpdateTemplateEntryKHR |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDescriptorUpdateTemplateEntryKHR instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkDescriptorUpdateTemplateEntryKHR |
create()
Returns a new
VkDescriptorUpdateTemplateEntryKHR instance allocated with BufferUtils. |
static VkDescriptorUpdateTemplateEntryKHR.Buffer |
create(int capacity)
Returns a new
VkDescriptorUpdateTemplateEntryKHR.Buffer instance allocated with BufferUtils. |
static VkDescriptorUpdateTemplateEntryKHR |
create(long address)
Returns a new
VkDescriptorUpdateTemplateEntryKHR instance for the specified memory address. |
static VkDescriptorUpdateTemplateEntryKHR.Buffer |
create(long address,
int capacity)
Create a
VkDescriptorUpdateTemplateEntryKHR.Buffer instance at the specified memory. |
static VkDescriptorUpdateTemplateEntryKHR |
createSafe(long address)
|
static VkDescriptorUpdateTemplateEntryKHR.Buffer |
createSafe(long address,
int capacity)
|
VkDescriptorUpdateTemplateEntryKHR |
descriptorCount(int value)
Sets the specified value to the
descriptorCount field. |
VkDescriptorUpdateTemplateEntryKHR |
descriptorType(int value)
Sets the specified value to the
descriptorType field. |
VkDescriptorUpdateTemplateEntryKHR |
dstArrayElement(int value)
Sets the specified value to the
dstArrayElement field. |
VkDescriptorUpdateTemplateEntryKHR |
dstBinding(int value)
Sets the specified value to the
dstBinding field. |
static VkDescriptorUpdateTemplateEntryKHR |
malloc()
Returns a new
VkDescriptorUpdateTemplateEntryKHR instance allocated with memAlloc. |
static VkDescriptorUpdateTemplateEntryKHR.Buffer |
malloc(int capacity)
Returns a new
VkDescriptorUpdateTemplateEntryKHR.Buffer instance allocated with memAlloc. |
static VkDescriptorUpdateTemplateEntryKHR |
mallocStack()
Returns a new
VkDescriptorUpdateTemplateEntryKHR instance allocated on the thread-local MemoryStack. |
static VkDescriptorUpdateTemplateEntryKHR.Buffer |
mallocStack(int capacity)
Returns a new
VkDescriptorUpdateTemplateEntryKHR.Buffer instance allocated on the thread-local MemoryStack. |
static VkDescriptorUpdateTemplateEntryKHR.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkDescriptorUpdateTemplateEntryKHR.Buffer instance allocated on the specified MemoryStack. |
static VkDescriptorUpdateTemplateEntryKHR |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkDescriptorUpdateTemplateEntryKHR instance allocated on the specified MemoryStack. |
VkDescriptorUpdateTemplateEntryKHR |
offset(long value)
Sets the specified value to the
offset field. |
VkDescriptorUpdateTemplateEntryKHR |
set(int dstBinding,
int dstArrayElement,
int descriptorCount,
int descriptorType,
long offset,
long stride)
Initializes this struct with the specified values.
|
VkDescriptorUpdateTemplateEntryKHR |
set(VkDescriptorUpdateTemplateEntryKHR src)
Copies the specified struct data to this struct.
|
VkDescriptorUpdateTemplateEntryKHR |
stride(long value)
Sets the specified value to the
stride field. |
descriptorCount, descriptorType, dstArrayElement, dstBinding, ndescriptorCount, ndescriptorCount, ndescriptorType, ndescriptorType, ndstArrayElement, ndstArrayElement, ndstBinding, ndstBinding, noffset, noffset, nstride, nstride, offset, set, sizeof, stridepublic VkDescriptorUpdateTemplateEntryKHR(java.nio.ByteBuffer container)
VkDescriptorUpdateTemplateEntryKHR instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
The created instance holds a strong reference to the container object.
public VkDescriptorUpdateTemplateEntryKHR dstBinding(int value)
dstBinding field.dstBinding in class VkDescriptorUpdateTemplateEntrypublic VkDescriptorUpdateTemplateEntryKHR dstArrayElement(int value)
dstArrayElement field.dstArrayElement in class VkDescriptorUpdateTemplateEntrypublic VkDescriptorUpdateTemplateEntryKHR descriptorCount(int value)
descriptorCount field.descriptorCount in class VkDescriptorUpdateTemplateEntrypublic VkDescriptorUpdateTemplateEntryKHR descriptorType(int value)
descriptorType field.descriptorType in class VkDescriptorUpdateTemplateEntrypublic VkDescriptorUpdateTemplateEntryKHR offset(long value)
offset field.offset in class VkDescriptorUpdateTemplateEntrypublic VkDescriptorUpdateTemplateEntryKHR stride(long value)
stride field.stride in class VkDescriptorUpdateTemplateEntrypublic VkDescriptorUpdateTemplateEntryKHR set(int dstBinding, int dstArrayElement, int descriptorCount, int descriptorType, long offset, long stride)
set in class VkDescriptorUpdateTemplateEntrypublic VkDescriptorUpdateTemplateEntryKHR set(VkDescriptorUpdateTemplateEntryKHR src)
src - the source structpublic static VkDescriptorUpdateTemplateEntryKHR malloc()
VkDescriptorUpdateTemplateEntryKHR instance allocated with memAlloc. The instance must be explicitly freed.public static VkDescriptorUpdateTemplateEntryKHR calloc()
VkDescriptorUpdateTemplateEntryKHR instance allocated with memCalloc. The instance must be explicitly freed.public static VkDescriptorUpdateTemplateEntryKHR create()
VkDescriptorUpdateTemplateEntryKHR instance allocated with BufferUtils.public static VkDescriptorUpdateTemplateEntryKHR create(long address)
VkDescriptorUpdateTemplateEntryKHR instance for the specified memory address.@Nullable public static VkDescriptorUpdateTemplateEntryKHR createSafe(long address)
public static VkDescriptorUpdateTemplateEntryKHR.Buffer malloc(int capacity)
VkDescriptorUpdateTemplateEntryKHR.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDescriptorUpdateTemplateEntryKHR.Buffer calloc(int capacity)
VkDescriptorUpdateTemplateEntryKHR.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkDescriptorUpdateTemplateEntryKHR.Buffer create(int capacity)
VkDescriptorUpdateTemplateEntryKHR.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkDescriptorUpdateTemplateEntryKHR.Buffer create(long address, int capacity)
VkDescriptorUpdateTemplateEntryKHR.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkDescriptorUpdateTemplateEntryKHR.Buffer createSafe(long address, int capacity)
public static VkDescriptorUpdateTemplateEntryKHR mallocStack()
VkDescriptorUpdateTemplateEntryKHR instance allocated on the thread-local MemoryStack.public static VkDescriptorUpdateTemplateEntryKHR callocStack()
VkDescriptorUpdateTemplateEntryKHR instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkDescriptorUpdateTemplateEntryKHR mallocStack(org.lwjgl.system.MemoryStack stack)
VkDescriptorUpdateTemplateEntryKHR instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkDescriptorUpdateTemplateEntryKHR callocStack(org.lwjgl.system.MemoryStack stack)
VkDescriptorUpdateTemplateEntryKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkDescriptorUpdateTemplateEntryKHR.Buffer mallocStack(int capacity)
VkDescriptorUpdateTemplateEntryKHR.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkDescriptorUpdateTemplateEntryKHR.Buffer callocStack(int capacity)
VkDescriptorUpdateTemplateEntryKHR.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkDescriptorUpdateTemplateEntryKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDescriptorUpdateTemplateEntryKHR.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkDescriptorUpdateTemplateEntryKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkDescriptorUpdateTemplateEntryKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacityCopyright LWJGL. All Rights Reserved. License terms.