Class VkPushDescriptorSetInfo
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.struct.VkPushDescriptorSetInfo
- All Implemented Interfaces:
Addressable
- Direct Known Subclasses:
VkPushDescriptorSetInfo.Buffer
public sealed class VkPushDescriptorSetInfo
extends GroupType
permits VkPushDescriptorSetInfo.Buffer
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;
};
-
Nested Class Summary
Nested Classes -
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) CreatesVkPushDescriptorSetInfo
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkPushDescriptorSetInfo
alloc
(SegmentAllocator allocator) Allocates aVkPushDescriptorSetInfo
with the given segment allocator.alloc
(SegmentAllocator allocator, long count) Allocates aVkPushDescriptorSetInfo
with the given segment allocator and count.asBuffer()
Converts this instance to a buffer.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.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.of
(MemorySegment segment) CreatesVkPushDescriptorSetInfo
with the given segment.static VkPushDescriptorSetInfo
ofNative
(MemorySegment segment) CreatesVkPushDescriptorSetInfo
with the given segment.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.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
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
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
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 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 segment
-
-
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
-
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
-
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
-