Class VkSubpassDescriptionDepthStencilResolve
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.struct.VkSubpassDescriptionDepthStencilResolve
- All Implemented Interfaces:
Addressable
- Direct Known Subclasses:
VkSubpassDescriptionDepthStencilResolve.Buffer
public sealed class VkSubpassDescriptionDepthStencilResolve
extends GroupType
permits VkSubpassDescriptionDepthStencilResolve.Buffer
Layout
struct VkSubpassDescriptionDepthStencilResolve {
(int) VkStructureType sType;
const void* pNext;
(int) VkResolveModeFlagBits depthResolveMode;
(int) VkResolveModeFlagBits stencilResolveMode;
const VkAttachmentReference2* pDepthStencilResolveAttachment;
};
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A buffer ofVkSubpassDescriptionDepthStencilResolve
. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupLayout
The struct layout ofVkSubpassDescriptionDepthStencilResolve
.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
ConstructorsConstructorDescriptionCreatesVkSubpassDescriptionDepthStencilResolve
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionalloc
(SegmentAllocator allocator) Allocates aVkSubpassDescriptionDepthStencilResolve
with the given segment allocator.alloc
(SegmentAllocator allocator, long count) Allocates aVkSubpassDescriptionDepthStencilResolve
with the given segment allocator and count.asBuffer()
Converts this instance to a buffer.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.of
(MemorySegment segment) CreatesVkSubpassDescriptionDepthStencilResolve
with the given segment.ofNative
(MemorySegment segment) CreatesVkSubpassDescriptionDepthStencilResolve
with the given segment.ofNative
(MemorySegment segment, long count) CreatesVkSubpassDescriptionDepthStencilResolve
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.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
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
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 ofVkSubpassDescriptionDepthStencilResolve
. -
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
-
VkSubpassDescriptionDepthStencilResolve
CreatesVkSubpassDescriptionDepthStencilResolve
with the given segment.- Parameters:
segment
- the memory segment
-
-
Method Details
-
of
CreatesVkSubpassDescriptionDepthStencilResolve
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkSubpassDescriptionDepthStencilResolve
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 VkSubpassDescriptionDepthStencilResolve.Buffer ofNative(MemorySegment segment, long count) Creates
VkSubpassDescriptionDepthStencilResolve
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 aVkSubpassDescriptionDepthStencilResolve
with the given segment allocator.- Parameters:
allocator
- the segment allocator- Returns:
- the allocated
VkSubpassDescriptionDepthStencilResolve
-
alloc
public static VkSubpassDescriptionDepthStencilResolve.Buffer alloc(SegmentAllocator allocator, long count) Allocates aVkSubpassDescriptionDepthStencilResolve
with the given segment allocator and count.- Parameters:
allocator
- the segment allocatorcount
- the count- Returns:
- the allocated
VkSubpassDescriptionDepthStencilResolve
-
copyFrom
public VkSubpassDescriptionDepthStencilResolve copyFrom(VkSubpassDescriptionDepthStencilResolve src) 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
-
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
SetspDepthStencilResolveAttachment
with the given value.- Parameters:
value
- the value- Returns:
this
-