Class VkSubpassDescriptionDepthStencilResolveKHR
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkSubpassDescriptionDepthStencilResolveKHR
- All Implemented Interfaces:
Addressable
Layout
struct VkSubpassDescriptionDepthStencilResolveKHR {
(int) VkStructureType sType;
const void* pNext;
(int) VkResolveModeFlagBits depthResolveMode;
(int) VkResolveModeFlagBits stencilResolveMode;
const VkAttachmentReference2* pDepthStencilResolveAttachment;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupLayout
The struct layout ofVkSubpassDescriptionDepthStencilResolveKHR
.static final MemoryLayout
The memory layout ofdepthResolveMode
.static final MemoryLayout
The memory layout ofpDepthStencilResolveAttachment
.static final MemoryLayout
The memory layout ofpNext
.static final MemoryLayout
The memory layout ofstencilResolveMode
.static final MemoryLayout
The memory layout ofsType
.static final long
The byte offset ofdepthResolveMode
.static final long
The byte offset ofpDepthStencilResolveAttachment
.static final long
The byte offset ofpNext
.static final long
The byte offset ofstencilResolveMode
.static final long
The byte offset ofsType
.static final VarHandle
TheVarHandle
ofdepthResolveMode
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
TheVarHandle
ofpDepthStencilResolveAttachment
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
static final VarHandle
TheVarHandle
ofstencilResolveMode
of type(MemorySegment base, long baseOffset, long index)MemorySegment
.static final VarHandle
-
Constructor Summary
ConstructorsConstructorDescriptionVkSubpassDescriptionDepthStencilResolveKHR
(MemorySegment segment, long elementCount) CreatesVkSubpassDescriptionDepthStencilResolveKHR
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionalloc
(SegmentAllocator allocator) Allocates aVkSubpassDescriptionDepthStencilResolveKHR
with the given segment allocator.alloc
(SegmentAllocator allocator, long count) Allocates aVkSubpassDescriptionDepthStencilResolveKHR
with the given segment allocator and count.asSlice
(long index) Creates a slice ofVkSubpassDescriptionDepthStencilResolveKHR
.asSlice
(long index, long count) Creates a slice ofVkSubpassDescriptionDepthStencilResolveKHR
.at
(long index, Consumer<VkSubpassDescriptionDepthStencilResolveKHR> func) VisitsVkSubpassDescriptionDepthStencilResolveKHR
buffer at the given index.Copies from the given source.int
ReturnsdepthResolveMode
.depthResolveMode
(int value) SetsdepthResolveMode
with the given value.static int
depthResolveMode
(MemorySegment segment, long index) ReturnsdepthResolveMode
at the given index.static void
depthResolveMode
(MemorySegment segment, long index, int value) SetsdepthResolveMode
with the given value at the given index.int
depthResolveModeAt
(long index) ReturnsdepthResolveMode
at the given index.depthResolveModeAt
(long index, int value) SetsdepthResolveMode
with the given value at the given index.of
(MemorySegment segment) CreatesVkSubpassDescriptionDepthStencilResolveKHR
with the given segment.ofNative
(MemorySegment segment) CreatesVkSubpassDescriptionDepthStencilResolveKHR
with the given segment.ofNative
(MemorySegment segment, long count) CreatesVkSubpassDescriptionDepthStencilResolveKHR
with the given segment.ReturnspDepthStencilResolveAttachment
.SetspDepthStencilResolveAttachment
with the given value.static MemorySegment
pDepthStencilResolveAttachment
(MemorySegment segment, long index) ReturnspDepthStencilResolveAttachment
at the given index.static void
pDepthStencilResolveAttachment
(MemorySegment segment, long index, MemorySegment value) SetspDepthStencilResolveAttachment
with the given value at the given index.pDepthStencilResolveAttachmentAt
(long index) ReturnspDepthStencilResolveAttachment
at the given index.pDepthStencilResolveAttachmentAt
(long index, MemorySegment value) SetspDepthStencilResolveAttachment
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
ReturnsstencilResolveMode
.stencilResolveMode
(int value) SetsstencilResolveMode
with the given value.static int
stencilResolveMode
(MemorySegment segment, long index) ReturnsstencilResolveMode
at the given index.static void
stencilResolveMode
(MemorySegment segment, long index, int value) SetsstencilResolveMode
with the given value at the given index.int
stencilResolveModeAt
(long index) ReturnsstencilResolveMode
at the given index.stencilResolveModeAt
(long index, int value) SetsstencilResolveMode
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 ofVkSubpassDescriptionDepthStencilResolveKHR
. -
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_depthResolveMode
public static final long OFFSET_depthResolveModeThe byte offset ofdepthResolveMode
. -
LAYOUT_depthResolveMode
The memory layout ofdepthResolveMode
. -
VH_depthResolveMode
-
OFFSET_stencilResolveMode
public static final long OFFSET_stencilResolveModeThe byte offset ofstencilResolveMode
. -
LAYOUT_stencilResolveMode
The memory layout ofstencilResolveMode
. -
VH_stencilResolveMode
-
OFFSET_pDepthStencilResolveAttachment
public static final long OFFSET_pDepthStencilResolveAttachmentThe byte offset ofpDepthStencilResolveAttachment
. -
LAYOUT_pDepthStencilResolveAttachment
The memory layout ofpDepthStencilResolveAttachment
. -
VH_pDepthStencilResolveAttachment
-
-
Constructor Details
-
VkSubpassDescriptionDepthStencilResolveKHR
CreatesVkSubpassDescriptionDepthStencilResolveKHR
with the given segment.- Parameters:
segment
- the memory segmentelementCount
- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkSubpassDescriptionDepthStencilResolveKHR
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkSubpassDescriptionDepthStencilResolveKHR
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
public static VkSubpassDescriptionDepthStencilResolveKHR ofNative(MemorySegment segment, long count) Creates
VkSubpassDescriptionDepthStencilResolveKHR
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 aVkSubpassDescriptionDepthStencilResolveKHR
with the given segment allocator.- Parameters:
allocator
- the segment allocator- Returns:
- the allocated
VkSubpassDescriptionDepthStencilResolveKHR
-
alloc
public static VkSubpassDescriptionDepthStencilResolveKHR alloc(SegmentAllocator allocator, long count) Allocates aVkSubpassDescriptionDepthStencilResolveKHR
with the given segment allocator and count.- Parameters:
allocator
- the segment allocatorcount
- the count- Returns:
- the allocated
VkSubpassDescriptionDepthStencilResolveKHR
-
copyFrom
public VkSubpassDescriptionDepthStencilResolveKHR copyFrom(VkSubpassDescriptionDepthStencilResolveKHR src) 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
-
depthResolveMode
ReturnsdepthResolveMode
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
depthResolveMode
at the given index
-
depthResolveMode
public int depthResolveMode()ReturnsdepthResolveMode
.- Returns:
depthResolveMode
-
depthResolveMode
SetsdepthResolveMode
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
depthResolveMode
SetsdepthResolveMode
with the given value.- Parameters:
value
- the value- Returns:
this
-
stencilResolveMode
ReturnsstencilResolveMode
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
stencilResolveMode
at the given index
-
stencilResolveMode
public int stencilResolveMode()ReturnsstencilResolveMode
.- Returns:
stencilResolveMode
-
stencilResolveMode
SetsstencilResolveMode
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
stencilResolveMode
SetsstencilResolveMode
with the given value.- Parameters:
value
- the value- Returns:
this
-
pDepthStencilResolveAttachment
ReturnspDepthStencilResolveAttachment
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
pDepthStencilResolveAttachment
at the given index
-
pDepthStencilResolveAttachment
ReturnspDepthStencilResolveAttachment
.- Returns:
pDepthStencilResolveAttachment
-
pDepthStencilResolveAttachment
public static void pDepthStencilResolveAttachment(MemorySegment segment, long index, MemorySegment value) SetspDepthStencilResolveAttachment
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
pDepthStencilResolveAttachment
public VkSubpassDescriptionDepthStencilResolveKHR pDepthStencilResolveAttachment(MemorySegment value) SetspDepthStencilResolveAttachment
with the given value.- Parameters:
value
- the value- Returns:
this
-
asSlice
Creates a slice ofVkSubpassDescriptionDepthStencilResolveKHR
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkSubpassDescriptionDepthStencilResolveKHR
-
asSlice
Creates a slice ofVkSubpassDescriptionDepthStencilResolveKHR
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkSubpassDescriptionDepthStencilResolveKHR
-
at
public VkSubpassDescriptionDepthStencilResolveKHR at(long index, Consumer<VkSubpassDescriptionDepthStencilResolveKHR> func) VisitsVkSubpassDescriptionDepthStencilResolveKHR
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
-
depthResolveModeAt
public int depthResolveModeAt(long index) ReturnsdepthResolveMode
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
depthResolveMode
at the given index
-
depthResolveModeAt
SetsdepthResolveMode
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
stencilResolveModeAt
public int stencilResolveModeAt(long index) ReturnsstencilResolveMode
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
stencilResolveMode
at the given index
-
stencilResolveModeAt
SetsstencilResolveMode
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
pDepthStencilResolveAttachmentAt
ReturnspDepthStencilResolveAttachment
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
pDepthStencilResolveAttachment
at the given index
-
pDepthStencilResolveAttachmentAt
public VkSubpassDescriptionDepthStencilResolveKHR pDepthStencilResolveAttachmentAt(long index, MemorySegment value) SetspDepthStencilResolveAttachment
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-