Package org.lwjgl.vulkan
Class VkDescriptorUpdateTemplateCreateInfoKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkDescriptorUpdateTemplateCreateInfo
-
- org.lwjgl.vulkan.VkDescriptorUpdateTemplateCreateInfoKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkDescriptorUpdateTemplateCreateInfoKHR extends VkDescriptorUpdateTemplateCreateInfo
SeeVkDescriptorUpdateTemplateCreateInfo.Layout
struct VkDescriptorUpdateTemplateCreateInfoKHR { VkStructureType sType; void const * pNext; VkDescriptorUpdateTemplateCreateFlags flags; uint32_t descriptorUpdateEntryCount;VkDescriptorUpdateTemplateEntryconst * pDescriptorUpdateEntries; VkDescriptorUpdateTemplateType templateType; VkDescriptorSetLayout descriptorSetLayout; VkPipelineBindPoint pipelineBindPoint; VkPipelineLayout pipelineLayout; uint32_t set; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkDescriptorUpdateTemplateCreateInfoKHR.BufferAn array ofVkDescriptorUpdateTemplateCreateInfoKHRstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkDescriptorUpdateTemplateCreateInfo
ALIGNOF, DESCRIPTORSETLAYOUT, DESCRIPTORUPDATEENTRYCOUNT, FLAGS, PDESCRIPTORUPDATEENTRIES, PIPELINEBINDPOINT, PIPELINELAYOUT, PNEXT, SET, SIZEOF, STYPE, TEMPLATETYPE
-
-
Constructor Summary
Constructors Constructor Description VkDescriptorUpdateTemplateCreateInfoKHR(java.nio.ByteBuffer container)Creates aVkDescriptorUpdateTemplateCreateInfoKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkDescriptorUpdateTemplateCreateInfoKHRcalloc()Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated withmemCalloc.static VkDescriptorUpdateTemplateCreateInfoKHR.Buffercalloc(int capacity)Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated withmemCalloc.static VkDescriptorUpdateTemplateCreateInfoKHRcallocStack()Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDescriptorUpdateTemplateCreateInfoKHR.BuffercallocStack(int capacity)Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkDescriptorUpdateTemplateCreateInfoKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDescriptorUpdateTemplateCreateInfoKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkDescriptorUpdateTemplateCreateInfoKHRcreate()Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated withBufferUtils.static VkDescriptorUpdateTemplateCreateInfoKHR.Buffercreate(int capacity)Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated withBufferUtils.static VkDescriptorUpdateTemplateCreateInfoKHRcreate(long address)Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance for the specified memory address.static VkDescriptorUpdateTemplateCreateInfoKHR.Buffercreate(long address, int capacity)Create aVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance at the specified memory.static VkDescriptorUpdateTemplateCreateInfoKHRcreateSafe(long address)static VkDescriptorUpdateTemplateCreateInfoKHR.BuffercreateSafe(long address, int capacity)VkDescriptorUpdateTemplateCreateInfoKHRdescriptorSetLayout(long value)Sets the specified value to thedescriptorSetLayoutfield.VkDescriptorUpdateTemplateCreateInfoKHRflags(int value)Sets the specified value to theflagsfield.static VkDescriptorUpdateTemplateCreateInfoKHRmalloc()Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated withmemAlloc.static VkDescriptorUpdateTemplateCreateInfoKHR.Buffermalloc(int capacity)Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated withmemAlloc.static VkDescriptorUpdateTemplateCreateInfoKHRmallocStack()Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated on the thread-localMemoryStack.static VkDescriptorUpdateTemplateCreateInfoKHR.BuffermallocStack(int capacity)Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkDescriptorUpdateTemplateCreateInfoKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkDescriptorUpdateTemplateCreateInfoKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated on the specifiedMemoryStack.VkDescriptorUpdateTemplateCreateInfoKHRpDescriptorUpdateEntries(VkDescriptorUpdateTemplateEntry.Buffer value)Sets the address of the specifiedVkDescriptorUpdateTemplateEntry.Bufferto thepDescriptorUpdateEntriesfield.VkDescriptorUpdateTemplateCreateInfoKHRpipelineBindPoint(int value)Sets the specified value to thepipelineBindPointfield.VkDescriptorUpdateTemplateCreateInfoKHRpipelineLayout(long value)Sets the specified value to thepipelineLayoutfield.VkDescriptorUpdateTemplateCreateInfoKHRpNext(long value)Sets the specified value to thepNextfield.VkDescriptorUpdateTemplateCreateInfoKHRset(int value)Sets the specified value to thesetfield.VkDescriptorUpdateTemplateCreateInfoKHRset(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.VkDescriptorUpdateTemplateCreateInfoKHRset(VkDescriptorUpdateTemplateCreateInfoKHR src)Copies the specified struct data to this struct.VkDescriptorUpdateTemplateCreateInfoKHRsType(int value)Sets the specified value to thesTypefield.VkDescriptorUpdateTemplateCreateInfoKHRtemplateType(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, validate, validate
-
-
-
-
Constructor Detail
-
VkDescriptorUpdateTemplateCreateInfoKHR
public VkDescriptorUpdateTemplateCreateInfoKHR(java.nio.ByteBuffer container)
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 Detail
-
sType
public VkDescriptorUpdateTemplateCreateInfoKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkDescriptorUpdateTemplateCreateInfo
-
pNext
public VkDescriptorUpdateTemplateCreateInfoKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkDescriptorUpdateTemplateCreateInfo
-
flags
public VkDescriptorUpdateTemplateCreateInfoKHR flags(int value)
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
public VkDescriptorUpdateTemplateCreateInfoKHR templateType(int value)
Sets the specified value to thetemplateTypefield.- Overrides:
templateTypein classVkDescriptorUpdateTemplateCreateInfo
-
descriptorSetLayout
public VkDescriptorUpdateTemplateCreateInfoKHR descriptorSetLayout(long value)
Sets the specified value to thedescriptorSetLayoutfield.- Overrides:
descriptorSetLayoutin classVkDescriptorUpdateTemplateCreateInfo
-
pipelineBindPoint
public VkDescriptorUpdateTemplateCreateInfoKHR pipelineBindPoint(int value)
Sets the specified value to thepipelineBindPointfield.- Overrides:
pipelineBindPointin classVkDescriptorUpdateTemplateCreateInfo
-
pipelineLayout
public VkDescriptorUpdateTemplateCreateInfoKHR pipelineLayout(long value)
Sets the specified value to thepipelineLayoutfield.- Overrides:
pipelineLayoutin classVkDescriptorUpdateTemplateCreateInfo
-
set
public VkDescriptorUpdateTemplateCreateInfoKHR set(int value)
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
public VkDescriptorUpdateTemplateCreateInfoKHR set(VkDescriptorUpdateTemplateCreateInfoKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkDescriptorUpdateTemplateCreateInfoKHR malloc()
Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkDescriptorUpdateTemplateCreateInfoKHR calloc()
Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkDescriptorUpdateTemplateCreateInfoKHR create()
Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated withBufferUtils.
-
create
public static VkDescriptorUpdateTemplateCreateInfoKHR create(long address)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkDescriptorUpdateTemplateCreateInfoKHR createSafe(long address)
-
malloc
public static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer malloc(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer calloc(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer create(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer create(long address, int capacity)
Create aVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkDescriptorUpdateTemplateCreateInfoKHR mallocStack()
Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkDescriptorUpdateTemplateCreateInfoKHR callocStack()
Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkDescriptorUpdateTemplateCreateInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkDescriptorUpdateTemplateCreateInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer mallocStack(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer callocStack(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-