Record Class VkSubpassDependency
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.VkSubpassDependency
- All Implemented Interfaces:
IPointer
,IVkSubpassDependency
@ValueBasedCandidate
@UnsafeConstructor
public record VkSubpassDependency(@NotNull MemorySegment segment)
extends Record
implements IVkSubpassDependency
Represents a pointer to a VkSubpassDependency
structure in native memory.
Structure
typedef struct VkSubpassDependency {
uint32_t srcSubpass
;
uint32_t dstSubpass
;
VkPipelineStageFlags
srcStageMask
; // optional
VkPipelineStageFlags
dstStageMask
; // optional
VkAccessFlags
srcAccessMask
; // optional
VkAccessFlags
dstAccessMask
; // optional
VkDependencyFlags
dependencyFlags
; // optional
} VkSubpassDependency;
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 ofVkSubpassDependency
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 ValueLayout.OfInt
static final ValueLayout.OfInt
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 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
-
Constructor Summary
ConstructorsConstructorDescriptionVkSubpassDependency
(@NotNull MemorySegment segment) Creates an instance of aVkSubpassDependency
record class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkSubpassDependency
static VkSubpassDependency.Ptr
static VkSubpassDependency
clone
(Arena arena, VkSubpassDependency src) int
dependencyFlags
(int value) int
dstAccessMask
(int value) int
dstStageMask
(int value) int
dstSubpass
(int value) 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
segment()
Returns the value of thesegment
record component.int
srcAccessMask
(int value) int
srcStageMask
(int value) int
srcSubpass
(int value) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$srcSubpass
-
PATH$dstSubpass
-
PATH$srcStageMask
-
PATH$dstStageMask
-
PATH$srcAccessMask
-
PATH$dstAccessMask
-
PATH$dependencyFlags
-
LAYOUT$srcSubpass
-
LAYOUT$dstSubpass
-
LAYOUT$srcStageMask
-
LAYOUT$dstStageMask
-
LAYOUT$srcAccessMask
-
LAYOUT$dstAccessMask
-
LAYOUT$dependencyFlags
-
SIZE$srcSubpass
public static final long SIZE$srcSubpass -
SIZE$dstSubpass
public static final long SIZE$dstSubpass -
SIZE$srcStageMask
public static final long SIZE$srcStageMask -
SIZE$dstStageMask
public static final long SIZE$dstStageMask -
SIZE$srcAccessMask
public static final long SIZE$srcAccessMask -
SIZE$dstAccessMask
public static final long SIZE$dstAccessMask -
SIZE$dependencyFlags
public static final long SIZE$dependencyFlags -
OFFSET$srcSubpass
public static final long OFFSET$srcSubpass -
OFFSET$dstSubpass
public static final long OFFSET$dstSubpass -
OFFSET$srcStageMask
public static final long OFFSET$srcStageMask -
OFFSET$dstStageMask
public static final long OFFSET$dstStageMask -
OFFSET$srcAccessMask
public static final long OFFSET$srcAccessMask -
OFFSET$dstAccessMask
public static final long OFFSET$dstAccessMask -
OFFSET$dependencyFlags
public static final long OFFSET$dependencyFlags
-
-
Constructor Details
-
VkSubpassDependency
Creates an instance of aVkSubpassDependency
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
srcSubpass
-
srcSubpass
-
dstSubpass
-
dstSubpass
-
srcStageMask
-
srcStageMask
-
dstStageMask
-
dstStageMask
-
srcAccessMask
-
srcAccessMask
-
dstAccessMask
-
dstAccessMask
-
dependencyFlags
-
dependencyFlags
-
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.
-