Package org.lwjgl.vulkan
Class VkBindDescriptorSetsInfoKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkBindDescriptorSetsInfo>
org.lwjgl.vulkan.VkBindDescriptorSetsInfo
org.lwjgl.vulkan.VkBindDescriptorSetsInfoKHR
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
struct VkBindDescriptorSetsInfoKHR {
VkStructureType sType;
void const * pNext;
VkShaderStageFlags stageFlags;
VkPipelineLayout layout;
uint32_t firstSet;
uint32_t descriptorSetCount;
VkDescriptorSet const * pDescriptorSets;
uint32_t dynamicOffsetCount;
uint32_t const * pDynamicOffsets;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from class org.lwjgl.vulkan.VkBindDescriptorSetsInfo
ALIGNOF, DESCRIPTORSETCOUNT, DYNAMICOFFSETCOUNT, FIRSTSET, LAYOUT, PDESCRIPTORSETS, PDYNAMICOFFSETS, PNEXT, SIZEOF, STAGEFLAGS, STYPE
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionVkBindDescriptorSetsInfoKHR
(ByteBuffer container) Creates aVkBindDescriptorSetsInfoKHR
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkBindDescriptorSetsInfoKHR
calloc()
Returns a newVkBindDescriptorSetsInfoKHR
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newVkBindDescriptorSetsInfoKHR.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newVkBindDescriptorSetsInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkBindDescriptorSetsInfoKHR
calloc
(MemoryStack stack) Returns a newVkBindDescriptorSetsInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkBindDescriptorSetsInfoKHR
create()
Returns a newVkBindDescriptorSetsInfoKHR
instance allocated withBufferUtils
.create
(int capacity) Returns a newVkBindDescriptorSetsInfoKHR.Buffer
instance allocated withBufferUtils
.static VkBindDescriptorSetsInfoKHR
create
(long address) Returns a newVkBindDescriptorSetsInfoKHR
instance for the specified memory address.create
(long address, int capacity) Create aVkBindDescriptorSetsInfoKHR.Buffer
instance at the specified memory.static @Nullable VkBindDescriptorSetsInfoKHR
createSafe
(long address) static @Nullable VkBindDescriptorSetsInfoKHR.Buffer
createSafe
(long address, int capacity) dynamicOffsetCount
(int value) Sets the specified value to thedynamicOffsetCount
field.firstSet
(int value) Sets the specified value to thefirstSet
field.layout
(long value) Sets the specified value to thelayout
field.static VkBindDescriptorSetsInfoKHR
malloc()
Returns a newVkBindDescriptorSetsInfoKHR
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newVkBindDescriptorSetsInfoKHR.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newVkBindDescriptorSetsInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkBindDescriptorSetsInfoKHR
malloc
(MemoryStack stack) Returns a newVkBindDescriptorSetsInfoKHR
instance allocated on the specifiedMemoryStack
.pDescriptorSets
(LongBuffer value) Sets the address of the specifiedLongBuffer
to thepDescriptorSets
field.pDynamicOffsets
(@Nullable IntBuffer value) Sets the address of the specifiedIntBuffer
to thepDynamicOffsets
field.pNext
(long value) Sets the specified value to thepNext
field.set
(int sType, long pNext, int stageFlags, long layout, int firstSet, LongBuffer pDescriptorSets, int dynamicOffsetCount, @Nullable IntBuffer pDynamicOffsets) Initializes this struct with the specified values.Copies the specified struct data to this struct.stageFlags
(int value) Sets the specified value to thestageFlags
field.sType
(int value) Sets the specified value to thesType
field.Sets theSTRUCTURE_TYPE_BIND_DESCRIPTOR_SETS_INFO
value to thesType
field.Methods inherited from class org.lwjgl.vulkan.VkBindDescriptorSetsInfo
descriptorSetCount, dynamicOffsetCount, firstSet, layout, ndescriptorSetCount, ndescriptorSetCount, ndynamicOffsetCount, ndynamicOffsetCount, nfirstSet, nfirstSet, nlayout, nlayout, npDescriptorSets, npDescriptorSets, npDynamicOffsets, npDynamicOffsets, npNext, npNext, nstageFlags, nstageFlags, nsType, nsType, pDescriptorSets, pDynamicOffsets, pNext, pNext, set, sizeof, stageFlags, sType, validate
Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
VkBindDescriptorSetsInfoKHR
Creates aVkBindDescriptorSetsInfoKHR
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 Details
-
sType
Sets the specified value to thesType
field.- Overrides:
sType
in classVkBindDescriptorSetsInfo
-
sType$Default
Sets theSTRUCTURE_TYPE_BIND_DESCRIPTOR_SETS_INFO
value to thesType
field.- Overrides:
sType$Default
in classVkBindDescriptorSetsInfo
-
pNext
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkBindDescriptorSetsInfo
-
stageFlags
Sets the specified value to thestageFlags
field.- Overrides:
stageFlags
in classVkBindDescriptorSetsInfo
-
layout
Sets the specified value to thelayout
field.- Overrides:
layout
in classVkBindDescriptorSetsInfo
-
firstSet
Sets the specified value to thefirstSet
field.- Overrides:
firstSet
in classVkBindDescriptorSetsInfo
-
pDescriptorSets
Sets the address of the specifiedLongBuffer
to thepDescriptorSets
field.- Overrides:
pDescriptorSets
in classVkBindDescriptorSetsInfo
-
dynamicOffsetCount
Sets the specified value to thedynamicOffsetCount
field.- Overrides:
dynamicOffsetCount
in classVkBindDescriptorSetsInfo
-
pDynamicOffsets
Sets the address of the specifiedIntBuffer
to thepDynamicOffsets
field.- Overrides:
pDynamicOffsets
in classVkBindDescriptorSetsInfo
-
set
public VkBindDescriptorSetsInfoKHR set(int sType, long pNext, int stageFlags, long layout, int firstSet, LongBuffer pDescriptorSets, int dynamicOffsetCount, @Nullable IntBuffer pDynamicOffsets) Initializes this struct with the specified values.- Overrides:
set
in classVkBindDescriptorSetsInfo
-
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newVkBindDescriptorSetsInfoKHR
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newVkBindDescriptorSetsInfoKHR
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newVkBindDescriptorSetsInfoKHR
instance allocated withBufferUtils
. -
create
Returns a newVkBindDescriptorSetsInfoKHR
instance for the specified memory address. -
createSafe
-
malloc
Returns a newVkBindDescriptorSetsInfoKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newVkBindDescriptorSetsInfoKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newVkBindDescriptorSetsInfoKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aVkBindDescriptorSetsInfoKHR.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newVkBindDescriptorSetsInfoKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newVkBindDescriptorSetsInfoKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newVkBindDescriptorSetsInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newVkBindDescriptorSetsInfoKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-