Record Class VkClusterAccelerationStructureCommandsInfoNV
- All Implemented Interfaces:
IPointer
,IVkClusterAccelerationStructureCommandsInfoNV
Represents a pointer to a VkClusterAccelerationStructureCommandsInfoNV
structure in native memory.
Structure
typedef struct VkClusterAccelerationStructureCommandsInfoNV {
VkStructureType
sType
;
void* pNext
; // optional
VkClusterAccelerationStructureInputInfoNV
input
;
VkDeviceAddress dstImplicitData
;
VkDeviceAddress scratchData
;
VkStridedDeviceAddressRegionKHR
dstAddressesArray
;
VkStridedDeviceAddressRegionKHR
dstSizesArray
;
VkStridedDeviceAddressRegionKHR
srcInfosArray
;
VkDeviceAddress srcInfosCount
;
VkClusterAccelerationStructureAddressResolutionFlagsNV
addressResolutionFlags
; // optional
} VkClusterAccelerationStructureCommandsInfoNV;
Auto initialization
This structure has the following members that can be automatically initialized:
sType = VK_STRUCTURE_TYPE_CLUSTER_ACCELERATION_STRUCTURE_COMMANDS_INFO_NV
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 ofVkClusterAccelerationStructureCommandsInfoNV
structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final StructLayout
static final ValueLayout.OfInt
static final StructLayout
static final ValueLayout.OfLong
static final StructLayout
static final StructLayout
static final AddressLayout
static final ValueLayout.OfLong
static final StructLayout
static final ValueLayout.OfLong
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 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
-
Constructor Summary
ConstructorsConstructorDescriptionVkClusterAccelerationStructureCommandsInfoNV
(@NotNull MemorySegment segment) Creates an instance of aVkClusterAccelerationStructureCommandsInfoNV
record class. -
Method Summary
Modifier and TypeMethodDescriptionint
addressResolutionFlags
(int value) void
autoInit()
clone
(Arena arena, VkClusterAccelerationStructureCommandsInfoNV src) @NotNull VkStridedDeviceAddressRegionKHR
dstAddressesArray
(@NotNull VkStridedDeviceAddressRegionKHR value) dstAddressesArray
(Consumer<@NotNull VkStridedDeviceAddressRegionKHR> consumer) long
dstImplicitData
(long value) @NotNull VkStridedDeviceAddressRegionKHR
dstSizesArray
(@NotNull VkStridedDeviceAddressRegionKHR value) dstSizesArray
(Consumer<@NotNull VkStridedDeviceAddressRegionKHR> consumer) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.input()
input
(@NotNull VkClusterAccelerationStructureInputInfoNV value) input
(Consumer<@NotNull VkClusterAccelerationStructureInputInfoNV> consumer) pNext()
void
pNext
(MemorySegment value) long
scratchData
(long value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.@NotNull VkStridedDeviceAddressRegionKHR
srcInfosArray
(@NotNull VkStridedDeviceAddressRegionKHR value) srcInfosArray
(Consumer<@NotNull VkStridedDeviceAddressRegionKHR> consumer) long
srcInfosCount
(long value) 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$input
-
PATH$dstImplicitData
-
PATH$scratchData
-
PATH$dstAddressesArray
-
PATH$dstSizesArray
-
PATH$srcInfosArray
-
PATH$srcInfosCount
-
PATH$addressResolutionFlags
-
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$input
-
LAYOUT$dstImplicitData
-
LAYOUT$scratchData
-
LAYOUT$dstAddressesArray
-
LAYOUT$dstSizesArray
-
LAYOUT$srcInfosArray
-
LAYOUT$srcInfosCount
-
LAYOUT$addressResolutionFlags
-
SIZE$sType
public static final long SIZE$sType -
SIZE$pNext
public static final long SIZE$pNext -
SIZE$input
public static final long SIZE$input -
SIZE$dstImplicitData
public static final long SIZE$dstImplicitData -
SIZE$scratchData
public static final long SIZE$scratchData -
SIZE$dstAddressesArray
public static final long SIZE$dstAddressesArray -
SIZE$dstSizesArray
public static final long SIZE$dstSizesArray -
SIZE$srcInfosArray
public static final long SIZE$srcInfosArray -
SIZE$srcInfosCount
public static final long SIZE$srcInfosCount -
SIZE$addressResolutionFlags
public static final long SIZE$addressResolutionFlags -
OFFSET$sType
public static final long OFFSET$sType -
OFFSET$pNext
public static final long OFFSET$pNext -
OFFSET$input
public static final long OFFSET$input -
OFFSET$dstImplicitData
public static final long OFFSET$dstImplicitData -
OFFSET$scratchData
public static final long OFFSET$scratchData -
OFFSET$dstAddressesArray
public static final long OFFSET$dstAddressesArray -
OFFSET$dstSizesArray
public static final long OFFSET$dstSizesArray -
OFFSET$srcInfosArray
public static final long OFFSET$srcInfosArray -
OFFSET$srcInfosCount
public static final long OFFSET$srcInfosCount -
OFFSET$addressResolutionFlags
public static final long OFFSET$addressResolutionFlags
-
-
Constructor Details
-
VkClusterAccelerationStructureCommandsInfoNV
Creates an instance of aVkClusterAccelerationStructureCommandsInfoNV
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static VkClusterAccelerationStructureCommandsInfoNV clone(Arena arena, VkClusterAccelerationStructureCommandsInfoNV src) -
autoInit
public void autoInit() -
sType
-
sType
public VkClusterAccelerationStructureCommandsInfoNV sType(@EnumType(VkStructureType.class) int value) -
pNext
-
pNext
-
pNext
-
input
-
input
public VkClusterAccelerationStructureCommandsInfoNV input(@NotNull @NotNull VkClusterAccelerationStructureInputInfoNV value) -
input
public VkClusterAccelerationStructureCommandsInfoNV input(Consumer<@NotNull VkClusterAccelerationStructureInputInfoNV> consumer) -
dstImplicitData
-
dstImplicitData
public VkClusterAccelerationStructureCommandsInfoNV dstImplicitData(@NativeType("VkDeviceAddress") @Unsigned long value) -
scratchData
-
scratchData
public VkClusterAccelerationStructureCommandsInfoNV scratchData(@NativeType("VkDeviceAddress") @Unsigned long value) -
dstAddressesArray
-
dstAddressesArray
public VkClusterAccelerationStructureCommandsInfoNV dstAddressesArray(@NotNull @NotNull VkStridedDeviceAddressRegionKHR value) -
dstAddressesArray
public VkClusterAccelerationStructureCommandsInfoNV dstAddressesArray(Consumer<@NotNull VkStridedDeviceAddressRegionKHR> consumer) -
dstSizesArray
-
dstSizesArray
public VkClusterAccelerationStructureCommandsInfoNV dstSizesArray(@NotNull @NotNull VkStridedDeviceAddressRegionKHR value) -
dstSizesArray
public VkClusterAccelerationStructureCommandsInfoNV dstSizesArray(Consumer<@NotNull VkStridedDeviceAddressRegionKHR> consumer) -
srcInfosArray
-
srcInfosArray
public VkClusterAccelerationStructureCommandsInfoNV srcInfosArray(@NotNull @NotNull VkStridedDeviceAddressRegionKHR value) -
srcInfosArray
public VkClusterAccelerationStructureCommandsInfoNV srcInfosArray(Consumer<@NotNull VkStridedDeviceAddressRegionKHR> consumer) -
srcInfosCount
-
srcInfosCount
public VkClusterAccelerationStructureCommandsInfoNV srcInfosCount(@NativeType("VkDeviceAddress") @Unsigned long value) -
addressResolutionFlags
@EnumType(VkClusterAccelerationStructureAddressResolutionFlagsNV.class) public int addressResolutionFlags() -
addressResolutionFlags
public VkClusterAccelerationStructureCommandsInfoNV addressResolutionFlags(@EnumType(VkClusterAccelerationStructureAddressResolutionFlagsNV.class) int 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.
-