- Description
- Nested Class Summary
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- LAYOUT
- BYTES
- PATH$sType
- PATH$pNext
- PATH$flags
- PATH$pipelineBindPoint
- PATH$viewMask
- PATH$inputAttachmentCount
- PATH$pInputAttachments
- PATH$colorAttachmentCount
- PATH$pColorAttachments
- PATH$pResolveAttachments
- PATH$pDepthStencilAttachment
- PATH$preserveAttachmentCount
- PATH$pPreserveAttachments
- LAYOUT$sType
- LAYOUT$pNext
- LAYOUT$flags
- LAYOUT$pipelineBindPoint
- LAYOUT$viewMask
- LAYOUT$inputAttachmentCount
- LAYOUT$pInputAttachments
- LAYOUT$colorAttachmentCount
- LAYOUT$pColorAttachments
- LAYOUT$pResolveAttachments
- LAYOUT$pDepthStencilAttachment
- LAYOUT$preserveAttachmentCount
- LAYOUT$pPreserveAttachments
- SIZE$sType
- SIZE$pNext
- SIZE$flags
- SIZE$pipelineBindPoint
- SIZE$viewMask
- SIZE$inputAttachmentCount
- SIZE$pInputAttachments
- SIZE$colorAttachmentCount
- SIZE$pColorAttachments
- SIZE$pResolveAttachments
- SIZE$pDepthStencilAttachment
- SIZE$preserveAttachmentCount
- SIZE$pPreserveAttachments
- OFFSET$sType
- OFFSET$pNext
- OFFSET$flags
- OFFSET$pipelineBindPoint
- OFFSET$viewMask
- OFFSET$inputAttachmentCount
- OFFSET$pInputAttachments
- OFFSET$colorAttachmentCount
- OFFSET$pColorAttachments
- OFFSET$pResolveAttachments
- OFFSET$pDepthStencilAttachment
- OFFSET$preserveAttachmentCount
- OFFSET$pPreserveAttachments
- Constructor Details
- Method Details
- allocate(Arena)
- allocate(Arena, long)
- clone(Arena, VkSubpassDescription2)
- autoInit()
- sType()
- sType(int)
- pNext()
- pNext(MemorySegment)
- pNext(IPointer)
- flags()
- flags(int)
- pipelineBindPoint()
- pipelineBindPoint(int)
- viewMask()
- viewMask(int)
- inputAttachmentCount()
- inputAttachmentCount(int)
- pInputAttachments(IVkAttachmentReference2)
- pInputAttachments(int)
- pInputAttachments()
- pInputAttachmentsRaw()
- pInputAttachmentsRaw(MemorySegment)
- colorAttachmentCount()
- colorAttachmentCount(int)
- pColorAttachments(IVkAttachmentReference2)
- pColorAttachments(int)
- pColorAttachments()
- pColorAttachmentsRaw()
- pColorAttachmentsRaw(MemorySegment)
- pResolveAttachments(IVkAttachmentReference2)
- pResolveAttachments(int)
- pResolveAttachments()
- pResolveAttachmentsRaw()
- pResolveAttachmentsRaw(MemorySegment)
- pDepthStencilAttachment(IVkAttachmentReference2)
- pDepthStencilAttachment(int)
- pDepthStencilAttachment()
- pDepthStencilAttachmentRaw()
- pDepthStencilAttachmentRaw(MemorySegment)
- preserveAttachmentCount()
- preserveAttachmentCount(int)
- pPreserveAttachments()
- pPreserveAttachments(IntPtr)
- pPreserveAttachmentsRaw()
- pPreserveAttachmentsRaw(MemorySegment)
- toString()
- hashCode()
- equals(Object)
- segment()
Record Class VkSubpassDescription2
- All Implemented Interfaces:
IPointer
,IVkSubpassDescription2
Represents a pointer to a VkSubpassDescription2
structure in native memory.
Structure 
typedef struct VkSubpassDescription2 {
VkStructureType
sType
;
void const* pNext
; // optional
VkSubpassDescriptionFlags
flags
; // optional
VkPipelineBindPoint
pipelineBindPoint
;
uint32_t viewMask
;
uint32_t inputAttachmentCount
; // optional
VkAttachmentReference2
const* pInputAttachments
; // optional
uint32_t colorAttachmentCount
; // optional
VkAttachmentReference2
const* pColorAttachments
; // optional
VkAttachmentReference2
const* pResolveAttachments
; // optional
VkAttachmentReference2
const* pDepthStencilAttachment
; // optional
uint32_t preserveAttachmentCount
; // optional
uint32_t const* pPreserveAttachments
; // optional
} VkSubpassDescription2;
Auto initialization 
This structure has the following members that can be automatically initialized:
sType = VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2
The allocate
(allocate(Arena)
, allocate(Arena, long)
)
functions will automatically initialize these fields. Also, you may call autoInit()
to initialize these fields manually for non-allocated instances.
Contracts 
The property segment()
should always be not-null
(segment != NULL && !segment.equals(MemorySegment.NULL)
), and properly aligned to
LAYOUT.byteAlignment()
bytes. To represent null pointer, you may use a Java
null
instead. See the documentation of IPointer.segment()
for more details.
The constructor of this class is marked as UnsafeConstructor
, because it does not
perform any runtime check. The constructor can be useful for automatic code generators.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
Represents a pointer to / an array ofVkSubpassDescription2
structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final StructLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final AddressLayout
static final AddressLayout
static final AddressLayout
static final ValueLayout.OfInt
static final AddressLayout
static final AddressLayout
static final ValueLayout.OfInt
static final AddressLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionVkSubpassDescription2
(@NotNull MemorySegment segment) Creates an instance of aVkSubpassDescription2
record class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkSubpassDescription2
static VkSubpassDescription2.Ptr
void
autoInit()
static VkSubpassDescription2
clone
(Arena arena, VkSubpassDescription2 src) int
colorAttachmentCount
(int value) final boolean
Indicates whether some other object is "equal to" this one.int
flags()
flags
(int value) final int
hashCode()
Returns a hash code value for this object.int
inputAttachmentCount
(int value) @Nullable VkAttachmentReference2
pColorAttachments
(int assumedCount) pColorAttachments
(@Nullable IVkAttachmentReference2 value) @NotNull MemorySegment
void
pColorAttachmentsRaw
(@NotNull MemorySegment value) @Nullable VkAttachmentReference2
pDepthStencilAttachment
(int assumedCount) pDepthStencilAttachment
(@Nullable IVkAttachmentReference2 value) @NotNull MemorySegment
void
pDepthStencilAttachmentRaw
(@NotNull MemorySegment value) @Nullable VkAttachmentReference2
pInputAttachments
(int assumedCount) pInputAttachments
(@Nullable IVkAttachmentReference2 value) @NotNull MemorySegment
void
pInputAttachmentsRaw
(@NotNull MemorySegment value) int
pipelineBindPoint
(int value) @NotNull MemorySegment
pNext()
pNext
(@NotNull MemorySegment value) @Nullable IntPtr
Note: the returnedIntPtr
does not have correctIntPtr.size()
property.pPreserveAttachments
(@Nullable IntPtr value) @NotNull MemorySegment
void
pPreserveAttachmentsRaw
(@NotNull MemorySegment value) int
preserveAttachmentCount
(int value) @Nullable VkAttachmentReference2
pResolveAttachments
(int assumedCount) pResolveAttachments
(@Nullable IVkAttachmentReference2 value) @NotNull MemorySegment
void
pResolveAttachmentsRaw
(@NotNull MemorySegment value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.int
sType()
sType
(int value) final String
toString()
Returns a string representation of this record class.int
viewMask()
viewMask
(int value)
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$sType
-
PATH$pNext
-
PATH$flags
-
PATH$pipelineBindPoint
-
PATH$viewMask
-
PATH$inputAttachmentCount
-
PATH$pInputAttachments
-
PATH$colorAttachmentCount
-
PATH$pColorAttachments
-
PATH$pResolveAttachments
-
PATH$pDepthStencilAttachment
-
PATH$preserveAttachmentCount
-
PATH$pPreserveAttachments
-
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$flags
-
LAYOUT$pipelineBindPoint
-
LAYOUT$viewMask
-
LAYOUT$inputAttachmentCount
-
LAYOUT$pInputAttachments
-
LAYOUT$colorAttachmentCount
-
LAYOUT$pColorAttachments
-
LAYOUT$pResolveAttachments
-
LAYOUT$pDepthStencilAttachment
-
LAYOUT$preserveAttachmentCount
-
LAYOUT$pPreserveAttachments
-
SIZE$sType
public static final long SIZE$sType -
SIZE$pNext
public static final long SIZE$pNext -
SIZE$flags
public static final long SIZE$flags -
SIZE$pipelineBindPoint
public static final long SIZE$pipelineBindPoint -
SIZE$viewMask
public static final long SIZE$viewMask -
SIZE$inputAttachmentCount
public static final long SIZE$inputAttachmentCount -
SIZE$pInputAttachments
public static final long SIZE$pInputAttachments -
SIZE$colorAttachmentCount
public static final long SIZE$colorAttachmentCount -
SIZE$pColorAttachments
public static final long SIZE$pColorAttachments -
SIZE$pResolveAttachments
public static final long SIZE$pResolveAttachments -
SIZE$pDepthStencilAttachment
public static final long SIZE$pDepthStencilAttachment -
SIZE$preserveAttachmentCount
public static final long SIZE$preserveAttachmentCount -
SIZE$pPreserveAttachments
public static final long SIZE$pPreserveAttachments -
OFFSET$sType
public static final long OFFSET$sType -
OFFSET$pNext
public static final long OFFSET$pNext -
OFFSET$flags
public static final long OFFSET$flags -
OFFSET$pipelineBindPoint
public static final long OFFSET$pipelineBindPoint -
OFFSET$viewMask
public static final long OFFSET$viewMask -
OFFSET$inputAttachmentCount
public static final long OFFSET$inputAttachmentCount -
OFFSET$pInputAttachments
public static final long OFFSET$pInputAttachments -
OFFSET$colorAttachmentCount
public static final long OFFSET$colorAttachmentCount -
OFFSET$pColorAttachments
public static final long OFFSET$pColorAttachments -
OFFSET$pResolveAttachments
public static final long OFFSET$pResolveAttachments -
OFFSET$pDepthStencilAttachment
public static final long OFFSET$pDepthStencilAttachment -
OFFSET$preserveAttachmentCount
public static final long OFFSET$preserveAttachmentCount -
OFFSET$pPreserveAttachments
public static final long OFFSET$pPreserveAttachments
-
-
Constructor Details
-
Method Details
-
allocate
-
allocate
-
clone
-
autoInit
public void autoInit() -
sType
-
sType
-
pNext
-
pNext
-
pNext
-
flags
-
flags
-
pipelineBindPoint
-
pipelineBindPoint
-
viewMask
-
viewMask
-
inputAttachmentCount
-
inputAttachmentCount
-
pInputAttachments
-
pInputAttachments
-
pInputAttachments
-
pInputAttachmentsRaw
@Pointer(target=VkAttachmentReference2.class) @NotNull public @NotNull MemorySegment pInputAttachmentsRaw() -
pInputAttachmentsRaw
public void pInputAttachmentsRaw(@Pointer(target=VkAttachmentReference2.class) @NotNull @NotNull MemorySegment value) -
colorAttachmentCount
-
colorAttachmentCount
-
pColorAttachments
-
pColorAttachments
-
pColorAttachments
-
pColorAttachmentsRaw
@Pointer(target=VkAttachmentReference2.class) @NotNull public @NotNull MemorySegment pColorAttachmentsRaw() -
pColorAttachmentsRaw
public void pColorAttachmentsRaw(@Pointer(target=VkAttachmentReference2.class) @NotNull @NotNull MemorySegment value) -
pResolveAttachments
-
pResolveAttachments
-
pResolveAttachments
-
pResolveAttachmentsRaw
@Pointer(target=VkAttachmentReference2.class) @NotNull public @NotNull MemorySegment pResolveAttachmentsRaw() -
pResolveAttachmentsRaw
public void pResolveAttachmentsRaw(@Pointer(target=VkAttachmentReference2.class) @NotNull @NotNull MemorySegment value) -
pDepthStencilAttachment
public VkSubpassDescription2 pDepthStencilAttachment(@Nullable @Nullable IVkAttachmentReference2 value) -
pDepthStencilAttachment
-
pDepthStencilAttachment
-
pDepthStencilAttachmentRaw
@Pointer(target=VkAttachmentReference2.class) @NotNull public @NotNull MemorySegment pDepthStencilAttachmentRaw() -
pDepthStencilAttachmentRaw
public void pDepthStencilAttachmentRaw(@Pointer(target=VkAttachmentReference2.class) @NotNull @NotNull MemorySegment value) -
preserveAttachmentCount
-
preserveAttachmentCount
-
pPreserveAttachments
Note: the returnedIntPtr
does not have correctIntPtr.size()
property. It's up to user to track the size of the buffer, and useIntPtr.reinterpret(long)
to set the size before actually reading from or writing to the buffer. -
pPreserveAttachments
-
pPreserveAttachmentsRaw
-
pPreserveAttachmentsRaw
public void pPreserveAttachmentsRaw(@Pointer(comment="uint32_t*") @NotNull @NotNull MemorySegment value) -
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
segment
Returns the value of thesegment
record component.
-