- Description
- Nested Class Summary
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- LAYOUT
- BYTES
- PATH$sType
- PATH$pNext
- PATH$srcSubresource
- PATH$srcOffsets
- PATH$dstSubresource
- PATH$dstOffsets
- LAYOUT$sType
- LAYOUT$pNext
- LAYOUT$srcSubresource
- LAYOUT$srcOffsets
- LAYOUT$dstSubresource
- LAYOUT$dstOffsets
- SIZE$sType
- SIZE$pNext
- SIZE$srcSubresource
- SIZE$srcOffsets
- SIZE$dstSubresource
- SIZE$dstOffsets
- OFFSET$sType
- OFFSET$pNext
- OFFSET$srcSubresource
- OFFSET$srcOffsets
- OFFSET$dstSubresource
- OFFSET$dstOffsets
- Constructor Details
- Method Details
- allocate(Arena)
- allocate(Arena, long)
- clone(Arena, VkImageBlit2)
- autoInit()
- sType()
- sType(int)
- pNext()
- pNext(MemorySegment)
- pNext(IPointer)
- srcSubresource()
- srcSubresource(VkImageSubresourceLayers)
- srcSubresource(Consumer)
- srcOffsets()
- srcOffsets(Consumer)
- srcOffsets(VkOffset3D.Ptr)
- srcOffsetsAt(int)
- srcOffsetsAt(int, VkOffset3D)
- srcOffsetsRaw()
- dstSubresource()
- dstSubresource(VkImageSubresourceLayers)
- dstSubresource(Consumer)
- dstOffsets()
- dstOffsets(Consumer)
- dstOffsets(VkOffset3D.Ptr)
- dstOffsetsAt(int)
- dstOffsetsAt(int, VkOffset3D)
- dstOffsetsRaw()
- toString()
- hashCode()
- equals(Object)
- segment()
Record Class VkImageBlit2
- All Implemented Interfaces:
IPointer
,IVkImageBlit2
Represents a pointer to a VkImageBlit2
structure in native memory.
Structure 
typedef struct VkImageBlit2 {
VkStructureType
sType
;
void const* pNext
; // optional
VkImageSubresourceLayers
srcSubresource
;
VkOffset3D
[2] srcOffsets
;
VkImageSubresourceLayers
dstSubresource
;
VkOffset3D
[2] dstOffsets
;
} VkImageBlit2;
Auto initialization 
This structure has the following members that can be automatically initialized:
sType = VK_STRUCTURE_TYPE_IMAGE_BLIT_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 ofVkImageBlit2
structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final StructLayout
static final SequenceLayout
static final StructLayout
static final AddressLayout
static final SequenceLayout
static final StructLayout
static final ValueLayout.OfInt
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 long
static final long
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionVkImageBlit2
(@NotNull MemorySegment segment) Creates an instance of aVkImageBlit2
record class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkImageBlit2
static VkImageBlit2.Ptr
void
autoInit()
static VkImageBlit2
clone
(Arena arena, VkImageBlit2 src) dstOffsets
(VkOffset3D.Ptr value) dstOffsets
(@NotNull Consumer<VkOffset3D.Ptr> consumer) dstOffsetsAt
(int index) void
dstOffsetsAt
(int index, VkOffset3D value) @NotNull MemorySegment
@NotNull VkImageSubresourceLayers
dstSubresource
(@NotNull VkImageSubresourceLayers value) dstSubresource
(Consumer<@NotNull VkImageSubresourceLayers> consumer) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.@NotNull MemorySegment
pNext()
pNext
(@NotNull MemorySegment value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.srcOffsets
(VkOffset3D.Ptr value) srcOffsets
(@NotNull Consumer<VkOffset3D.Ptr> consumer) srcOffsetsAt
(int index) void
srcOffsetsAt
(int index, VkOffset3D value) @NotNull MemorySegment
@NotNull VkImageSubresourceLayers
srcSubresource
(@NotNull VkImageSubresourceLayers value) srcSubresource
(Consumer<@NotNull VkImageSubresourceLayers> consumer) int
sType()
sType
(int value) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$sType
-
PATH$pNext
-
PATH$srcSubresource
-
PATH$srcOffsets
-
PATH$dstSubresource
-
PATH$dstOffsets
-
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$srcSubresource
-
LAYOUT$srcOffsets
-
LAYOUT$dstSubresource
-
LAYOUT$dstOffsets
-
SIZE$sType
public static final long SIZE$sType -
SIZE$pNext
public static final long SIZE$pNext -
SIZE$srcSubresource
public static final long SIZE$srcSubresource -
SIZE$srcOffsets
public static final long SIZE$srcOffsets -
SIZE$dstSubresource
public static final long SIZE$dstSubresource -
SIZE$dstOffsets
public static final long SIZE$dstOffsets -
OFFSET$sType
public static final long OFFSET$sType -
OFFSET$pNext
public static final long OFFSET$pNext -
OFFSET$srcSubresource
public static final long OFFSET$srcSubresource -
OFFSET$srcOffsets
public static final long OFFSET$srcOffsets -
OFFSET$dstSubresource
public static final long OFFSET$dstSubresource -
OFFSET$dstOffsets
public static final long OFFSET$dstOffsets
-
-
Constructor Details
-
Method Details
-
allocate
-
allocate
-
clone
-
autoInit
public void autoInit() -
sType
-
sType
-
pNext
-
pNext
-
pNext
-
srcSubresource
-
srcSubresource
-
srcSubresource
-
srcOffsets
-
srcOffsets
-
srcOffsets
-
srcOffsetsAt
-
srcOffsetsAt
-
srcOffsetsRaw
-
dstSubresource
-
dstSubresource
-
dstSubresource
-
dstOffsets
-
dstOffsets
-
dstOffsets
-
dstOffsetsAt
-
dstOffsetsAt
-
dstOffsetsRaw
-
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.
-