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 recordRepresents a pointer to / an array ofVkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXTstructure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final StructLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final AddressLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic 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 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
ConstructorsConstructorDescriptionVkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT(@NotNull MemorySegment segment) Creates an instance of aVkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXTrecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoidautoInit()intintdeviceGeneratedCommandsTransformFeedback(int value) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intmaxIndirectCommandsIndirectStride(int value) intmaxIndirectCommandsTokenCount(int value) intmaxIndirectCommandsTokenOffset(int value) intmaxIndirectPipelineCount(int value) intmaxIndirectSequenceCount(int value) intmaxIndirectShaderObjectCount(int value) @NotNull MemorySegmentpNext()pNext(@NotNull MemorySegment value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.intsType()sType(int value) intsupportedIndirectCommandsInputModes(int value) intsupportedIndirectCommandsShaderStages(int value) intintfinal StringtoString()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 aVkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXTrecord class.- Parameters:
segment- the value for thesegmentrecord 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
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT pNext(@Pointer(comment="void*") @NotNull @NotNull MemorySegment value) -
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
@Bitmask(VkIndirectCommandsInputModeFlagsEXT.class) public int supportedIndirectCommandsInputModes() -
supportedIndirectCommandsInputModes
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT supportedIndirectCommandsInputModes(@Bitmask(VkIndirectCommandsInputModeFlagsEXT.class) int value) -
supportedIndirectCommandsShaderStages
-
supportedIndirectCommandsShaderStages
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT supportedIndirectCommandsShaderStages(@Bitmask(VkShaderStageFlags.class) int value) -
supportedIndirectCommandsShaderStagesPipelineBinding
@Bitmask(VkShaderStageFlags.class) public int supportedIndirectCommandsShaderStagesPipelineBinding() -
supportedIndirectCommandsShaderStagesPipelineBinding
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT supportedIndirectCommandsShaderStagesPipelineBinding(@Bitmask(VkShaderStageFlags.class) int value) -
supportedIndirectCommandsShaderStagesShaderBinding
-
supportedIndirectCommandsShaderStagesShaderBinding
public VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT supportedIndirectCommandsShaderStagesShaderBinding(@Bitmask(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 thesegmentrecord component.
-