Record Class VkCudaLaunchInfoNV
- All Implemented Interfaces:
IPointer
,IVkCudaLaunchInfoNV
Represents a pointer to a VkCudaLaunchInfoNV
structure in native memory.
Structure
typedef struct VkCudaLaunchInfoNV {
VkStructureType
sType
;
void const* pNext
; // optional
VkCudaFunctionNV
function
;
uint32_t gridDimX
;
uint32_t gridDimY
;
uint32_t gridDimZ
;
uint32_t blockDimX
;
uint32_t blockDimY
;
uint32_t blockDimZ
;
uint32_t sharedMemBytes
;
size_t paramCount
; // optional
void const* pParams
;
size_t extraCount
; // optional
void const* pExtras
;
} VkCudaLaunchInfoNV;
Auto initialization
This structure has the following members that can be automatically initialized:
sType = VK_STRUCTURE_TYPE_CUDA_LAUNCH_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 record
Represents a pointer to / an array ofVkCudaLaunchInfoNV
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 AddressLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final AddressLayout
static final AddressLayout
static final AddressLayout
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
ConstructorsConstructorDescriptionVkCudaLaunchInfoNV
(@NotNull MemorySegment segment) Creates an instance of aVkCudaLaunchInfoNV
record class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkCudaLaunchInfoNV
static VkCudaLaunchInfoNV.Ptr
void
autoInit()
int
blockDimX
(int value) int
blockDimY
(int value) int
blockDimZ
(int value) static VkCudaLaunchInfoNV
clone
(Arena arena, VkCudaLaunchInfoNV src) final boolean
Indicates whether some other object is "equal to" this one.long
extraCount
(long value) @Nullable VkCudaFunctionNV
function()
function
(@Nullable VkCudaFunctionNV value) int
gridDimX()
gridDimX
(int value) int
gridDimY()
gridDimY
(int value) int
gridDimZ()
gridDimZ
(int value) final int
hashCode()
Returns a hash code value for this object.long
paramCount
(long value) pExtras()
void
pExtras
(MemorySegment value) pNext()
void
pNext
(MemorySegment value) pParams()
void
pParams
(MemorySegment value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.int
sharedMemBytes
(int value) 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$function
-
PATH$gridDimX
-
PATH$gridDimY
-
PATH$gridDimZ
-
PATH$blockDimX
-
PATH$blockDimY
-
PATH$blockDimZ
-
PATH$paramCount
-
PATH$pParams
-
PATH$extraCount
-
PATH$pExtras
-
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$function
-
LAYOUT$gridDimX
-
LAYOUT$gridDimY
-
LAYOUT$gridDimZ
-
LAYOUT$blockDimX
-
LAYOUT$blockDimY
-
LAYOUT$blockDimZ
-
LAYOUT$pParams
-
LAYOUT$pExtras
-
SIZE$sType
public static final long SIZE$sType -
SIZE$pNext
public static final long SIZE$pNext -
SIZE$function
public static final long SIZE$function -
SIZE$gridDimX
public static final long SIZE$gridDimX -
SIZE$gridDimY
public static final long SIZE$gridDimY -
SIZE$gridDimZ
public static final long SIZE$gridDimZ -
SIZE$blockDimX
public static final long SIZE$blockDimX -
SIZE$blockDimY
public static final long SIZE$blockDimY -
SIZE$blockDimZ
public static final long SIZE$blockDimZ -
SIZE$paramCount
public static final long SIZE$paramCount -
SIZE$pParams
public static final long SIZE$pParams -
SIZE$extraCount
public static final long SIZE$extraCount -
SIZE$pExtras
public static final long SIZE$pExtras -
OFFSET$sType
public static final long OFFSET$sType -
OFFSET$pNext
public static final long OFFSET$pNext -
OFFSET$function
public static final long OFFSET$function -
OFFSET$gridDimX
public static final long OFFSET$gridDimX -
OFFSET$gridDimY
public static final long OFFSET$gridDimY -
OFFSET$gridDimZ
public static final long OFFSET$gridDimZ -
OFFSET$blockDimX
public static final long OFFSET$blockDimX -
OFFSET$blockDimY
public static final long OFFSET$blockDimY -
OFFSET$blockDimZ
public static final long OFFSET$blockDimZ -
OFFSET$paramCount
public static final long OFFSET$paramCount -
OFFSET$pParams
public static final long OFFSET$pParams -
OFFSET$extraCount
public static final long OFFSET$extraCount -
OFFSET$pExtras
public static final long OFFSET$pExtras
-
-
Constructor Details
-
VkCudaLaunchInfoNV
Creates an instance of aVkCudaLaunchInfoNV
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
autoInit
public void autoInit() -
sType
-
sType
-
pNext
-
pNext
-
pNext
-
function
-
function
-
gridDimX
-
gridDimX
-
gridDimY
-
gridDimY
-
gridDimZ
-
gridDimZ
-
blockDimX
-
blockDimX
-
blockDimY
-
blockDimY
-
blockDimZ
-
blockDimZ
-
paramCount
-
paramCount
-
pParams
-
pParams
-
pParams
-
extraCount
-
extraCount
-
pExtras
-
pExtras
-
pExtras
-
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.
-