Record Class VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT
- All Implemented Interfaces:
IPointer
,IVkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT
Represents a pointer to a VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT
structure in native memory.
Structure
typedef struct VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT {
VkStructureType
sType
;
void* pNext
; // optional
uint32_t maxIndirectPipelineCount
;
uint32_t maxIndirectShaderObjectCount
;
uint32_t maxIndirectSequenceCount
;
uint32_t maxIndirectCommandsTokenCount
;
uint32_t maxIndirectCommandsTokenOffset
;
uint32_t maxIndirectCommandsIndirectStride
;
VkIndirectCommandsInputModeFlagsEXT
supportedIndirectCommandsInputModes
;
VkShaderStageFlags
supportedIndirectCommandsShaderStages
;
VkShaderStageFlags
supportedIndirectCommandsShaderStagesPipelineBinding
;
VkShaderStageFlags
supportedIndirectCommandsShaderStagesShaderBinding
;
VkBool32 deviceGeneratedCommandsTransformFeedback
;
VkBool32 deviceGeneratedCommandsMultiDrawIndirectCount
;
} VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT;
Auto initialization
This structure has the following members that can be automatically initialized:
sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_PROPERTIES_EXT
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 ofVkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT
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 ValueLayout.OfInt
static final AddressLayout
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 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
ConstructorsConstructorDescriptionVkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT
(@NotNull MemorySegment segment) Creates an instance of aVkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT
record class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
autoInit()
int
int
deviceGeneratedCommandsTransformFeedback
(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
maxIndirectCommandsIndirectStride
(int value) int
maxIndirectCommandsTokenCount
(int value) int
maxIndirectCommandsTokenOffset
(int value) int
maxIndirectPipelineCount
(int value) int
maxIndirectSequenceCount
(int value) int
maxIndirectShaderObjectCount
(int value) pNext()
void
pNext
(MemorySegment value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.int
sType()
sType
(int value) int
supportedIndirectCommandsInputModes
(int value) int
supportedIndirectCommandsShaderStages
(int value) int
int
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$maxIndirectPipelineCount
-
PATH$maxIndirectShaderObjectCount
-
PATH$maxIndirectSequenceCount
-
PATH$maxIndirectCommandsTokenCount
-
PATH$maxIndirectCommandsTokenOffset
-
PATH$maxIndirectCommandsIndirectStride
-
PATH$supportedIndirectCommandsInputModes
-
PATH$supportedIndirectCommandsShaderStages
-
PATH$supportedIndirectCommandsShaderStagesPipelineBinding
public static final MemoryLayout.PathElement PATH$supportedIndirectCommandsShaderStagesPipelineBinding -
PATH$supportedIndirectCommandsShaderStagesShaderBinding
public static final MemoryLayout.PathElement PATH$supportedIndirectCommandsShaderStagesShaderBinding -
PATH$deviceGeneratedCommandsTransformFeedback
-
PATH$deviceGeneratedCommandsMultiDrawIndirectCount
-
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$maxIndirectPipelineCount
-
LAYOUT$maxIndirectShaderObjectCount
-
LAYOUT$maxIndirectSequenceCount
-
LAYOUT$maxIndirectCommandsTokenCount
-
LAYOUT$maxIndirectCommandsTokenOffset
-
LAYOUT$maxIndirectCommandsIndirectStride
-
LAYOUT$supportedIndirectCommandsInputModes
-
LAYOUT$supportedIndirectCommandsShaderStages
-
LAYOUT$supportedIndirectCommandsShaderStagesPipelineBinding
-
LAYOUT$supportedIndirectCommandsShaderStagesShaderBinding
-
LAYOUT$deviceGeneratedCommandsTransformFeedback
-
LAYOUT$deviceGeneratedCommandsMultiDrawIndirectCount
-
SIZE$sType
public static final long SIZE$sType -
SIZE$pNext
public static final long SIZE$pNext -
SIZE$maxIndirectPipelineCount
public static final long SIZE$maxIndirectPipelineCount -
SIZE$maxIndirectShaderObjectCount
public static final long SIZE$maxIndirectShaderObjectCount -
SIZE$maxIndirectSequenceCount
public static final long SIZE$maxIndirectSequenceCount -
SIZE$maxIndirectCommandsTokenCount
public static final long SIZE$maxIndirectCommandsTokenCount -
SIZE$maxIndirectCommandsTokenOffset
public static final long SIZE$maxIndirectCommandsTokenOffset -
SIZE$maxIndirectCommandsIndirectStride
public static final long SIZE$maxIndirectCommandsIndirectStride -
SIZE$supportedIndirectCommandsInputModes
public static final long SIZE$supportedIndirectCommandsInputModes -
SIZE$supportedIndirectCommandsShaderStages
public static final long SIZE$supportedIndirectCommandsShaderStages -
SIZE$supportedIndirectCommandsShaderStagesPipelineBinding
public static final long SIZE$supportedIndirectCommandsShaderStagesPipelineBinding -
SIZE$supportedIndirectCommandsShaderStagesShaderBinding
public static final long SIZE$supportedIndirectCommandsShaderStagesShaderBinding -
SIZE$deviceGeneratedCommandsTransformFeedback
public static final long SIZE$deviceGeneratedCommandsTransformFeedback -
SIZE$deviceGeneratedCommandsMultiDrawIndirectCount
public static final long SIZE$deviceGeneratedCommandsMultiDrawIndirectCount -
OFFSET$sType
public static final long OFFSET$sType -
OFFSET$pNext
public static final long OFFSET$pNext -
OFFSET$maxIndirectPipelineCount
public static final long OFFSET$maxIndirectPipelineCount -
OFFSET$maxIndirectShaderObjectCount
public static final long OFFSET$maxIndirectShaderObjectCount -
OFFSET$maxIndirectSequenceCount
public static final long OFFSET$maxIndirectSequenceCount -
OFFSET$maxIndirectCommandsTokenCount
public static final long OFFSET$maxIndirectCommandsTokenCount -
OFFSET$maxIndirectCommandsTokenOffset
public static final long OFFSET$maxIndirectCommandsTokenOffset -
OFFSET$maxIndirectCommandsIndirectStride
public static final long OFFSET$maxIndirectCommandsIndirectStride -
OFFSET$supportedIndirectCommandsInputModes
public static final long OFFSET$supportedIndirectCommandsInputModes -
OFFSET$supportedIndirectCommandsShaderStages
public static final long OFFSET$supportedIndirectCommandsShaderStages -
OFFSET$supportedIndirectCommandsShaderStagesPipelineBinding
public static final long OFFSET$supportedIndirectCommandsShaderStagesPipelineBinding -
OFFSET$supportedIndirectCommandsShaderStagesShaderBinding
public static final long OFFSET$supportedIndirectCommandsShaderStagesShaderBinding -
OFFSET$deviceGeneratedCommandsTransformFeedback
public static final long OFFSET$deviceGeneratedCommandsTransformFeedback -
OFFSET$deviceGeneratedCommandsMultiDrawIndirectCount
public static final long OFFSET$deviceGeneratedCommandsMultiDrawIndirectCount
-
-
Constructor Details
-
VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT(@NotNull @NotNull MemorySegment segment) Creates an instance of aVkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
public static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT.Ptr allocate(Arena arena, long count) -
clone
public static VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT clone(Arena arena, VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT src) -
autoInit
public void autoInit() -
sType
-
sType
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT sType(@EnumType(VkStructureType.class) int value) -
pNext
-
pNext
-
pNext
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT pNext(@Nullable @Nullable IPointer pointer) -
maxIndirectPipelineCount
-
maxIndirectPipelineCount
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT maxIndirectPipelineCount(@Unsigned int value) -
maxIndirectShaderObjectCount
-
maxIndirectShaderObjectCount
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT maxIndirectShaderObjectCount(@Unsigned int value) -
maxIndirectSequenceCount
-
maxIndirectSequenceCount
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT maxIndirectSequenceCount(@Unsigned int value) -
maxIndirectCommandsTokenCount
-
maxIndirectCommandsTokenCount
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT maxIndirectCommandsTokenCount(@Unsigned int value) -
maxIndirectCommandsTokenOffset
-
maxIndirectCommandsTokenOffset
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT maxIndirectCommandsTokenOffset(@Unsigned int value) -
maxIndirectCommandsIndirectStride
-
maxIndirectCommandsIndirectStride
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT maxIndirectCommandsIndirectStride(@Unsigned int value) -
supportedIndirectCommandsInputModes
@EnumType(VkIndirectCommandsInputModeFlagsEXT.class) public int supportedIndirectCommandsInputModes() -
supportedIndirectCommandsInputModes
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT supportedIndirectCommandsInputModes(@EnumType(VkIndirectCommandsInputModeFlagsEXT.class) int value) -
supportedIndirectCommandsShaderStages
-
supportedIndirectCommandsShaderStages
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT supportedIndirectCommandsShaderStages(@EnumType(VkShaderStageFlags.class) int value) -
supportedIndirectCommandsShaderStagesPipelineBinding
@EnumType(VkShaderStageFlags.class) public int supportedIndirectCommandsShaderStagesPipelineBinding() -
supportedIndirectCommandsShaderStagesPipelineBinding
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT supportedIndirectCommandsShaderStagesPipelineBinding(@EnumType(VkShaderStageFlags.class) int value) -
supportedIndirectCommandsShaderStagesShaderBinding
-
supportedIndirectCommandsShaderStagesShaderBinding
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT supportedIndirectCommandsShaderStagesShaderBinding(@EnumType(VkShaderStageFlags.class) int value) -
deviceGeneratedCommandsTransformFeedback
-
deviceGeneratedCommandsTransformFeedback
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT deviceGeneratedCommandsTransformFeedback(@NativeType("VkBool32") @Unsigned int value) -
deviceGeneratedCommandsMultiDrawIndirectCount
-
deviceGeneratedCommandsMultiDrawIndirectCount
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT deviceGeneratedCommandsMultiDrawIndirectCount(@NativeType("VkBool32") @Unsigned 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.
-