Class VkCopyDescriptorSet.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.struct.VkCopyDescriptorSet
overrungl.vulkan.struct.VkCopyDescriptorSet.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
VkCopyDescriptorSet
A buffer of
VkCopyDescriptorSet
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.struct.VkCopyDescriptorSet
VkCopyDescriptorSet.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.struct.VkCopyDescriptorSet
LAYOUT, LAYOUT_descriptorCount, LAYOUT_dstArrayElement, LAYOUT_dstBinding, LAYOUT_dstSet, LAYOUT_pNext, LAYOUT_srcArrayElement, LAYOUT_srcBinding, LAYOUT_srcSet, LAYOUT_sType, OFFSET_descriptorCount, OFFSET_dstArrayElement, OFFSET_dstBinding, OFFSET_dstSet, OFFSET_pNext, OFFSET_srcArrayElement, OFFSET_srcBinding, OFFSET_srcSet, OFFSET_sType, VH_descriptorCount, VH_dstArrayElement, VH_dstBinding, VH_dstSet, VH_pNext, VH_srcArrayElement, VH_srcBinding, VH_srcSet, VH_sType
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesVkCopyDescriptorSet.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofVkCopyDescriptorSet
.asSlice
(long index, long count) Creates a slice ofVkCopyDescriptorSet
.int
descriptorCountAt
(long index) ReturnsdescriptorCount
at the given index.descriptorCountAt
(long index, int value) SetsdescriptorCount
with the given value at the given index.int
dstArrayElementAt
(long index) ReturnsdstArrayElement
at the given index.dstArrayElementAt
(long index, int value) SetsdstArrayElement
with the given value at the given index.int
dstBindingAt
(long index) ReturnsdstBinding
at the given index.dstBindingAt
(long index, int value) SetsdstBinding
with the given value at the given index.long
dstSetAt
(long index) ReturnsdstSet
at the given index.dstSetAt
(long index, long value) SetsdstSet
with the given value at the given index.long
Estimates the element count of this group type buffer.pNextAt
(long index) ReturnspNext
at the given index.pNextAt
(long index, MemorySegment value) SetspNext
with the given value at the given index.int
srcArrayElementAt
(long index) ReturnssrcArrayElement
at the given index.srcArrayElementAt
(long index, int value) SetssrcArrayElement
with the given value at the given index.int
srcBindingAt
(long index) ReturnssrcBinding
at the given index.srcBindingAt
(long index, int value) SetssrcBinding
with the given value at the given index.long
srcSetAt
(long index) ReturnssrcSet
at the given index.srcSetAt
(long index, long value) SetssrcSet
with the given value at the given index.int
sTypeAt
(long index) ReturnssType
at the given index.sTypeAt
(long index, int value) SetssType
with the given value at the given index.Methods inherited from class overrungl.vulkan.struct.VkCopyDescriptorSet
alloc, alloc, asBuffer, copyFrom, descriptorCount, descriptorCount, descriptorCount, descriptorCount, dstArrayElement, dstArrayElement, dstArrayElement, dstArrayElement, dstBinding, dstBinding, dstBinding, dstBinding, dstSet, dstSet, dstSet, dstSet, of, ofNative, ofNative, pNext, pNext, pNext, pNext, srcArrayElement, srcArrayElement, srcArrayElement, srcArrayElement, srcBinding, srcBinding, srcBinding, srcBinding, srcSet, srcSet, srcSet, srcSet, sType, sType, sType, sType
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesVkCopyDescriptorSet.Buffer
with the given segment.- Parameters:
segment
- the memory segmentelementCount
- the element count
-
-
Method Details
-
estimateCount
public long estimateCount()Description copied from class:GroupType
Estimates the element count of this group type buffer.- Overrides:
estimateCount
in classGroupType
- Returns:
- the estimated element count of the group type buffer
-
asSlice
Creates a slice ofVkCopyDescriptorSet
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkCopyDescriptorSet
-
asSlice
Creates a slice ofVkCopyDescriptorSet
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkCopyDescriptorSet
-
sTypeAt
public int sTypeAt(long index) ReturnssType
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
sType
at the given index
-
sTypeAt
SetssType
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pNextAt
ReturnspNext
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pNext
at the given index
-
pNextAt
SetspNext
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
srcSetAt
public long srcSetAt(long index) ReturnssrcSet
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
srcSet
at the given index
-
srcSetAt
SetssrcSet
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
srcBindingAt
public int srcBindingAt(long index) ReturnssrcBinding
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
srcBinding
at the given index
-
srcBindingAt
SetssrcBinding
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
srcArrayElementAt
public int srcArrayElementAt(long index) ReturnssrcArrayElement
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
srcArrayElement
at the given index
-
srcArrayElementAt
SetssrcArrayElement
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
dstSetAt
public long dstSetAt(long index) ReturnsdstSet
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
dstSet
at the given index
-
dstSetAt
SetsdstSet
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
dstBindingAt
public int dstBindingAt(long index) ReturnsdstBinding
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
dstBinding
at the given index
-
dstBindingAt
SetsdstBinding
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
dstArrayElementAt
public int dstArrayElementAt(long index) ReturnsdstArrayElement
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
dstArrayElement
at the given index
-
dstArrayElementAt
SetsdstArrayElement
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
descriptorCountAt
public int descriptorCountAt(long index) ReturnsdescriptorCount
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
descriptorCount
at the given index
-
descriptorCountAt
SetsdescriptorCount
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-