Package org.lwjgl.vulkan
Class VkCudaLaunchInfoNV.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<VkCudaLaunchInfoNV.Buffer>
org.lwjgl.system.StructBuffer<VkCudaLaunchInfoNV,VkCudaLaunchInfoNV.Buffer>
org.lwjgl.vulkan.VkCudaLaunchInfoNV.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<VkCudaLaunchInfoNV>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
VkCudaLaunchInfoNV
public static class VkCudaLaunchInfoNV.Buffer
extends org.lwjgl.system.StructBuffer<VkCudaLaunchInfoNV,VkCudaLaunchInfoNV.Buffer>
implements org.lwjgl.system.NativeResource
An array of
VkCudaLaunchInfoNV structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newVkCudaLaunchInfoNV.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionintblockDimX(int value) Sets the specified value to theVkCudaLaunchInfoNV.blockDimX()field.intblockDimY(int value) Sets the specified value to theVkCudaLaunchInfoNV.blockDimY()field.intblockDimZ(int value) Sets the specified value to theVkCudaLaunchInfoNV.blockDimZ()field.longextraCount(long value) Sets the specified value to theVkCudaLaunchInfoNV.extraCount()field.longfunction()function(long value) Sets the specified value to theVkCudaLaunchInfoNV.function()field.intgridDimX()gridDimX(int value) Sets the specified value to theVkCudaLaunchInfoNV.gridDimX()field.intgridDimY()gridDimY(int value) Sets the specified value to theVkCudaLaunchInfoNV.gridDimY()field.intgridDimZ()gridDimZ(int value) Sets the specified value to theVkCudaLaunchInfoNV.gridDimZ()field.longparamCount(long value) Sets the specified value to theVkCudaLaunchInfoNV.paramCount()field.@Nullable org.lwjgl.PointerBufferpExtras()pExtras(@Nullable org.lwjgl.PointerBuffer value) Sets the address of the specifiedPointerBufferto theVkCudaLaunchInfoNV.pExtras()field.longpNext()pNext(long value) Sets the specified value to theVkCudaLaunchInfoNV.pNext()field.@Nullable org.lwjgl.PointerBufferpParams()pParams(@Nullable org.lwjgl.PointerBuffer value) Sets the address of the specifiedPointerBufferto theVkCudaLaunchInfoNV.pParams()field.intsharedMemBytes(int value) Sets the specified value to theVkCudaLaunchInfoNV.sharedMemBytes()field.intsType()sType(int value) Sets the specified value to theVkCudaLaunchInfoNV.sType()field.Sets theSTRUCTURE_TYPE_CUDA_LAUNCH_INFO_NVvalue to theVkCudaLaunchInfoNV.sType()field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newVkCudaLaunchInfoNV.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 by
VkCudaLaunchInfoNV.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 Details
-
sType
public int sType()- Returns:
- the value of the
VkCudaLaunchInfoNV.sType()field.
-
pNext
public long pNext()- Returns:
- the value of the
VkCudaLaunchInfoNV.pNext()field.
-
function
public long function()- Returns:
- the value of the
VkCudaLaunchInfoNV.function()field.
-
gridDimX
public int gridDimX()- Returns:
- the value of the
VkCudaLaunchInfoNV.gridDimX()field.
-
gridDimY
public int gridDimY()- Returns:
- the value of the
VkCudaLaunchInfoNV.gridDimY()field.
-
gridDimZ
public int gridDimZ()- Returns:
- the value of the
VkCudaLaunchInfoNV.gridDimZ()field.
-
blockDimX
public int blockDimX()- Returns:
- the value of the
VkCudaLaunchInfoNV.blockDimX()field.
-
blockDimY
public int blockDimY()- Returns:
- the value of the
VkCudaLaunchInfoNV.blockDimY()field.
-
blockDimZ
public int blockDimZ()- Returns:
- the value of the
VkCudaLaunchInfoNV.blockDimZ()field.
-
paramCount
public long paramCount()- Returns:
- the value of the
VkCudaLaunchInfoNV.paramCount()field.
-
pParams
public @Nullable org.lwjgl.PointerBuffer pParams()- Returns:
- a
PointerBufferview of the data pointed to by theVkCudaLaunchInfoNV.pParams()field.
-
extraCount
public long extraCount()- Returns:
- the value of the
VkCudaLaunchInfoNV.extraCount()field.
-
pExtras
public @Nullable org.lwjgl.PointerBuffer pExtras()- Returns:
- a
PointerBufferview of the data pointed to by theVkCudaLaunchInfoNV.pExtras()field.
-
sType
Sets the specified value to theVkCudaLaunchInfoNV.sType()field. -
sType$Default
Sets theSTRUCTURE_TYPE_CUDA_LAUNCH_INFO_NVvalue to theVkCudaLaunchInfoNV.sType()field. -
pNext
Sets the specified value to theVkCudaLaunchInfoNV.pNext()field. -
function
Sets the specified value to theVkCudaLaunchInfoNV.function()field. -
gridDimX
Sets the specified value to theVkCudaLaunchInfoNV.gridDimX()field. -
gridDimY
Sets the specified value to theVkCudaLaunchInfoNV.gridDimY()field. -
gridDimZ
Sets the specified value to theVkCudaLaunchInfoNV.gridDimZ()field. -
blockDimX
Sets the specified value to theVkCudaLaunchInfoNV.blockDimX()field. -
blockDimY
Sets the specified value to theVkCudaLaunchInfoNV.blockDimY()field. -
blockDimZ
Sets the specified value to theVkCudaLaunchInfoNV.blockDimZ()field. -
paramCount
Sets the specified value to theVkCudaLaunchInfoNV.paramCount()field. -
pParams
Sets the address of the specifiedPointerBufferto theVkCudaLaunchInfoNV.pParams()field. -
extraCount
Sets the specified value to theVkCudaLaunchInfoNV.extraCount()field. -
pExtras
Sets the address of the specifiedPointerBufferto theVkCudaLaunchInfoNV.pExtras()field.
-