Package org.lwjgl.vulkan
Class VkCuLaunchInfoNVX
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkCuLaunchInfoNVX
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkCuLaunchInfoNVX extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStub description of VkCuLaunchInfoNVX.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_CU_LAUNCH_INFO_NVXpNextmust beNULLfunctionmust be a validVkCuFunctionNVXhandle- If
paramCountis not 0,pParamsmust be a valid pointer to an array ofparamCountbytes - If
extraCountis not 0,pExtrasmust be a valid pointer to an array ofextraCountbytes
See Also
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 Class Summary
Nested Classes Modifier and Type Class Description static classVkCuLaunchInfoNVX.BufferAn array ofVkCuLaunchInfoNVXstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intBLOCKDIMX
BLOCKDIMY
BLOCKDIMZ
EXTRACOUNT
FUNCTION
GRIDDIMX
GRIDDIMY
GRIDDIMZ
PARAMCOUNT
PEXTRAS
PNEXT
PPARAMS
SHAREDMEMBYTESThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkCuLaunchInfoNVX(java.nio.ByteBuffer container)Creates aVkCuLaunchInfoNVXinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intblockDimX()VkCuLaunchInfoNVXblockDimX(int value)Sets the specified value to theblockDimXfield.intblockDimY()VkCuLaunchInfoNVXblockDimY(int value)Sets the specified value to theblockDimYfield.intblockDimZ()VkCuLaunchInfoNVXblockDimZ(int value)Sets the specified value to theblockDimZfield.static VkCuLaunchInfoNVXcalloc()Returns a newVkCuLaunchInfoNVXinstance allocated withmemCalloc.static VkCuLaunchInfoNVX.Buffercalloc(int capacity)Returns a newVkCuLaunchInfoNVX.Bufferinstance allocated withmemCalloc.static VkCuLaunchInfoNVX.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCuLaunchInfoNVX.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkCuLaunchInfoNVXcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkCuLaunchInfoNVXinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkCuLaunchInfoNVXcreate()Returns a newVkCuLaunchInfoNVXinstance allocated withBufferUtils.static VkCuLaunchInfoNVX.Buffercreate(int capacity)Returns a newVkCuLaunchInfoNVX.Bufferinstance allocated withBufferUtils.static VkCuLaunchInfoNVXcreate(long address)Returns a newVkCuLaunchInfoNVXinstance for the specified memory address.static VkCuLaunchInfoNVX.Buffercreate(long address, int capacity)Create aVkCuLaunchInfoNVX.Bufferinstance at the specified memory.static VkCuLaunchInfoNVXcreateSafe(long address)static VkCuLaunchInfoNVX.BuffercreateSafe(long address, int capacity)longextraCount()longfunction()VkCuLaunchInfoNVXfunction(long value)Sets the specified value to thefunctionfield.intgridDimX()VkCuLaunchInfoNVXgridDimX(int value)Sets the specified value to thegridDimXfield.intgridDimY()VkCuLaunchInfoNVXgridDimY(int value)Sets the specified value to thegridDimYfield.intgridDimZ()VkCuLaunchInfoNVXgridDimZ(int value)Sets the specified value to thegridDimZfield.static VkCuLaunchInfoNVXmalloc()Returns a newVkCuLaunchInfoNVXinstance allocated withmemAlloc.static VkCuLaunchInfoNVX.Buffermalloc(int capacity)Returns a newVkCuLaunchInfoNVX.Bufferinstance allocated withmemAlloc.static VkCuLaunchInfoNVX.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCuLaunchInfoNVX.Bufferinstance allocated on the specifiedMemoryStack.static VkCuLaunchInfoNVXmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkCuLaunchInfoNVXinstance allocated on the specifiedMemoryStack.static intnblockDimX(long struct)Unsafe version ofblockDimX().static voidnblockDimX(long struct, int value)Unsafe version ofblockDimX.static intnblockDimY(long struct)Unsafe version ofblockDimY().static voidnblockDimY(long struct, int value)Unsafe version ofblockDimY.static intnblockDimZ(long struct)Unsafe version ofblockDimZ().static voidnblockDimZ(long struct, int value)Unsafe version ofblockDimZ.static longnextraCount(long struct)Unsafe version ofextraCount().static voidnextraCount(long struct, long value)Sets the specified value to theextraCountfield of the specifiedstruct.static longnfunction(long struct)Unsafe version offunction().static voidnfunction(long struct, long value)Unsafe version offunction.static intngridDimX(long struct)Unsafe version ofgridDimX().static voidngridDimX(long struct, int value)Unsafe version ofgridDimX.static intngridDimY(long struct)Unsafe version ofgridDimY().static voidngridDimY(long struct, int value)Unsafe version ofgridDimY.static intngridDimZ(long struct)Unsafe version ofgridDimZ().static voidngridDimZ(long struct, int value)Unsafe version ofgridDimZ.static longnparamCount(long struct)Unsafe version ofparamCount().static voidnparamCount(long struct, long value)Sets the specified value to theparamCountfield of the specifiedstruct.static org.lwjgl.PointerBuffernpExtras(long struct)Unsafe version ofpExtras.static voidnpExtras(long struct, org.lwjgl.PointerBuffer value)Unsafe version ofpExtras.static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static org.lwjgl.PointerBuffernpParams(long struct)Unsafe version ofpParams.static voidnpParams(long struct, org.lwjgl.PointerBuffer value)Unsafe version ofpParams.static intnsharedMemBytes(long struct)Unsafe version ofsharedMemBytes().static voidnsharedMemBytes(long struct, int value)Unsafe version ofsharedMemBytes.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.longparamCount()org.lwjgl.PointerBufferpExtras()VkCuLaunchInfoNVXpExtras(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto thepExtrasfield.longpNext()VkCuLaunchInfoNVXpNext(long value)Sets the specified value to thepNextfield.org.lwjgl.PointerBufferpParams()VkCuLaunchInfoNVXpParams(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto thepParamsfield.VkCuLaunchInfoNVXset(int sType, long pNext, long function, int gridDimX, int gridDimY, int gridDimZ, int blockDimX, int blockDimY, int blockDimZ, int sharedMemBytes, org.lwjgl.PointerBuffer pParams, org.lwjgl.PointerBuffer pExtras)Initializes this struct with the specified values.VkCuLaunchInfoNVXset(VkCuLaunchInfoNVX src)Copies the specified struct data to this struct.intsharedMemBytes()VkCuLaunchInfoNVXsharedMemBytes(int value)Sets the specified value to thesharedMemBytesfield.intsizeof()intsType()VkCuLaunchInfoNVXsType(int value)Sets the specified value to thesTypefield.VkCuLaunchInfoNVXsType$Default()Sets theSTRUCTURE_TYPE_CU_LAUNCH_INFO_NVXvalue to thesTypefield.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
VkCuLaunchInfoNVX
public VkCuLaunchInfoNVX(java.nio.ByteBuffer container)
Creates aVkCuLaunchInfoNVXinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
sType
public int sType()
- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()
- Returns:
- the value of the
pNextfield.
-
function
public long function()
- Returns:
- the value of the
functionfield.
-
gridDimX
public int gridDimX()
- Returns:
- the value of the
gridDimXfield.
-
gridDimY
public int gridDimY()
- Returns:
- the value of the
gridDimYfield.
-
gridDimZ
public int gridDimZ()
- Returns:
- the value of the
gridDimZfield.
-
blockDimX
public int blockDimX()
- Returns:
- the value of the
blockDimXfield.
-
blockDimY
public int blockDimY()
- Returns:
- the value of the
blockDimYfield.
-
blockDimZ
public int blockDimZ()
- Returns:
- the value of the
blockDimZfield.
-
sharedMemBytes
public int sharedMemBytes()
- Returns:
- the value of the
sharedMemBytesfield.
-
paramCount
public long paramCount()
- Returns:
- the value of the
paramCountfield.
-
pParams
@Nullable public org.lwjgl.PointerBuffer pParams()
- Returns:
- a
PointerBufferview of the data pointed to by thepParamsfield.
-
extraCount
public long extraCount()
- Returns:
- the value of the
extraCountfield.
-
pExtras
@Nullable public org.lwjgl.PointerBuffer pExtras()
- Returns:
- a
PointerBufferview of the data pointed to by thepExtrasfield.
-
sType
public VkCuLaunchInfoNVX sType(int value)
Sets the specified value to thesTypefield.
-
sType$Default
public VkCuLaunchInfoNVX sType$Default()
Sets theSTRUCTURE_TYPE_CU_LAUNCH_INFO_NVXvalue to thesTypefield.
-
pNext
public VkCuLaunchInfoNVX pNext(long value)
Sets the specified value to thepNextfield.
-
function
public VkCuLaunchInfoNVX function(long value)
Sets the specified value to thefunctionfield.
-
gridDimX
public VkCuLaunchInfoNVX gridDimX(int value)
Sets the specified value to thegridDimXfield.
-
gridDimY
public VkCuLaunchInfoNVX gridDimY(int value)
Sets the specified value to thegridDimYfield.
-
gridDimZ
public VkCuLaunchInfoNVX gridDimZ(int value)
Sets the specified value to thegridDimZfield.
-
blockDimX
public VkCuLaunchInfoNVX blockDimX(int value)
Sets the specified value to theblockDimXfield.
-
blockDimY
public VkCuLaunchInfoNVX blockDimY(int value)
Sets the specified value to theblockDimYfield.
-
blockDimZ
public VkCuLaunchInfoNVX blockDimZ(int value)
Sets the specified value to theblockDimZfield.
-
sharedMemBytes
public VkCuLaunchInfoNVX sharedMemBytes(int value)
Sets the specified value to thesharedMemBytesfield.
-
pParams
public VkCuLaunchInfoNVX pParams(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto thepParamsfield.
-
pExtras
public VkCuLaunchInfoNVX pExtras(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto thepExtrasfield.
-
set
public VkCuLaunchInfoNVX set(int sType, long pNext, long function, int gridDimX, int gridDimY, int gridDimZ, int blockDimX, int blockDimY, int blockDimZ, int sharedMemBytes, @Nullable org.lwjgl.PointerBuffer pParams, @Nullable org.lwjgl.PointerBuffer pExtras)
Initializes this struct with the specified values.
-
set
public VkCuLaunchInfoNVX set(VkCuLaunchInfoNVX src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkCuLaunchInfoNVX malloc()
Returns a newVkCuLaunchInfoNVXinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkCuLaunchInfoNVX calloc()
Returns a newVkCuLaunchInfoNVXinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkCuLaunchInfoNVX create()
Returns a newVkCuLaunchInfoNVXinstance allocated withBufferUtils.
-
create
public static VkCuLaunchInfoNVX create(long address)
Returns a newVkCuLaunchInfoNVXinstance for the specified memory address.
-
createSafe
@Nullable public static VkCuLaunchInfoNVX createSafe(long address)
-
malloc
public static VkCuLaunchInfoNVX.Buffer malloc(int capacity)
Returns a newVkCuLaunchInfoNVX.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkCuLaunchInfoNVX.Buffer calloc(int capacity)
Returns a newVkCuLaunchInfoNVX.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkCuLaunchInfoNVX.Buffer create(int capacity)
Returns a newVkCuLaunchInfoNVX.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkCuLaunchInfoNVX.Buffer create(long address, int capacity)
Create aVkCuLaunchInfoNVX.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkCuLaunchInfoNVX.Buffer createSafe(long address, int capacity)
-
malloc
public static VkCuLaunchInfoNVX malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkCuLaunchInfoNVXinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkCuLaunchInfoNVX calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkCuLaunchInfoNVXinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkCuLaunchInfoNVX.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkCuLaunchInfoNVX.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkCuLaunchInfoNVX.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkCuLaunchInfoNVX.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nfunction
public static long nfunction(long struct)
Unsafe version offunction().
-
ngridDimX
public static int ngridDimX(long struct)
Unsafe version ofgridDimX().
-
ngridDimY
public static int ngridDimY(long struct)
Unsafe version ofgridDimY().
-
ngridDimZ
public static int ngridDimZ(long struct)
Unsafe version ofgridDimZ().
-
nblockDimX
public static int nblockDimX(long struct)
Unsafe version ofblockDimX().
-
nblockDimY
public static int nblockDimY(long struct)
Unsafe version ofblockDimY().
-
nblockDimZ
public static int nblockDimZ(long struct)
Unsafe version ofblockDimZ().
-
nsharedMemBytes
public static int nsharedMemBytes(long struct)
Unsafe version ofsharedMemBytes().
-
nparamCount
public static long nparamCount(long struct)
Unsafe version ofparamCount().
-
npParams
@Nullable public static org.lwjgl.PointerBuffer npParams(long struct)
Unsafe version ofpParams.
-
nextraCount
public static long nextraCount(long struct)
Unsafe version ofextraCount().
-
npExtras
@Nullable public static org.lwjgl.PointerBuffer npExtras(long struct)
Unsafe version ofpExtras.
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nfunction
public static void nfunction(long struct, long value)Unsafe version offunction.
-
ngridDimX
public static void ngridDimX(long struct, int value)Unsafe version ofgridDimX.
-
ngridDimY
public static void ngridDimY(long struct, int value)Unsafe version ofgridDimY.
-
ngridDimZ
public static void ngridDimZ(long struct, int value)Unsafe version ofgridDimZ.
-
nblockDimX
public static void nblockDimX(long struct, int value)Unsafe version ofblockDimX.
-
nblockDimY
public static void nblockDimY(long struct, int value)Unsafe version ofblockDimY.
-
nblockDimZ
public static void nblockDimZ(long struct, int value)Unsafe version ofblockDimZ.
-
nsharedMemBytes
public static void nsharedMemBytes(long struct, int value)Unsafe version ofsharedMemBytes.
-
nparamCount
public static void nparamCount(long struct, long value)Sets the specified value to theparamCountfield of the specifiedstruct.
-
npParams
public static void npParams(long struct, @Nullable org.lwjgl.PointerBuffer value)Unsafe version ofpParams.
-
nextraCount
public static void nextraCount(long struct, long value)Sets the specified value to theextraCountfield of the specifiedstruct.
-
npExtras
public static void npExtras(long struct, @Nullable org.lwjgl.PointerBuffer value)Unsafe version ofpExtras.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-