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 recordRepresents a pointer to / an array ofVkTraceRaysIndirectCommand2KHRstructure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final StructLayoutstatic final ValueLayout.OfLongstatic final ValueLayout.OfLongstatic final ValueLayout.OfLongstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfLongstatic final ValueLayout.OfLongstatic final ValueLayout.OfLongstatic final ValueLayout.OfLongstatic final ValueLayout.OfLongstatic final ValueLayout.OfLongstatic final ValueLayout.OfLongstatic final ValueLayout.OfLongstatic final ValueLayout.OfIntstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionVkTraceRaysIndirectCommand2KHR(@NotNull MemorySegment segment) Creates an instance of aVkTraceRaysIndirectCommand2KHRrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongcallableShaderBindingTableAddress(long value) longcallableShaderBindingTableSize(long value) longcallableShaderBindingTableStride(long value) clone(Arena arena, VkTraceRaysIndirectCommand2KHR src) intdepth()depth(int value) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intheight()height(int value) longhitShaderBindingTableAddress(long value) longhitShaderBindingTableSize(long value) longhitShaderBindingTableStride(long value) longmissShaderBindingTableAddress(long value) longmissShaderBindingTableSize(long value) longmissShaderBindingTableStride(long value) longraygenShaderRecordAddress(long value) longraygenShaderRecordSize(long value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.final StringtoString()Returns a string representation of this record class.intwidth()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 aVkTraceRaysIndirectCommand2KHRrecord class.- Parameters:
segment- the value for thesegmentrecord 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 thesegmentrecord component.
-