Class VkPushDescriptorSetInfo
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.struct.VkPushDescriptorSetInfo
- All Implemented Interfaces:
Addressable
Layout
struct VkPushDescriptorSetInfo {
(int) VkStructureType sType;
const void* pNext;
((uint32_t) VkFlags) VkShaderStageFlags stageFlags;
(uint64_t) VkPipelineLayout layout;
uint32_t set;
uint32_t descriptorWriteCount;
const VkWriteDescriptorSet* pDescriptorWrites;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupLayout
The struct layout ofVkPushDescriptorSetInfo
.static final MemoryLayout
The memory layout ofdescriptorWriteCount
.static final MemoryLayout
The memory layout oflayout
.static final MemoryLayout
The memory layout ofpDescriptorWrites
.static final MemoryLayout
The memory layout ofpNext
.static final MemoryLayout
The memory layout ofset
.static final MemoryLayout
The memory layout ofstageFlags
.static final MemoryLayout
The memory layout ofsType
.static final long
The byte offset ofdescriptorWriteCount
.static final long
The byte offset oflayout
.static final long
The byte offset ofpDescriptorWrites
.static final long
The byte offset ofpNext
.static final long
The byte offset ofset
.static final long
The byte offset ofstageFlags
.static final long
The byte offset ofsType
.static final VarHandle
TheVarHandle
ofdescriptorWriteCount
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
TheVarHandle
ofpDescriptorWrites
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
static final VarHandle
static final VarHandle
-
Constructor Summary
ConstructorsConstructorDescriptionVkPushDescriptorSetInfo
(MemorySegment segment, long elementCount) CreatesVkPushDescriptorSetInfo
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkPushDescriptorSetInfo
alloc
(SegmentAllocator allocator) Allocates aVkPushDescriptorSetInfo
with the given segment allocator.static VkPushDescriptorSetInfo
alloc
(SegmentAllocator allocator, long count) Allocates aVkPushDescriptorSetInfo
with the given segment allocator and count.asSlice
(long index) Creates a slice ofVkPushDescriptorSetInfo
.asSlice
(long index, long count) Creates a slice ofVkPushDescriptorSetInfo
.at
(long index, Consumer<VkPushDescriptorSetInfo> func) VisitsVkPushDescriptorSetInfo
buffer at the given index.Copies from the given source.int
ReturnsdescriptorWriteCount
.descriptorWriteCount
(int value) SetsdescriptorWriteCount
with the given value.static int
descriptorWriteCount
(MemorySegment segment, long index) ReturnsdescriptorWriteCount
at the given index.static void
descriptorWriteCount
(MemorySegment segment, long index, int value) SetsdescriptorWriteCount
with the given value at the given index.int
descriptorWriteCountAt
(long index) ReturnsdescriptorWriteCount
at the given index.descriptorWriteCountAt
(long index, int value) SetsdescriptorWriteCount
with the given value at the given index.long
layout()
Returnslayout
.layout
(long value) Setslayout
with the given value.static long
layout
(MemorySegment segment, long index) Returnslayout
at the given index.static void
layout
(MemorySegment segment, long index, long value) Setslayout
with the given value at the given index.long
layoutAt
(long index) Returnslayout
at the given index.layoutAt
(long index, long value) Setslayout
with the given value at the given index.static VkPushDescriptorSetInfo
of
(MemorySegment segment) CreatesVkPushDescriptorSetInfo
with the given segment.static VkPushDescriptorSetInfo
ofNative
(MemorySegment segment) CreatesVkPushDescriptorSetInfo
with the given segment.static VkPushDescriptorSetInfo
ofNative
(MemorySegment segment, long count) CreatesVkPushDescriptorSetInfo
with the given segment.ReturnspDescriptorWrites
.pDescriptorWrites
(MemorySegment value) SetspDescriptorWrites
with the given value.static MemorySegment
pDescriptorWrites
(MemorySegment segment, long index) ReturnspDescriptorWrites
at the given index.static void
pDescriptorWrites
(MemorySegment segment, long index, MemorySegment value) SetspDescriptorWrites
with the given value at the given index.pDescriptorWritesAt
(long index) ReturnspDescriptorWrites
at the given index.pDescriptorWritesAt
(long index, MemorySegment value) SetspDescriptorWrites
with the given value at the given index.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.pNextAt
(long index) ReturnspNext
at the given index.pNextAt
(long index, MemorySegment value) SetspNext
with the given value at the given index.reinterpret
(long count) Reinterprets this buffer with the given count.int
set()
Returnsset
.set
(int value) Setsset
with the given value.static int
set
(MemorySegment segment, long index) Returnsset
at the given index.static void
set
(MemorySegment segment, long index, int value) Setsset
with the given value at the given index.int
setAt
(long index) Returnsset
at the given index.setAt
(long index, int value) Setsset
with the given value at the given index.int
ReturnsstageFlags
.stageFlags
(int value) SetsstageFlags
with the given value.static int
stageFlags
(MemorySegment segment, long index) ReturnsstageFlags
at the given index.static void
stageFlags
(MemorySegment segment, long index, int value) SetsstageFlags
with the given value at the given index.int
stageFlagsAt
(long index) ReturnsstageFlags
at the given index.stageFlagsAt
(long index, int value) SetsstageFlags
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.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.struct.GroupType
estimateCount, estimateCount, groupLayout, segment
-
Field Details
-
LAYOUT
The struct layout ofVkPushDescriptorSetInfo
. -
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_stageFlags
public static final long OFFSET_stageFlagsThe byte offset ofstageFlags
. -
LAYOUT_stageFlags
The memory layout ofstageFlags
. -
VH_stageFlags
-
OFFSET_layout
public static final long OFFSET_layoutThe byte offset oflayout
. -
LAYOUT_layout
The memory layout oflayout
. -
VH_layout
-
OFFSET_set
public static final long OFFSET_setThe byte offset ofset
. -
LAYOUT_set
The memory layout ofset
. -
VH_set
-
OFFSET_descriptorWriteCount
public static final long OFFSET_descriptorWriteCountThe byte offset ofdescriptorWriteCount
. -
LAYOUT_descriptorWriteCount
The memory layout ofdescriptorWriteCount
. -
VH_descriptorWriteCount
-
OFFSET_pDescriptorWrites
public static final long OFFSET_pDescriptorWritesThe byte offset ofpDescriptorWrites
. -
LAYOUT_pDescriptorWrites
The memory layout ofpDescriptorWrites
. -
VH_pDescriptorWrites
-
-
Constructor Details
-
VkPushDescriptorSetInfo
CreatesVkPushDescriptorSetInfo
with the given segment.- Parameters:
segment
- the memory segmentelementCount
- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkPushDescriptorSetInfo
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkPushDescriptorSetInfo
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
VkPushDescriptorSetInfo
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 aVkPushDescriptorSetInfo
with the given segment allocator.- Parameters:
allocator
- the segment allocator- Returns:
- the allocated
VkPushDescriptorSetInfo
-
alloc
Allocates aVkPushDescriptorSetInfo
with the given segment allocator and count.- Parameters:
allocator
- the segment allocatorcount
- the count- Returns:
- the allocated
VkPushDescriptorSetInfo
-
copyFrom
Copies from the given source.- Parameters:
src
- the source- Returns:
this
-
reinterpret
Reinterprets this buffer with the given count.- Parameters:
count
- the new count- Returns:
- the reinterpreted 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
-
stageFlags
ReturnsstageFlags
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
stageFlags
at the given index
-
stageFlags
public int stageFlags()ReturnsstageFlags
.- Returns:
stageFlags
-
stageFlags
SetsstageFlags
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
stageFlags
SetsstageFlags
with the given value.- Parameters:
value
- the value- Returns:
this
-
layout
Returnslayout
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
layout
at the given index
-
layout
public long layout()Returnslayout
.- Returns:
layout
-
layout
Setslayout
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
layout
Setslayout
with the given value.- Parameters:
value
- the value- Returns:
this
-
set
Returnsset
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
set
at the given index
-
set
public int set()Returnsset
.- Returns:
set
-
set
Setsset
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
set
Setsset
with the given value.- Parameters:
value
- the value- Returns:
this
-
descriptorWriteCount
ReturnsdescriptorWriteCount
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
descriptorWriteCount
at the given index
-
descriptorWriteCount
public int descriptorWriteCount()ReturnsdescriptorWriteCount
.- Returns:
descriptorWriteCount
-
descriptorWriteCount
SetsdescriptorWriteCount
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
descriptorWriteCount
SetsdescriptorWriteCount
with the given value.- Parameters:
value
- the value- Returns:
this
-
pDescriptorWrites
ReturnspDescriptorWrites
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
pDescriptorWrites
at the given index
-
pDescriptorWrites
-
pDescriptorWrites
SetspDescriptorWrites
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
pDescriptorWrites
SetspDescriptorWrites
with the given value.- Parameters:
value
- the value- Returns:
this
-
asSlice
Creates a slice ofVkPushDescriptorSetInfo
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkPushDescriptorSetInfo
-
asSlice
Creates a slice ofVkPushDescriptorSetInfo
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkPushDescriptorSetInfo
-
at
VisitsVkPushDescriptorSetInfo
buffer at the given index.- Parameters:
index
- the index of this bufferfunc
- the function to run with the slice of this buffer- Returns:
this
-
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
-
stageFlagsAt
public int stageFlagsAt(long index) ReturnsstageFlags
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
stageFlags
at the given index
-
stageFlagsAt
SetsstageFlags
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
layoutAt
public long layoutAt(long index) Returnslayout
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
layout
at the given index
-
layoutAt
Setslayout
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
setAt
public int setAt(long index) Returnsset
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
set
at the given index
-
setAt
Setsset
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
descriptorWriteCountAt
public int descriptorWriteCountAt(long index) ReturnsdescriptorWriteCount
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
descriptorWriteCount
at the given index
-
descriptorWriteCountAt
SetsdescriptorWriteCount
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pDescriptorWritesAt
ReturnspDescriptorWrites
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pDescriptorWrites
at the given index
-
pDescriptorWritesAt
SetspDescriptorWrites
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-