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;
VkDescriptorUpdateTemplateEntry
const * pDescriptorUpdateEntries; VkDescriptorUpdateTemplateType templateType; VkDescriptorSetLayout descriptorSetLayout; VkPipelineBindPoint pipelineBindPoint; VkPipelineLayout pipelineLayout; uint32_t set; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkDescriptorUpdateTemplateCreateInfoKHR.Buffer
An array ofVkDescriptorUpdateTemplateCreateInfoKHR
structs.
-
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 aVkDescriptorUpdateTemplateCreateInfoKHR
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkDescriptorUpdateTemplateCreateInfoKHR
calloc()
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR
instance allocated withmemCalloc
.static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer
calloc(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Buffer
instance allocated withmemCalloc
.static VkDescriptorUpdateTemplateCreateInfoKHR
callocStack()
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer
callocStack(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDescriptorUpdateTemplateCreateInfoKHR
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkDescriptorUpdateTemplateCreateInfoKHR
create()
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR
instance allocated withBufferUtils
.static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer
create(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Buffer
instance allocated withBufferUtils
.static VkDescriptorUpdateTemplateCreateInfoKHR
create(long address)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR
instance for the specified memory address.static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer
create(long address, int capacity)
Create aVkDescriptorUpdateTemplateCreateInfoKHR.Buffer
instance at the specified memory.static VkDescriptorUpdateTemplateCreateInfoKHR
createSafe(long address)
static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer
createSafe(long address, int capacity)
VkDescriptorUpdateTemplateCreateInfoKHR
descriptorSetLayout(long value)
Sets the specified value to thedescriptorSetLayout
field.VkDescriptorUpdateTemplateCreateInfoKHR
flags(int value)
Sets the specified value to theflags
field.static VkDescriptorUpdateTemplateCreateInfoKHR
malloc()
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR
instance allocated withmemAlloc
.static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer
malloc(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Buffer
instance allocated withmemAlloc
.static VkDescriptorUpdateTemplateCreateInfoKHR
mallocStack()
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR
instance allocated on the thread-localMemoryStack
.static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer
mallocStack(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
.static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkDescriptorUpdateTemplateCreateInfoKHR
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR
instance allocated on the specifiedMemoryStack
.VkDescriptorUpdateTemplateCreateInfoKHR
pDescriptorUpdateEntries(VkDescriptorUpdateTemplateEntry.Buffer value)
Sets the address of the specifiedVkDescriptorUpdateTemplateEntry.Buffer
to thepDescriptorUpdateEntries
field.VkDescriptorUpdateTemplateCreateInfoKHR
pipelineBindPoint(int value)
Sets the specified value to thepipelineBindPoint
field.VkDescriptorUpdateTemplateCreateInfoKHR
pipelineLayout(long value)
Sets the specified value to thepipelineLayout
field.VkDescriptorUpdateTemplateCreateInfoKHR
pNext(long value)
Sets the specified value to thepNext
field.VkDescriptorUpdateTemplateCreateInfoKHR
set(int value)
Sets the specified value to theset
field.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.VkDescriptorUpdateTemplateCreateInfoKHR
set(VkDescriptorUpdateTemplateCreateInfoKHR src)
Copies the specified struct data to this struct.VkDescriptorUpdateTemplateCreateInfoKHR
sType(int value)
Sets the specified value to thesType
field.VkDescriptorUpdateTemplateCreateInfoKHR
templateType(int value)
Sets the specified value to thetemplateType
field.-
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 aVkDescriptorUpdateTemplateCreateInfoKHR
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Detail
-
sType
public VkDescriptorUpdateTemplateCreateInfoKHR sType(int value)
Sets the specified value to thesType
field.- Overrides:
sType
in classVkDescriptorUpdateTemplateCreateInfo
-
pNext
public VkDescriptorUpdateTemplateCreateInfoKHR pNext(long value)
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkDescriptorUpdateTemplateCreateInfo
-
flags
public VkDescriptorUpdateTemplateCreateInfoKHR flags(int value)
Sets the specified value to theflags
field.- Overrides:
flags
in classVkDescriptorUpdateTemplateCreateInfo
-
pDescriptorUpdateEntries
public VkDescriptorUpdateTemplateCreateInfoKHR pDescriptorUpdateEntries(VkDescriptorUpdateTemplateEntry.Buffer value)
Sets the address of the specifiedVkDescriptorUpdateTemplateEntry.Buffer
to thepDescriptorUpdateEntries
field.- Overrides:
pDescriptorUpdateEntries
in classVkDescriptorUpdateTemplateCreateInfo
-
templateType
public VkDescriptorUpdateTemplateCreateInfoKHR templateType(int value)
Sets the specified value to thetemplateType
field.- Overrides:
templateType
in classVkDescriptorUpdateTemplateCreateInfo
-
descriptorSetLayout
public VkDescriptorUpdateTemplateCreateInfoKHR descriptorSetLayout(long value)
Sets the specified value to thedescriptorSetLayout
field.- Overrides:
descriptorSetLayout
in classVkDescriptorUpdateTemplateCreateInfo
-
pipelineBindPoint
public VkDescriptorUpdateTemplateCreateInfoKHR pipelineBindPoint(int value)
Sets the specified value to thepipelineBindPoint
field.- Overrides:
pipelineBindPoint
in classVkDescriptorUpdateTemplateCreateInfo
-
pipelineLayout
public VkDescriptorUpdateTemplateCreateInfoKHR pipelineLayout(long value)
Sets the specified value to thepipelineLayout
field.- Overrides:
pipelineLayout
in classVkDescriptorUpdateTemplateCreateInfo
-
set
public VkDescriptorUpdateTemplateCreateInfoKHR set(int value)
Sets the specified value to theset
field.- Overrides:
set
in 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:
set
in 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 newVkDescriptorUpdateTemplateCreateInfoKHR
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkDescriptorUpdateTemplateCreateInfoKHR calloc()
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkDescriptorUpdateTemplateCreateInfoKHR create()
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR
instance allocated withBufferUtils
.
-
create
public static VkDescriptorUpdateTemplateCreateInfoKHR create(long address)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkDescriptorUpdateTemplateCreateInfoKHR createSafe(long address)
-
malloc
public static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer malloc(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer calloc(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer create(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer create(long address, int capacity)
Create aVkDescriptorUpdateTemplateCreateInfoKHR.Buffer
instance 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 newVkDescriptorUpdateTemplateCreateInfoKHR
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkDescriptorUpdateTemplateCreateInfoKHR callocStack()
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkDescriptorUpdateTemplateCreateInfoKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkDescriptorUpdateTemplateCreateInfoKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR
instance allocated on the specifiedMemoryStack
and 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.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkDescriptorUpdateTemplateCreateInfoKHR.Buffer callocStack(int capacity)
Returns a newVkDescriptorUpdateTemplateCreateInfoKHR.Buffer
instance allocated on the thread-localMemoryStack
and 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.Buffer
instance 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.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
-