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 record
Represents a pointer to / an array ofVkPhysicalDeviceMeshShaderPropertiesNV
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 SequenceLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final SequenceLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final AddressLayout
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 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 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
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionVkPhysicalDeviceMeshShaderPropertiesNV
(@NotNull MemorySegment segment) Creates an instance of aVkPhysicalDeviceMeshShaderPropertiesNV
record class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
autoInit()
clone
(Arena arena, VkPhysicalDeviceMeshShaderPropertiesNV src) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.int
maxDrawMeshTasksCount
(int value) int
maxMeshMultiviewViewCount
(int value) int
maxMeshOutputPrimitives
(int value) int
maxMeshOutputVertices
(int value) int
maxMeshTotalMemorySize
(int value) int
maxMeshWorkGroupInvocations
(int value) maxMeshWorkGroupSize
(IntPtr value) int
maxTaskOutputCount
(int value) int
maxTaskTotalMemorySize
(int value) int
maxTaskWorkGroupInvocations
(int value) maxTaskWorkGroupSize
(IntPtr value) int
meshOutputPerPrimitiveGranularity
(int value) int
meshOutputPerVertexGranularity
(int value) pNext()
void
pNext
(MemorySegment value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.int
sType()
sType
(int value) 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$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 aVkPhysicalDeviceMeshShaderPropertiesNV
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static VkPhysicalDeviceMeshShaderPropertiesNV clone(Arena arena, VkPhysicalDeviceMeshShaderPropertiesNV src) -
autoInit
public void autoInit() -
sType
-
sType
-
pNext
-
pNext
-
pNext
-
maxDrawMeshTasksCount
-
maxDrawMeshTasksCount
-
maxTaskWorkGroupInvocations
-
maxTaskWorkGroupInvocations
-
maxTaskWorkGroupSize
-
maxTaskWorkGroupSize
-
maxTaskWorkGroupSizeRaw
-
maxTaskTotalMemorySize
-
maxTaskTotalMemorySize
-
maxTaskOutputCount
-
maxTaskOutputCount
-
maxMeshWorkGroupInvocations
-
maxMeshWorkGroupInvocations
-
maxMeshWorkGroupSize
-
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 thesegment
record component.
-