Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkCuLaunchInfoNVX

extends Struct<VkCuLaunchInfoNVX>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Stub description of VkCuLaunchInfoNVX.
Valid Usage (Implicit)
See Also

CmdCuLaunchKernelNVX

Layout


struct VkCuLaunchInfoNVX {
    VkStructureType sType;
    void const * pNext;
    VkCuFunctionNVX 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;
    void const * const * pParams;
    size_t extraCount;
    void const * const * pExtras;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
BLOCKDIMX

The struct member offsets.

public static final int
BLOCKDIMY

The struct member offsets.

public static final int
BLOCKDIMZ

The struct member offsets.

public static final int
EXTRACOUNT

The struct member offsets.

public static final int
FUNCTION

The struct member offsets.

public static final int
GRIDDIMX

The struct member offsets.

public static final int
GRIDDIMY

The struct member offsets.

public static final int
GRIDDIMZ

The struct member offsets.

public static final int
PARAMCOUNT

The struct member offsets.

public static final int
PEXTRAS

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
PPARAMS

The struct member offsets.

public static final int
SHAREDMEMBYTES

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STYPE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
VkCuLaunchInfoNVX(long address, ByteBuffer container)

public
VkCuLaunchInfoNVX(ByteBuffer container)

Creates a VkCuLaunchInfoNVX instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the value of the blockDimX field.
blockDimX
()

public VkCuLaunchInfoNVX
blockDimX(int value)

Sets the specified value to the blockDimX field.

public int

Returns:

the value of the blockDimY field.
blockDimY
()

public VkCuLaunchInfoNVX
blockDimY(int value)

Sets the specified value to the blockDimY field.

public int

Returns:

the value of the blockDimZ field.
blockDimZ
()

public VkCuLaunchInfoNVX
blockDimZ(int value)

Sets the specified value to the blockDimZ field.

public static VkCuLaunchInfoNVX
calloc()

Returns a new VkCuLaunchInfoNVX instance allocated with memCalloc.

public static VkCuLaunchInfoNVX.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkCuLaunchInfoNVX.Buffer instance allocated with memCalloc.

public static VkCuLaunchInfoNVX
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkCuLaunchInfoNVX instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkCuLaunchInfoNVX.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkCuLaunchInfoNVX.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

protected VkCuLaunchInfoNVX
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkCuLaunchInfoNVX
create()

Returns a new VkCuLaunchInfoNVX instance allocated with BufferUtils.

public static VkCuLaunchInfoNVX
create(long address)

Returns a new VkCuLaunchInfoNVX instance for the specified memory address.

public static VkCuLaunchInfoNVX.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkCuLaunchInfoNVX.Buffer instance allocated with BufferUtils.

public static VkCuLaunchInfoNVX.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkCuLaunchInfoNVX.Buffer instance at the specified memory.

public static VkCuLaunchInfoNVX
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkCuLaunchInfoNVX.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public long

Returns:

the value of the extraCount field.
extraCount
()

public long

Returns:

the value of the function field.
function
()

public VkCuLaunchInfoNVX
function(long value)

Sets the specified value to the function field.

public int

Returns:

the value of the gridDimX field.
gridDimX
()

public VkCuLaunchInfoNVX
gridDimX(int value)

Sets the specified value to the gridDimX field.

public int

Returns:

the value of the gridDimY field.
gridDimY
()

public VkCuLaunchInfoNVX
gridDimY(int value)

Sets the specified value to the gridDimY field.

public int

Returns:

the value of the gridDimZ field.
gridDimZ
()

public VkCuLaunchInfoNVX
gridDimZ(int value)

Sets the specified value to the gridDimZ field.

public static VkCuLaunchInfoNVX
malloc()

Returns a new VkCuLaunchInfoNVX instance allocated with memAlloc.

public static VkCuLaunchInfoNVX.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkCuLaunchInfoNVX.Buffer instance allocated with memAlloc.

public static VkCuLaunchInfoNVX
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkCuLaunchInfoNVX instance allocated on the specified MemoryStack.

public static VkCuLaunchInfoNVX.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkCuLaunchInfoNVX.Buffer instance allocated on the specified MemoryStack.

public static int
nblockDimX(long struct)

Unsafe version of blockDimX.

public static void
nblockDimX(long struct, int value)

Unsafe version of blockDimX.

public static int
nblockDimY(long struct)

Unsafe version of blockDimY.

public static void
nblockDimY(long struct, int value)

Unsafe version of blockDimY.

public static int
nblockDimZ(long struct)

Unsafe version of blockDimZ.

public static void
nblockDimZ(long struct, int value)

Unsafe version of blockDimZ.

public static long
nextraCount(long struct)

Unsafe version of extraCount.

public static void
nextraCount(long struct, long value)

Sets the specified value to the extraCount field of the specified struct.

public static long
nfunction(long struct)

Unsafe version of function.

public static void
nfunction(long struct, long value)

Unsafe version of function.

public static int
ngridDimX(long struct)

Unsafe version of gridDimX.

public static void
ngridDimX(long struct, int value)

Unsafe version of gridDimX.

public static int
ngridDimY(long struct)

Unsafe version of gridDimY.

public static void
ngridDimY(long struct, int value)

Unsafe version of gridDimY.

public static int
ngridDimZ(long struct)

Unsafe version of gridDimZ.

public static void
ngridDimZ(long struct, int value)

Unsafe version of gridDimZ.

public static long
nparamCount(long struct)

Unsafe version of paramCount.

public static void
nparamCount(long struct, long value)

Sets the specified value to the paramCount field of the specified struct.

public static PointerBuffer
npExtras(long struct)

Unsafe version of pExtras.

public static void
npExtras(long struct, PointerBuffer value)

Unsafe version of pExtras.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static PointerBuffer
npParams(long struct)

Unsafe version of pParams.

public static void
npParams(long struct, PointerBuffer value)

Unsafe version of pParams.

public static int
nsharedMemBytes(long struct)

Unsafe version of sharedMemBytes.

public static void
nsharedMemBytes(long struct, int value)

Unsafe version of sharedMemBytes.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public long

Returns:

the value of the paramCount field.
paramCount
()

public PointerBuffer

Returns:

a PointerBuffer view of the data pointed to by the pExtras field.
pExtras
()

public VkCuLaunchInfoNVX
pExtras(PointerBuffer value)

Sets the address of the specified PointerBuffer to the pExtras field.

public long

Returns:

the value of the pNext field.
pNext
()

public VkCuLaunchInfoNVX
pNext(long value)

Sets the specified value to the pNext field.

public PointerBuffer

Returns:

a PointerBuffer view of the data pointed to by the pParams field.
pParams
()

public VkCuLaunchInfoNVX
pParams(PointerBuffer value)

Sets the address of the specified PointerBuffer to the pParams field.

public VkCuLaunchInfoNVX
set(int sType, long pNext, long function, int gridDimX, int gridDimY, int gridDimZ, int blockDimX, int blockDimY, int blockDimZ, int sharedMemBytes, PointerBuffer pParams, PointerBuffer pExtras)

Initializes this struct with the specified values.

public VkCuLaunchInfoNVX

Returns:

this struct
set
(VkCuLaunchInfoNVX
the source struct
src
)

Copies the specified struct data to this struct.

public int

Returns:

the value of the sharedMemBytes field.
sharedMemBytes
()

public VkCuLaunchInfoNVX
sharedMemBytes(int value)

Sets the specified value to the sharedMemBytes field.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int

Returns:

the value of the sType field.
sType
()

public VkCuLaunchInfoNVX
sType(int value)

Sets the specified value to the sType field.

public VkCuLaunchInfoNVX
sType$Default()

Sets the STRUCTURE_TYPE_CU_LAUNCH_INFO_NVX value to the sType field.

public static void
validate(long
the struct to validate
struct
)

Validates pointer members that should not be NULL.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate