Record Class VkPhysicalDeviceMeshShaderPropertiesNV
- All Implemented Interfaces:
IPointer,IVkPhysicalDeviceMeshShaderPropertiesNV
Represents a pointer to a VkPhysicalDeviceMeshShaderPropertiesNV structure in native memory.
Structure
typedef struct VkPhysicalDeviceMeshShaderPropertiesNV {
VkStructureType sType;
void* pNext; // optional
uint32_t maxDrawMeshTasksCount;
uint32_t maxTaskWorkGroupInvocations;
uint32_t[3] maxTaskWorkGroupSize;
uint32_t maxTaskTotalMemorySize;
uint32_t maxTaskOutputCount;
uint32_t maxMeshWorkGroupInvocations;
uint32_t[3] maxMeshWorkGroupSize;
uint32_t maxMeshTotalMemorySize;
uint32_t maxMeshOutputVertices;
uint32_t maxMeshOutputPrimitives;
uint32_t maxMeshMultiviewViewCount;
uint32_t meshOutputPerVertexGranularity;
uint32_t meshOutputPerPrimitiveGranularity;
} VkPhysicalDeviceMeshShaderPropertiesNV;
Auto initialization
This structure has the following members that can be automatically initialized:
sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_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 ofVkPhysicalDeviceMeshShaderPropertiesNVstructure(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 SequenceLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final SequenceLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final AddressLayoutstatic 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
ConstructorsConstructorDescriptionVkPhysicalDeviceMeshShaderPropertiesNV(@NotNull MemorySegment segment) Creates an instance of aVkPhysicalDeviceMeshShaderPropertiesNVrecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoidautoInit()clone(Arena arena, VkPhysicalDeviceMeshShaderPropertiesNV src) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intmaxDrawMeshTasksCount(int value) intmaxMeshMultiviewViewCount(int value) intmaxMeshOutputPrimitives(int value) intmaxMeshOutputVertices(int value) intmaxMeshTotalMemorySize(int value) intmaxMeshWorkGroupInvocations(int value) maxMeshWorkGroupSize(IntPtr value) maxMeshWorkGroupSize(@NotNull Consumer<IntPtr> consumer) @NotNull MemorySegmentintmaxTaskOutputCount(int value) intmaxTaskTotalMemorySize(int value) intmaxTaskWorkGroupInvocations(int value) maxTaskWorkGroupSize(IntPtr value) maxTaskWorkGroupSize(@NotNull Consumer<IntPtr> consumer) @NotNull MemorySegmentintmeshOutputPerPrimitiveGranularity(int value) intmeshOutputPerVertexGranularity(int value) @NotNull MemorySegmentpNext()pNext(@NotNull MemorySegment value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.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$maxDrawMeshTasksCount
-
PATH$maxTaskWorkGroupInvocations
-
PATH$maxTaskWorkGroupSize
-
PATH$maxTaskTotalMemorySize
-
PATH$maxTaskOutputCount
-
PATH$maxMeshWorkGroupInvocations
-
PATH$maxMeshWorkGroupSize
-
PATH$maxMeshTotalMemorySize
-
PATH$maxMeshOutputVertices
-
PATH$maxMeshOutputPrimitives
-
PATH$maxMeshMultiviewViewCount
-
PATH$meshOutputPerVertexGranularity
-
PATH$meshOutputPerPrimitiveGranularity
-
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$maxDrawMeshTasksCount
-
LAYOUT$maxTaskWorkGroupInvocations
-
LAYOUT$maxTaskWorkGroupSize
-
LAYOUT$maxTaskTotalMemorySize
-
LAYOUT$maxTaskOutputCount
-
LAYOUT$maxMeshWorkGroupInvocations
-
LAYOUT$maxMeshWorkGroupSize
-
LAYOUT$maxMeshTotalMemorySize
-
LAYOUT$maxMeshOutputVertices
-
LAYOUT$maxMeshOutputPrimitives
-
LAYOUT$maxMeshMultiviewViewCount
-
LAYOUT$meshOutputPerVertexGranularity
-
LAYOUT$meshOutputPerPrimitiveGranularity
-
SIZE$sType
public static final long SIZE$sType -
SIZE$pNext
public static final long SIZE$pNext -
SIZE$maxDrawMeshTasksCount
public static final long SIZE$maxDrawMeshTasksCount -
SIZE$maxTaskWorkGroupInvocations
public static final long SIZE$maxTaskWorkGroupInvocations -
SIZE$maxTaskWorkGroupSize
public static final long SIZE$maxTaskWorkGroupSize -
SIZE$maxTaskTotalMemorySize
public static final long SIZE$maxTaskTotalMemorySize -
SIZE$maxTaskOutputCount
public static final long SIZE$maxTaskOutputCount -
SIZE$maxMeshWorkGroupInvocations
public static final long SIZE$maxMeshWorkGroupInvocations -
SIZE$maxMeshWorkGroupSize
public static final long SIZE$maxMeshWorkGroupSize -
SIZE$maxMeshTotalMemorySize
public static final long SIZE$maxMeshTotalMemorySize -
SIZE$maxMeshOutputVertices
public static final long SIZE$maxMeshOutputVertices -
SIZE$maxMeshOutputPrimitives
public static final long SIZE$maxMeshOutputPrimitives -
SIZE$maxMeshMultiviewViewCount
public static final long SIZE$maxMeshMultiviewViewCount -
SIZE$meshOutputPerVertexGranularity
public static final long SIZE$meshOutputPerVertexGranularity -
SIZE$meshOutputPerPrimitiveGranularity
public static final long SIZE$meshOutputPerPrimitiveGranularity -
OFFSET$sType
public static final long OFFSET$sType -
OFFSET$pNext
public static final long OFFSET$pNext -
OFFSET$maxDrawMeshTasksCount
public static final long OFFSET$maxDrawMeshTasksCount -
OFFSET$maxTaskWorkGroupInvocations
public static final long OFFSET$maxTaskWorkGroupInvocations -
OFFSET$maxTaskWorkGroupSize
public static final long OFFSET$maxTaskWorkGroupSize -
OFFSET$maxTaskTotalMemorySize
public static final long OFFSET$maxTaskTotalMemorySize -
OFFSET$maxTaskOutputCount
public static final long OFFSET$maxTaskOutputCount -
OFFSET$maxMeshWorkGroupInvocations
public static final long OFFSET$maxMeshWorkGroupInvocations -
OFFSET$maxMeshWorkGroupSize
public static final long OFFSET$maxMeshWorkGroupSize -
OFFSET$maxMeshTotalMemorySize
public static final long OFFSET$maxMeshTotalMemorySize -
OFFSET$maxMeshOutputVertices
public static final long OFFSET$maxMeshOutputVertices -
OFFSET$maxMeshOutputPrimitives
public static final long OFFSET$maxMeshOutputPrimitives -
OFFSET$maxMeshMultiviewViewCount
public static final long OFFSET$maxMeshMultiviewViewCount -
OFFSET$meshOutputPerVertexGranularity
public static final long OFFSET$meshOutputPerVertexGranularity -
OFFSET$meshOutputPerPrimitiveGranularity
public static final long OFFSET$meshOutputPerPrimitiveGranularity
-
-
Constructor Details
-
VkPhysicalDeviceMeshShaderPropertiesNV
Creates an instance of aVkPhysicalDeviceMeshShaderPropertiesNVrecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static VkPhysicalDeviceMeshShaderPropertiesNV clone(Arena arena, VkPhysicalDeviceMeshShaderPropertiesNV src) -
autoInit
public void autoInit() -
sType
-
sType
-
pNext
-
pNext
public VkPhysicalDeviceMeshShaderPropertiesNV pNext(@Pointer(comment="void*") @NotNull @NotNull MemorySegment value) -
pNext
-
maxDrawMeshTasksCount
-
maxDrawMeshTasksCount
-
maxTaskWorkGroupInvocations
-
maxTaskWorkGroupInvocations
-
maxTaskWorkGroupSize
-
maxTaskWorkGroupSize
public VkPhysicalDeviceMeshShaderPropertiesNV maxTaskWorkGroupSize(@NotNull @NotNull Consumer<IntPtr> consumer) -
maxTaskWorkGroupSize
-
maxTaskWorkGroupSizeRaw
-
maxTaskTotalMemorySize
-
maxTaskTotalMemorySize
-
maxTaskOutputCount
-
maxTaskOutputCount
-
maxMeshWorkGroupInvocations
-
maxMeshWorkGroupInvocations
-
maxMeshWorkGroupSize
-
maxMeshWorkGroupSize
public VkPhysicalDeviceMeshShaderPropertiesNV maxMeshWorkGroupSize(@NotNull @NotNull Consumer<IntPtr> consumer) -
maxMeshWorkGroupSize
-
maxMeshWorkGroupSizeRaw
-
maxMeshTotalMemorySize
-
maxMeshTotalMemorySize
-
maxMeshOutputVertices
-
maxMeshOutputVertices
-
maxMeshOutputPrimitives
-
maxMeshOutputPrimitives
-
maxMeshMultiviewViewCount
-
maxMeshMultiviewViewCount
-
meshOutputPerVertexGranularity
-
meshOutputPerVertexGranularity
-
meshOutputPerPrimitiveGranularity
-
meshOutputPerPrimitiveGranularity
public VkPhysicalDeviceMeshShaderPropertiesNV meshOutputPerPrimitiveGranularity(@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.
-