Package org.lwjgl.vulkan
Class VkDescriptorUpdateTemplateCreateInfoKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkDescriptorUpdateTemplateCreateInfo>
org.lwjgl.vulkan.VkDescriptorUpdateTemplateCreateInfo
org.lwjgl.vulkan.VkDescriptorUpdateTemplateCreateInfoKHR
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct VkDescriptorUpdateTemplateCreateInfoKHR {
VkStructureType sType;
void const * pNext;
VkDescriptorUpdateTemplateCreateFlags flags;
uint32_t descriptorUpdateEntryCount;
{@link VkDescriptorUpdateTemplateEntry VkDescriptorUpdateTemplateEntry} const * pDescriptorUpdateEntries;
VkDescriptorUpdateTemplateType templateType;
VkDescriptorSetLayout descriptorSetLayout;
VkPipelineBindPoint pipelineBindPoint;
VkPipelineLayout pipelineLayout;
uint32_t set;
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofVkDescriptorUpdateTemplateCreateInfoKHRstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from class org.lwjgl.vulkan.VkDescriptorUpdateTemplateCreateInfo
ALIGNOF, DESCRIPTORSETLAYOUT, DESCRIPTORUPDATEENTRYCOUNT, FLAGS, PDESCRIPTORUPDATEENTRIES, PIPELINEBINDPOINT, PIPELINELAYOUT, PNEXT, SET, SIZEOF, STYPE, TEMPLATETYPEFields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkDescriptorUpdateTemplateCreateInfoKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.Deprecated.callocStack(int capacity) Deprecated.callocStack(int capacity, MemoryStack stack) Deprecated.callocStack(MemoryStack stack) Deprecated.create()Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated withBufferUtils.create(int capacity) Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance for the specified memory address.create(long address, int capacity) Create aVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance at the specified memory.static @Nullable VkDescriptorUpdateTemplateCreateInfoKHRcreateSafe(long address) static @Nullable VkDescriptorUpdateTemplateCreateInfoKHR.BuffercreateSafe(long address, int capacity) descriptorSetLayout(long value) Sets the specified value to thedescriptorSetLayoutfield.flags(int value) Sets the specified value to theflagsfield.malloc()Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated on the specifiedMemoryStack.Deprecated.mallocStack(int capacity) Deprecated.mallocStack(int capacity, MemoryStack stack) Deprecated.mallocStack(MemoryStack stack) Deprecated.Sets the address of the specifiedVkDescriptorUpdateTemplateEntry.Bufferto thepDescriptorUpdateEntriesfield.pipelineBindPoint(int value) Sets the specified value to thepipelineBindPointfield.pipelineLayout(long value) Sets the specified value to thepipelineLayoutfield.pNext(long value) Sets the specified value to thepNextfield.set(int value) Sets the specified value to thesetfield.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.Copies the specified struct data to this struct.sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFOvalue to thesTypefield.templateType(int value) Sets the specified value to thetemplateTypefield.Methods inherited from class org.lwjgl.vulkan.VkDescriptorUpdateTemplateCreateInfo
descriptorSetLayout, descriptorUpdateEntryCount, flags, ndescriptorSetLayout, ndescriptorSetLayout, ndescriptorUpdateEntryCount, ndescriptorUpdateEntryCount, nflags, nflags, npDescriptorUpdateEntries, npDescriptorUpdateEntries, npipelineBindPoint, npipelineBindPoint, npipelineLayout, npipelineLayout, npNext, npNext, nset, nset, nsType, nsType, ntemplateType, ntemplateType, pDescriptorUpdateEntries, pipelineBindPoint, pipelineLayout, pNext, set, set, sizeof, sType, templateType, validateMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
VkDescriptorUpdateTemplateCreateInfoKHR
Creates aVkDescriptorUpdateTemplateCreateInfoKHRinstance at the current position of the specifiedByteBuffercontainer. 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.
-
-
Method Details
-
sType
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkDescriptorUpdateTemplateCreateInfo
-
sType$Default
Sets theSTRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFOvalue to thesTypefield.- Overrides:
sType$Defaultin classVkDescriptorUpdateTemplateCreateInfo
-
pNext
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkDescriptorUpdateTemplateCreateInfo
-
flags
Sets the specified value to theflagsfield.- Overrides:
flagsin classVkDescriptorUpdateTemplateCreateInfo
-
pDescriptorUpdateEntries
public VkDescriptorUpdateTemplateCreateInfoKHR pDescriptorUpdateEntries(VkDescriptorUpdateTemplateEntry.Buffer value) Sets the address of the specifiedVkDescriptorUpdateTemplateEntry.Bufferto thepDescriptorUpdateEntriesfield.- Overrides:
pDescriptorUpdateEntriesin classVkDescriptorUpdateTemplateCreateInfo
-
templateType
Sets the specified value to thetemplateTypefield.- Overrides:
templateTypein classVkDescriptorUpdateTemplateCreateInfo
-
descriptorSetLayout
Sets the specified value to thedescriptorSetLayoutfield.- Overrides:
descriptorSetLayoutin classVkDescriptorUpdateTemplateCreateInfo
-
pipelineBindPoint
Sets the specified value to thepipelineBindPointfield.- Overrides:
pipelineBindPointin classVkDescriptorUpdateTemplateCreateInfo
-
pipelineLayout
Sets the specified value to thepipelineLayoutfield.- Overrides:
pipelineLayoutin classVkDescriptorUpdateTemplateCreateInfo
-
set
Sets the specified value to thesetfield.- Overrides:
setin classVkDescriptorUpdateTemplateCreateInfo
-
set
public VkDescriptorUpdateTemplateCreateInfoKHR 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.- Overrides:
setin classVkDescriptorUpdateTemplateCreateInfo
-
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated withBufferUtils. -
create
Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable VkDescriptorUpdateTemplateCreateInfoKHR.Buffer createSafe(long address, int capacity) -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead. -
mallocStack
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead. -
callocStack
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead. -
mallocStack
@Deprecated public static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer mallocStack(int capacity, MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead. -
callocStack
@Deprecated public static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer callocStack(int capacity, MemoryStack stack) Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead. -
malloc
Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer malloc(int capacity, MemoryStack stack) Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer calloc(int capacity, MemoryStack stack) Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-