Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkDescriptorUpdateTemplateCreateInfo

extends Struct<VkDescriptorUpdateTemplateCreateInfo>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Known Direct Subclasses
org.lwjgl.vulkan.VkDescriptorUpdateTemplateCreateInfoKHR
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure specifying parameters of a newly created descriptor update template.
Valid Usage
Valid Usage (Implicit)
See Also

VkDescriptorUpdateTemplateEntry, CreateDescriptorUpdateTemplate, CreateDescriptorUpdateTemplateKHR

Layout


struct VkDescriptorUpdateTemplateCreateInfo {
    VkStructureType sType;
    void const * pNext;
    VkDescriptorUpdateTemplateCreateFlags flags;
    uint32_t descriptorUpdateEntryCount;
    VkDescriptorUpdateTemplateEntry const * pDescriptorUpdateEntries;
    VkDescriptorUpdateTemplateType templateType;
    VkDescriptorSetLayout descriptorSetLayout;
    VkPipelineBindPoint pipelineBindPoint;
    VkPipelineLayout pipelineLayout;
    uint32_t set;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
DESCRIPTORSETLAYOUT

The struct member offsets.

public static final int
DESCRIPTORUPDATEENTRYCOUNT

The struct member offsets.

public static final int
FLAGS

The struct member offsets.

public static final int
PDESCRIPTORUPDATEENTRIES

The struct member offsets.

public static final int
PIPELINEBINDPOINT

The struct member offsets.

public static final int
PIPELINELAYOUT

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
SET

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STYPE

The struct member offsets.

public static final int
TEMPLATETYPE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkDescriptorUpdateTemplateCreateInfo(ByteBuffer container)

Creates a VkDescriptorUpdateTemplateCreateInfo instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkDescriptorUpdateTemplateCreateInfo
calloc()

Returns a new VkDescriptorUpdateTemplateCreateInfo instance allocated with memCalloc.

public static VkDescriptorUpdateTemplateCreateInfo.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkDescriptorUpdateTemplateCreateInfo.Buffer instance allocated with memCalloc.

public static VkDescriptorUpdateTemplateCreateInfo
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkDescriptorUpdateTemplateCreateInfo instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkDescriptorUpdateTemplateCreateInfo.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkDescriptorUpdateTemplateCreateInfo.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkDescriptorUpdateTemplateCreateInfo
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkDescriptorUpdateTemplateCreateInfo
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkDescriptorUpdateTemplateCreateInfo.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkDescriptorUpdateTemplateCreateInfo.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected VkDescriptorUpdateTemplateCreateInfo
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkDescriptorUpdateTemplateCreateInfo
create()

Returns a new VkDescriptorUpdateTemplateCreateInfo instance allocated with BufferUtils.

public static VkDescriptorUpdateTemplateCreateInfo
create(long address)

Returns a new VkDescriptorUpdateTemplateCreateInfo instance for the specified memory address.

public static VkDescriptorUpdateTemplateCreateInfo.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkDescriptorUpdateTemplateCreateInfo.Buffer instance allocated with BufferUtils.

public static VkDescriptorUpdateTemplateCreateInfo.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkDescriptorUpdateTemplateCreateInfo.Buffer instance at the specified memory.

public static VkDescriptorUpdateTemplateCreateInfo
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkDescriptorUpdateTemplateCreateInfo.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public long
descriptorSetLayout()

the descriptor set layout used to build the descriptor update template.

public VkDescriptorUpdateTemplateCreateInfo
descriptorSetLayout(long value)

Sets the specified value to the descriptorSetLayout field.

public int
descriptorUpdateEntryCount()

the number of elements in the pDescriptorUpdateEntries array.

public int
flags()

reserved for future use.

public VkDescriptorUpdateTemplateCreateInfo
flags(int value)

Sets the specified value to the flags field.

public static VkDescriptorUpdateTemplateCreateInfo
malloc()

Returns a new VkDescriptorUpdateTemplateCreateInfo instance allocated with memAlloc.

public static VkDescriptorUpdateTemplateCreateInfo.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkDescriptorUpdateTemplateCreateInfo.Buffer instance allocated with memAlloc.

public static VkDescriptorUpdateTemplateCreateInfo
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkDescriptorUpdateTemplateCreateInfo instance allocated on the specified MemoryStack.

public static VkDescriptorUpdateTemplateCreateInfo.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkDescriptorUpdateTemplateCreateInfo.Buffer instance allocated on the specified MemoryStack.

public static VkDescriptorUpdateTemplateCreateInfo
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkDescriptorUpdateTemplateCreateInfo
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkDescriptorUpdateTemplateCreateInfo.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkDescriptorUpdateTemplateCreateInfo.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static long
ndescriptorSetLayout(long struct)

Unsafe version of descriptorSetLayout.

public static void
ndescriptorSetLayout(long struct, long value)

Unsafe version of descriptorSetLayout.

public static int
public static void
ndescriptorUpdateEntryCount(long struct, int value)

Sets the specified value to the descriptorUpdateEntryCount field of the specified struct.

public static int
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, int value)

Unsafe version of flags.

public static VkDescriptorUpdateTemplateEntry.Buffer
npDescriptorUpdateEntries(long struct)

Unsafe version of pDescriptorUpdateEntries.

public static void
public static int
npipelineBindPoint(long struct)

Unsafe version of pipelineBindPoint.

public static void
npipelineBindPoint(long struct, int value)

Unsafe version of pipelineBindPoint.

public static long
npipelineLayout(long struct)

Unsafe version of pipelineLayout.

public static void
npipelineLayout(long struct, long value)

Unsafe version of pipelineLayout.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static int
nset(long struct)

Unsafe version of set.

public static void
nset(long struct, int value)

Unsafe version of set.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public static int
ntemplateType(long struct)

Unsafe version of templateType.

public static void
ntemplateType(long struct, int value)

Unsafe version of templateType.

public VkDescriptorUpdateTemplateEntry.Buffer
pDescriptorUpdateEntries()

a pointer to an array of VkDescriptorUpdateTemplateEntry structures describing the descriptors to be updated by the descriptor update template.

public VkDescriptorUpdateTemplateCreateInfo
public int
pipelineBindPoint()

a VkPipelineBindPoint indicating the type of the pipeline that will use the descriptors.

public VkDescriptorUpdateTemplateCreateInfo
pipelineBindPoint(int value)

Sets the specified value to the pipelineBindPoint field.

public long
pipelineLayout()

a VkPipelineLayout object used to program the bindings.

public VkDescriptorUpdateTemplateCreateInfo
pipelineLayout(long value)

Sets the specified value to the pipelineLayout field.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkDescriptorUpdateTemplateCreateInfo
pNext(long value)

Sets the specified value to the pNext field.

public int
set()

the set number of the descriptor set in the pipeline layout that will be updated.

public VkDescriptorUpdateTemplateCreateInfo
set(int value)

Sets the specified value to the set field.

public VkDescriptorUpdateTemplateCreateInfo
set(int sType, long pNext, int flags, VkDescriptorUpdateTemplateEntry.Buffer pDescriptorUpdateEntries, int templateType, long descriptorSetLayout, int pipelineBindPoint, long pipelineLayout, int set)

Initializes this struct with the specified values.

public VkDescriptorUpdateTemplateCreateInfo

Returns:

this struct
set
(VkDescriptorUpdateTemplateCreateInfo
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int
sType()

a VkStructureType value identifying this structure.

public VkDescriptorUpdateTemplateCreateInfo
sType(int value)

Sets the specified value to the sType field.

public VkDescriptorUpdateTemplateCreateInfo
public int
templateType()

Specifies the type of the descriptor update template.

public VkDescriptorUpdateTemplateCreateInfo
templateType(int value)

Sets the specified value to the templateType field.

public static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate