Class VkCopyDescriptorSet
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.struct.VkCopyDescriptorSet
- All Implemented Interfaces:
Addressable
- Direct Known Subclasses:
VkCopyDescriptorSet.Buffer
Layout
struct VkCopyDescriptorSet {
(int) VkStructureType sType;
const void* pNext;
(uint64_t) VkDescriptorSet srcSet;
uint32_t srcBinding;
uint32_t srcArrayElement;
(uint64_t) VkDescriptorSet dstSet;
uint32_t dstBinding;
uint32_t dstArrayElement;
uint32_t descriptorCount;
};
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupLayout
The struct layout ofVkCopyDescriptorSet
.static final MemoryLayout
The memory layout ofdescriptorCount
.static final MemoryLayout
The memory layout ofdstArrayElement
.static final MemoryLayout
The memory layout ofdstBinding
.static final MemoryLayout
The memory layout ofdstSet
.static final MemoryLayout
The memory layout ofpNext
.static final MemoryLayout
The memory layout ofsrcArrayElement
.static final MemoryLayout
The memory layout ofsrcBinding
.static final MemoryLayout
The memory layout ofsrcSet
.static final MemoryLayout
The memory layout ofsType
.static final long
The byte offset ofdescriptorCount
.static final long
The byte offset ofdstArrayElement
.static final long
The byte offset ofdstBinding
.static final long
The byte offset ofdstSet
.static final long
The byte offset ofpNext
.static final long
The byte offset ofsrcArrayElement
.static final long
The byte offset ofsrcBinding
.static final long
The byte offset ofsrcSet
.static final long
The byte offset ofsType
.static final VarHandle
TheVarHandle
ofdescriptorCount
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofdstArrayElement
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
static final VarHandle
static final VarHandle
TheVarHandle
ofsrcArrayElement
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
static final VarHandle
-
Constructor Summary
ConstructorsConstructorDescriptionVkCopyDescriptorSet
(MemorySegment segment) CreatesVkCopyDescriptorSet
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkCopyDescriptorSet
alloc
(SegmentAllocator allocator) Allocates aVkCopyDescriptorSet
with the given segment allocator.static VkCopyDescriptorSet.Buffer
alloc
(SegmentAllocator allocator, long count) Allocates aVkCopyDescriptorSet
with the given segment allocator and count.asBuffer()
Converts this instance to a buffer.Copies from the given source.int
ReturnsdescriptorCount
.descriptorCount
(int value) SetsdescriptorCount
with the given value.static int
descriptorCount
(MemorySegment segment, long index) ReturnsdescriptorCount
at the given index.static void
descriptorCount
(MemorySegment segment, long index, int value) SetsdescriptorCount
with the given value at the given index.int
ReturnsdstArrayElement
.dstArrayElement
(int value) SetsdstArrayElement
with the given value.static int
dstArrayElement
(MemorySegment segment, long index) ReturnsdstArrayElement
at the given index.static void
dstArrayElement
(MemorySegment segment, long index, int value) SetsdstArrayElement
with the given value at the given index.int
ReturnsdstBinding
.dstBinding
(int value) SetsdstBinding
with the given value.static int
dstBinding
(MemorySegment segment, long index) ReturnsdstBinding
at the given index.static void
dstBinding
(MemorySegment segment, long index, int value) SetsdstBinding
with the given value at the given index.long
dstSet()
ReturnsdstSet
.dstSet
(long value) SetsdstSet
with the given value.static long
dstSet
(MemorySegment segment, long index) ReturnsdstSet
at the given index.static void
dstSet
(MemorySegment segment, long index, long value) SetsdstSet
with the given value at the given index.static VkCopyDescriptorSet.Buffer
of
(MemorySegment segment) CreatesVkCopyDescriptorSet
with the given segment.static VkCopyDescriptorSet
ofNative
(MemorySegment segment) CreatesVkCopyDescriptorSet
with the given segment.static VkCopyDescriptorSet.Buffer
ofNative
(MemorySegment segment, long count) CreatesVkCopyDescriptorSet
with the given segment.pNext()
ReturnspNext
.pNext
(MemorySegment value) SetspNext
with the given value.static MemorySegment
pNext
(MemorySegment segment, long index) ReturnspNext
at the given index.static void
pNext
(MemorySegment segment, long index, MemorySegment value) SetspNext
with the given value at the given index.int
ReturnssrcArrayElement
.srcArrayElement
(int value) SetssrcArrayElement
with the given value.static int
srcArrayElement
(MemorySegment segment, long index) ReturnssrcArrayElement
at the given index.static void
srcArrayElement
(MemorySegment segment, long index, int value) SetssrcArrayElement
with the given value at the given index.int
ReturnssrcBinding
.srcBinding
(int value) SetssrcBinding
with the given value.static int
srcBinding
(MemorySegment segment, long index) ReturnssrcBinding
at the given index.static void
srcBinding
(MemorySegment segment, long index, int value) SetssrcBinding
with the given value at the given index.long
srcSet()
ReturnssrcSet
.srcSet
(long value) SetssrcSet
with the given value.static long
srcSet
(MemorySegment segment, long index) ReturnssrcSet
at the given index.static void
srcSet
(MemorySegment segment, long index, long value) SetssrcSet
with the given value at the given index.int
sType()
ReturnssType
.sType
(int value) SetssType
with the given value.static int
sType
(MemorySegment segment, long index) ReturnssType
at the given index.static void
sType
(MemorySegment segment, long index, int value) SetssType
with the given value at the given index.Methods inherited from class overrungl.struct.GroupType
estimateCount, estimateCount, groupLayout, segment
-
Field Details
-
LAYOUT
The struct layout ofVkCopyDescriptorSet
. -
OFFSET_sType
public static final long OFFSET_sTypeThe byte offset ofsType
. -
LAYOUT_sType
The memory layout ofsType
. -
VH_sType
-
OFFSET_pNext
public static final long OFFSET_pNextThe byte offset ofpNext
. -
LAYOUT_pNext
The memory layout ofpNext
. -
VH_pNext
-
OFFSET_srcSet
public static final long OFFSET_srcSetThe byte offset ofsrcSet
. -
LAYOUT_srcSet
The memory layout ofsrcSet
. -
VH_srcSet
-
OFFSET_srcBinding
public static final long OFFSET_srcBindingThe byte offset ofsrcBinding
. -
LAYOUT_srcBinding
The memory layout ofsrcBinding
. -
VH_srcBinding
-
OFFSET_srcArrayElement
public static final long OFFSET_srcArrayElementThe byte offset ofsrcArrayElement
. -
LAYOUT_srcArrayElement
The memory layout ofsrcArrayElement
. -
VH_srcArrayElement
-
OFFSET_dstSet
public static final long OFFSET_dstSetThe byte offset ofdstSet
. -
LAYOUT_dstSet
The memory layout ofdstSet
. -
VH_dstSet
-
OFFSET_dstBinding
public static final long OFFSET_dstBindingThe byte offset ofdstBinding
. -
LAYOUT_dstBinding
The memory layout ofdstBinding
. -
VH_dstBinding
-
OFFSET_dstArrayElement
public static final long OFFSET_dstArrayElementThe byte offset ofdstArrayElement
. -
LAYOUT_dstArrayElement
The memory layout ofdstArrayElement
. -
VH_dstArrayElement
-
OFFSET_descriptorCount
public static final long OFFSET_descriptorCountThe byte offset ofdescriptorCount
. -
LAYOUT_descriptorCount
The memory layout ofdescriptorCount
. -
VH_descriptorCount
-
-
Constructor Details
-
VkCopyDescriptorSet
CreatesVkCopyDescriptorSet
with the given segment.- Parameters:
segment
- the memory segment
-
-
Method Details
-
of
CreatesVkCopyDescriptorSet
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkCopyDescriptorSet
with the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkCopyDescriptorSet
with the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment
- the memory segmentcount
- the count of the buffer- Returns:
- the created instance or
null
if the segment isNULL
-
alloc
Allocates aVkCopyDescriptorSet
with the given segment allocator.- Parameters:
allocator
- the segment allocator- Returns:
- the allocated
VkCopyDescriptorSet
-
alloc
Allocates aVkCopyDescriptorSet
with the given segment allocator and count.- Parameters:
allocator
- the segment allocatorcount
- the count- Returns:
- the allocated
VkCopyDescriptorSet
-
copyFrom
Copies from the given source.- Parameters:
src
- the source- Returns:
this
-
asBuffer
Converts this instance to a buffer.- Returns:
- the buffer
-
sType
ReturnssType
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
sType
at the given index
-
sType
public int sType()ReturnssType
.- Returns:
sType
-
sType
SetssType
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
sType
SetssType
with the given value.- Parameters:
value
- the value- Returns:
this
-
pNext
ReturnspNext
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
pNext
at the given index
-
pNext
-
pNext
SetspNext
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
pNext
SetspNext
with the given value.- Parameters:
value
- the value- Returns:
this
-
srcSet
ReturnssrcSet
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
srcSet
at the given index
-
srcSet
public long srcSet()ReturnssrcSet
.- Returns:
srcSet
-
srcSet
SetssrcSet
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
srcSet
SetssrcSet
with the given value.- Parameters:
value
- the value- Returns:
this
-
srcBinding
ReturnssrcBinding
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
srcBinding
at the given index
-
srcBinding
public int srcBinding()ReturnssrcBinding
.- Returns:
srcBinding
-
srcBinding
SetssrcBinding
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
srcBinding
SetssrcBinding
with the given value.- Parameters:
value
- the value- Returns:
this
-
srcArrayElement
ReturnssrcArrayElement
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
srcArrayElement
at the given index
-
srcArrayElement
public int srcArrayElement()ReturnssrcArrayElement
.- Returns:
srcArrayElement
-
srcArrayElement
SetssrcArrayElement
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
srcArrayElement
SetssrcArrayElement
with the given value.- Parameters:
value
- the value- Returns:
this
-
dstSet
ReturnsdstSet
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
dstSet
at the given index
-
dstSet
public long dstSet()ReturnsdstSet
.- Returns:
dstSet
-
dstSet
SetsdstSet
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
dstSet
SetsdstSet
with the given value.- Parameters:
value
- the value- Returns:
this
-
dstBinding
ReturnsdstBinding
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
dstBinding
at the given index
-
dstBinding
public int dstBinding()ReturnsdstBinding
.- Returns:
dstBinding
-
dstBinding
SetsdstBinding
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
dstBinding
SetsdstBinding
with the given value.- Parameters:
value
- the value- Returns:
this
-
dstArrayElement
ReturnsdstArrayElement
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
dstArrayElement
at the given index
-
dstArrayElement
public int dstArrayElement()ReturnsdstArrayElement
.- Returns:
dstArrayElement
-
dstArrayElement
SetsdstArrayElement
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
dstArrayElement
SetsdstArrayElement
with the given value.- Parameters:
value
- the value- Returns:
this
-
descriptorCount
ReturnsdescriptorCount
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
descriptorCount
at the given index
-
descriptorCount
public int descriptorCount()ReturnsdescriptorCount
.- Returns:
descriptorCount
-
descriptorCount
SetsdescriptorCount
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
descriptorCount
SetsdescriptorCount
with the given value.- Parameters:
value
- the value- Returns:
this
-