Package org.lwjgl.vulkan
Class VkCuLaunchInfoNVX.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkCuLaunchInfoNVX,VkCuLaunchInfoNVX.Buffer>
-
- org.lwjgl.vulkan.VkCuLaunchInfoNVX.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkCuLaunchInfoNVX>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkCuLaunchInfoNVX
public static class VkCuLaunchInfoNVX.Buffer extends org.lwjgl.system.StructBuffer<VkCuLaunchInfoNVX,VkCuLaunchInfoNVX.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkCuLaunchInfoNVXstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intblockDimX()VkCuLaunchInfoNVX.BufferblockDimX(int value)Sets the specified value to theblockDimXfield.intblockDimY()VkCuLaunchInfoNVX.BufferblockDimY(int value)Sets the specified value to theblockDimYfield.intblockDimZ()VkCuLaunchInfoNVX.BufferblockDimZ(int value)Sets the specified value to theblockDimZfield.longextraCount()longfunction()VkCuLaunchInfoNVX.Bufferfunction(long value)Sets the specified value to thefunctionfield.intgridDimX()VkCuLaunchInfoNVX.BuffergridDimX(int value)Sets the specified value to thegridDimXfield.intgridDimY()VkCuLaunchInfoNVX.BuffergridDimY(int value)Sets the specified value to thegridDimYfield.intgridDimZ()VkCuLaunchInfoNVX.BuffergridDimZ(int value)Sets the specified value to thegridDimZfield.longparamCount()org.lwjgl.PointerBufferpExtras()VkCuLaunchInfoNVX.BufferpExtras(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto thepExtrasfield.longpNext()VkCuLaunchInfoNVX.BufferpNext(long value)Sets the specified value to thepNextfield.org.lwjgl.PointerBufferpParams()VkCuLaunchInfoNVX.BufferpParams(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto thepParamsfield.intsharedMemBytes()VkCuLaunchInfoNVX.BuffersharedMemBytes(int value)Sets the specified value to thesharedMemBytesfield.intsType()VkCuLaunchInfoNVX.BuffersType(int value)Sets the specified value to thesTypefield.VkCuLaunchInfoNVX.BuffersType$Default()Sets theSTRUCTURE_TYPE_CU_LAUNCH_INFO_NVXvalue to thesTypefield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkCuLaunchInfoNVX.Bufferinstance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided byVkCuLaunchInfoNVX.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
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.Buffer sType(int value)
Sets the specified value to thesTypefield.
-
sType$Default
public VkCuLaunchInfoNVX.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_CU_LAUNCH_INFO_NVXvalue to thesTypefield.
-
pNext
public VkCuLaunchInfoNVX.Buffer pNext(long value)
Sets the specified value to thepNextfield.
-
function
public VkCuLaunchInfoNVX.Buffer function(long value)
Sets the specified value to thefunctionfield.
-
gridDimX
public VkCuLaunchInfoNVX.Buffer gridDimX(int value)
Sets the specified value to thegridDimXfield.
-
gridDimY
public VkCuLaunchInfoNVX.Buffer gridDimY(int value)
Sets the specified value to thegridDimYfield.
-
gridDimZ
public VkCuLaunchInfoNVX.Buffer gridDimZ(int value)
Sets the specified value to thegridDimZfield.
-
blockDimX
public VkCuLaunchInfoNVX.Buffer blockDimX(int value)
Sets the specified value to theblockDimXfield.
-
blockDimY
public VkCuLaunchInfoNVX.Buffer blockDimY(int value)
Sets the specified value to theblockDimYfield.
-
blockDimZ
public VkCuLaunchInfoNVX.Buffer blockDimZ(int value)
Sets the specified value to theblockDimZfield.
-
sharedMemBytes
public VkCuLaunchInfoNVX.Buffer sharedMemBytes(int value)
Sets the specified value to thesharedMemBytesfield.
-
pParams
public VkCuLaunchInfoNVX.Buffer pParams(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto thepParamsfield.
-
pExtras
public VkCuLaunchInfoNVX.Buffer pExtras(@Nullable org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto thepExtrasfield.
-
-