Record Class VkGeneratedCommandsInfoNV
- All Implemented Interfaces:
IPointer,IVkGeneratedCommandsInfoNV
Represents a pointer to a VkGeneratedCommandsInfoNV structure in native memory.
Structure
typedef struct VkGeneratedCommandsInfoNV {
VkStructureType sType;
void const* pNext; // optional
VkPipelineBindPoint pipelineBindPoint;
VkPipeline pipeline; // optional
VkIndirectCommandsLayoutNV indirectCommandsLayout;
uint32_t streamCount;
VkIndirectCommandsStreamNV const* pStreams;
uint32_t sequencesCount;
VkBuffer preprocessBuffer;
VkDeviceSize preprocessOffset;
VkDeviceSize preprocessSize;
VkBuffer sequencesCountBuffer; // optional
VkDeviceSize sequencesCountOffset;
VkBuffer sequencesIndexBuffer; // optional
VkDeviceSize sequencesIndexOffset;
} VkGeneratedCommandsInfoNV;
Auto initialization
This structure has the following members that can be automatically initialized:
sType = VK_STRUCTURE_TYPE_GENERATED_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 recordRepresents a pointer to / an array ofVkGeneratedCommandsInfoNVstructure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final StructLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final ValueLayout.OfIntstatic final AddressLayoutstatic final AddressLayoutstatic final ValueLayout.OfLongstatic final ValueLayout.OfLongstatic final AddressLayoutstatic final ValueLayout.OfIntstatic final AddressLayoutstatic final ValueLayout.OfLongstatic final AddressLayoutstatic final ValueLayout.OfLongstatic final ValueLayout.OfIntstatic 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 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 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 longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionVkGeneratedCommandsInfoNV(@NotNull MemorySegment segment) Creates an instance of aVkGeneratedCommandsInfoNVrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkGeneratedCommandsInfoNVvoidautoInit()static VkGeneratedCommandsInfoNVclone(Arena arena, VkGeneratedCommandsInfoNV src) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable VkIndirectCommandsLayoutNVindirectCommandsLayout(@Nullable VkIndirectCommandsLayoutNV value) @Nullable VkPipelinepipeline()pipeline(@Nullable VkPipeline value) intpipelineBindPoint(int value) @NotNull MemorySegmentpNext()pNext(@NotNull MemorySegment value) @Nullable VkBufferpreprocessBuffer(@Nullable VkBuffer value) longpreprocessOffset(long value) longpreprocessSize(long value) @Nullable VkIndirectCommandsStreamNVpStreams()pStreams(int assumedCount) pStreams(@Nullable IVkIndirectCommandsStreamNV value) @NotNull MemorySegmentvoidpStreamsRaw(@NotNull MemorySegment value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.intsequencesCount(int value) @Nullable VkBuffersequencesCountBuffer(@Nullable VkBuffer value) longsequencesCountOffset(long value) @Nullable VkBuffersequencesIndexBuffer(@Nullable VkBuffer value) longsequencesIndexOffset(long value) intstreamCount(int value) intsType()sType(int value) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$sType
-
PATH$pNext
-
PATH$pipelineBindPoint
-
PATH$pipeline
-
PATH$indirectCommandsLayout
-
PATH$streamCount
-
PATH$pStreams
-
PATH$sequencesCount
-
PATH$preprocessBuffer
-
PATH$preprocessOffset
-
PATH$preprocessSize
-
PATH$sequencesCountBuffer
-
PATH$sequencesCountOffset
-
PATH$sequencesIndexBuffer
-
PATH$sequencesIndexOffset
-
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$pipelineBindPoint
-
LAYOUT$pipeline
-
LAYOUT$indirectCommandsLayout
-
LAYOUT$streamCount
-
LAYOUT$pStreams
-
LAYOUT$sequencesCount
-
LAYOUT$preprocessBuffer
-
LAYOUT$preprocessOffset
-
LAYOUT$preprocessSize
-
LAYOUT$sequencesCountBuffer
-
LAYOUT$sequencesCountOffset
-
LAYOUT$sequencesIndexBuffer
-
LAYOUT$sequencesIndexOffset
-
SIZE$sType
public static final long SIZE$sType -
SIZE$pNext
public static final long SIZE$pNext -
SIZE$pipelineBindPoint
public static final long SIZE$pipelineBindPoint -
SIZE$pipeline
public static final long SIZE$pipeline -
SIZE$indirectCommandsLayout
public static final long SIZE$indirectCommandsLayout -
SIZE$streamCount
public static final long SIZE$streamCount -
SIZE$pStreams
public static final long SIZE$pStreams -
SIZE$sequencesCount
public static final long SIZE$sequencesCount -
SIZE$preprocessBuffer
public static final long SIZE$preprocessBuffer -
SIZE$preprocessOffset
public static final long SIZE$preprocessOffset -
SIZE$preprocessSize
public static final long SIZE$preprocessSize -
SIZE$sequencesCountBuffer
public static final long SIZE$sequencesCountBuffer -
SIZE$sequencesCountOffset
public static final long SIZE$sequencesCountOffset -
SIZE$sequencesIndexBuffer
public static final long SIZE$sequencesIndexBuffer -
SIZE$sequencesIndexOffset
public static final long SIZE$sequencesIndexOffset -
OFFSET$sType
public static final long OFFSET$sType -
OFFSET$pNext
public static final long OFFSET$pNext -
OFFSET$pipelineBindPoint
public static final long OFFSET$pipelineBindPoint -
OFFSET$pipeline
public static final long OFFSET$pipeline -
OFFSET$indirectCommandsLayout
public static final long OFFSET$indirectCommandsLayout -
OFFSET$streamCount
public static final long OFFSET$streamCount -
OFFSET$pStreams
public static final long OFFSET$pStreams -
OFFSET$sequencesCount
public static final long OFFSET$sequencesCount -
OFFSET$preprocessBuffer
public static final long OFFSET$preprocessBuffer -
OFFSET$preprocessOffset
public static final long OFFSET$preprocessOffset -
OFFSET$preprocessSize
public static final long OFFSET$preprocessSize -
OFFSET$sequencesCountBuffer
public static final long OFFSET$sequencesCountBuffer -
OFFSET$sequencesCountOffset
public static final long OFFSET$sequencesCountOffset -
OFFSET$sequencesIndexBuffer
public static final long OFFSET$sequencesIndexBuffer -
OFFSET$sequencesIndexOffset
public static final long OFFSET$sequencesIndexOffset
-
-
Constructor Details
-
VkGeneratedCommandsInfoNV
Creates an instance of aVkGeneratedCommandsInfoNVrecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
autoInit
public void autoInit() -
sType
-
sType
-
pNext
-
pNext
public VkGeneratedCommandsInfoNV pNext(@Pointer(comment="void*") @NotNull @NotNull MemorySegment value) -
pNext
-
pipelineBindPoint
-
pipelineBindPoint
-
pipeline
-
pipeline
-
indirectCommandsLayout
-
indirectCommandsLayout
public VkGeneratedCommandsInfoNV indirectCommandsLayout(@Nullable @Nullable VkIndirectCommandsLayoutNV value) -
streamCount
-
streamCount
-
pStreams
-
pStreams
-
pStreams
-
pStreamsRaw
@Pointer(target=VkIndirectCommandsStreamNV.class) @NotNull public @NotNull MemorySegment pStreamsRaw() -
pStreamsRaw
public void pStreamsRaw(@Pointer(target=VkIndirectCommandsStreamNV.class) @NotNull @NotNull MemorySegment value) -
sequencesCount
-
sequencesCount
-
preprocessBuffer
-
preprocessBuffer
-
preprocessOffset
-
preprocessOffset
-
preprocessSize
-
preprocessSize
-
sequencesCountBuffer
-
sequencesCountBuffer
-
sequencesCountOffset
-
sequencesCountOffset
public VkGeneratedCommandsInfoNV sequencesCountOffset(@NativeType("VkDeviceSize") @Unsigned long value) -
sequencesIndexBuffer
-
sequencesIndexBuffer
-
sequencesIndexOffset
-
sequencesIndexOffset
public VkGeneratedCommandsInfoNV sequencesIndexOffset(@NativeType("VkDeviceSize") @Unsigned long 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 thesegmentrecord component.
-