Record Class VkTraceRaysIndirectCommand2KHR
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.VkTraceRaysIndirectCommand2KHR
- All Implemented Interfaces:
IPointer
,IVkTraceRaysIndirectCommand2KHR
@ValueBasedCandidate
@UnsafeConstructor
public record VkTraceRaysIndirectCommand2KHR(@NotNull MemorySegment segment)
extends Record
implements IVkTraceRaysIndirectCommand2KHR
Represents a pointer to a VkTraceRaysIndirectCommand2KHR
structure in native memory.
Structure
typedef struct VkTraceRaysIndirectCommand2KHR {
VkDeviceAddress raygenShaderRecordAddress
;
VkDeviceSize raygenShaderRecordSize
;
VkDeviceAddress missShaderBindingTableAddress
;
VkDeviceSize missShaderBindingTableSize
;
VkDeviceSize missShaderBindingTableStride
;
VkDeviceAddress hitShaderBindingTableAddress
;
VkDeviceSize hitShaderBindingTableSize
;
VkDeviceSize hitShaderBindingTableStride
;
VkDeviceAddress callableShaderBindingTableAddress
;
VkDeviceSize callableShaderBindingTableSize
;
VkDeviceSize callableShaderBindingTableStride
;
uint32_t width
;
uint32_t height
;
uint32_t depth
;
} VkTraceRaysIndirectCommand2KHR;
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 ofVkTraceRaysIndirectCommand2KHR
structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final StructLayout
static final ValueLayout.OfLong
static final ValueLayout.OfLong
static final ValueLayout.OfLong
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfLong
static final ValueLayout.OfLong
static final ValueLayout.OfLong
static final ValueLayout.OfLong
static final ValueLayout.OfLong
static final ValueLayout.OfLong
static final ValueLayout.OfLong
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 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 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
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionVkTraceRaysIndirectCommand2KHR
(@NotNull MemorySegment segment) Creates an instance of aVkTraceRaysIndirectCommand2KHR
record class. -
Method Summary
Modifier and TypeMethodDescriptionlong
callableShaderBindingTableAddress
(long value) long
callableShaderBindingTableSize
(long value) long
callableShaderBindingTableStride
(long value) clone
(Arena arena, VkTraceRaysIndirectCommand2KHR src) int
depth()
depth
(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.int
height()
height
(int value) long
hitShaderBindingTableAddress
(long value) long
hitShaderBindingTableSize
(long value) long
hitShaderBindingTableStride
(long value) long
missShaderBindingTableAddress
(long value) long
missShaderBindingTableSize
(long value) long
missShaderBindingTableStride
(long value) long
raygenShaderRecordAddress
(long value) long
raygenShaderRecordSize
(long value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.final String
toString()
Returns a string representation of this record class.int
width()
width
(int value)
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$raygenShaderRecordAddress
-
PATH$raygenShaderRecordSize
-
PATH$missShaderBindingTableAddress
-
PATH$missShaderBindingTableSize
-
PATH$missShaderBindingTableStride
-
PATH$hitShaderBindingTableAddress
-
PATH$hitShaderBindingTableSize
-
PATH$hitShaderBindingTableStride
-
PATH$callableShaderBindingTableAddress
-
PATH$callableShaderBindingTableSize
-
PATH$callableShaderBindingTableStride
-
PATH$width
-
PATH$height
-
PATH$depth
-
LAYOUT$raygenShaderRecordAddress
-
LAYOUT$raygenShaderRecordSize
-
LAYOUT$missShaderBindingTableAddress
-
LAYOUT$missShaderBindingTableSize
-
LAYOUT$missShaderBindingTableStride
-
LAYOUT$hitShaderBindingTableAddress
-
LAYOUT$hitShaderBindingTableSize
-
LAYOUT$hitShaderBindingTableStride
-
LAYOUT$callableShaderBindingTableAddress
-
LAYOUT$callableShaderBindingTableSize
-
LAYOUT$callableShaderBindingTableStride
-
LAYOUT$width
-
LAYOUT$height
-
LAYOUT$depth
-
SIZE$raygenShaderRecordAddress
public static final long SIZE$raygenShaderRecordAddress -
SIZE$raygenShaderRecordSize
public static final long SIZE$raygenShaderRecordSize -
SIZE$missShaderBindingTableAddress
public static final long SIZE$missShaderBindingTableAddress -
SIZE$missShaderBindingTableSize
public static final long SIZE$missShaderBindingTableSize -
SIZE$missShaderBindingTableStride
public static final long SIZE$missShaderBindingTableStride -
SIZE$hitShaderBindingTableAddress
public static final long SIZE$hitShaderBindingTableAddress -
SIZE$hitShaderBindingTableSize
public static final long SIZE$hitShaderBindingTableSize -
SIZE$hitShaderBindingTableStride
public static final long SIZE$hitShaderBindingTableStride -
SIZE$callableShaderBindingTableAddress
public static final long SIZE$callableShaderBindingTableAddress -
SIZE$callableShaderBindingTableSize
public static final long SIZE$callableShaderBindingTableSize -
SIZE$callableShaderBindingTableStride
public static final long SIZE$callableShaderBindingTableStride -
SIZE$width
public static final long SIZE$width -
SIZE$height
public static final long SIZE$height -
SIZE$depth
public static final long SIZE$depth -
OFFSET$raygenShaderRecordAddress
public static final long OFFSET$raygenShaderRecordAddress -
OFFSET$raygenShaderRecordSize
public static final long OFFSET$raygenShaderRecordSize -
OFFSET$missShaderBindingTableAddress
public static final long OFFSET$missShaderBindingTableAddress -
OFFSET$missShaderBindingTableSize
public static final long OFFSET$missShaderBindingTableSize -
OFFSET$missShaderBindingTableStride
public static final long OFFSET$missShaderBindingTableStride -
OFFSET$hitShaderBindingTableAddress
public static final long OFFSET$hitShaderBindingTableAddress -
OFFSET$hitShaderBindingTableSize
public static final long OFFSET$hitShaderBindingTableSize -
OFFSET$hitShaderBindingTableStride
public static final long OFFSET$hitShaderBindingTableStride -
OFFSET$callableShaderBindingTableAddress
public static final long OFFSET$callableShaderBindingTableAddress -
OFFSET$callableShaderBindingTableSize
public static final long OFFSET$callableShaderBindingTableSize -
OFFSET$callableShaderBindingTableStride
public static final long OFFSET$callableShaderBindingTableStride -
OFFSET$width
public static final long OFFSET$width -
OFFSET$height
public static final long OFFSET$height -
OFFSET$depth
public static final long OFFSET$depth
-
-
Constructor Details
-
VkTraceRaysIndirectCommand2KHR
Creates an instance of aVkTraceRaysIndirectCommand2KHR
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
raygenShaderRecordAddress
-
raygenShaderRecordAddress
public VkTraceRaysIndirectCommand2KHR raygenShaderRecordAddress(@NativeType("VkDeviceAddress") @Unsigned long value) -
raygenShaderRecordSize
-
raygenShaderRecordSize
public VkTraceRaysIndirectCommand2KHR raygenShaderRecordSize(@NativeType("VkDeviceSize") @Unsigned long value) -
missShaderBindingTableAddress
-
missShaderBindingTableAddress
public VkTraceRaysIndirectCommand2KHR missShaderBindingTableAddress(@NativeType("VkDeviceAddress") @Unsigned long value) -
missShaderBindingTableSize
-
missShaderBindingTableSize
public VkTraceRaysIndirectCommand2KHR missShaderBindingTableSize(@NativeType("VkDeviceSize") @Unsigned long value) -
missShaderBindingTableStride
-
missShaderBindingTableStride
public VkTraceRaysIndirectCommand2KHR missShaderBindingTableStride(@NativeType("VkDeviceSize") @Unsigned long value) -
hitShaderBindingTableAddress
-
hitShaderBindingTableAddress
public VkTraceRaysIndirectCommand2KHR hitShaderBindingTableAddress(@NativeType("VkDeviceAddress") @Unsigned long value) -
hitShaderBindingTableSize
-
hitShaderBindingTableSize
public VkTraceRaysIndirectCommand2KHR hitShaderBindingTableSize(@NativeType("VkDeviceSize") @Unsigned long value) -
hitShaderBindingTableStride
-
hitShaderBindingTableStride
public VkTraceRaysIndirectCommand2KHR hitShaderBindingTableStride(@NativeType("VkDeviceSize") @Unsigned long value) -
callableShaderBindingTableAddress
-
callableShaderBindingTableAddress
public VkTraceRaysIndirectCommand2KHR callableShaderBindingTableAddress(@NativeType("VkDeviceAddress") @Unsigned long value) -
callableShaderBindingTableSize
-
callableShaderBindingTableSize
public VkTraceRaysIndirectCommand2KHR callableShaderBindingTableSize(@NativeType("VkDeviceSize") @Unsigned long value) -
callableShaderBindingTableStride
-
callableShaderBindingTableStride
public VkTraceRaysIndirectCommand2KHR callableShaderBindingTableStride(@NativeType("VkDeviceSize") @Unsigned long value) -
width
-
width
-
height
-
height
-
depth
-
depth
-
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.
-