Package org.lwjgl.cuda
Class CUDA_EXT_SEM_SIGNAL_NODE_PARAMS.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<CUDA_EXT_SEM_SIGNAL_NODE_PARAMS,CUDA_EXT_SEM_SIGNAL_NODE_PARAMS.Buffer>
-
- org.lwjgl.cuda.CUDA_EXT_SEM_SIGNAL_NODE_PARAMS.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<CUDA_EXT_SEM_SIGNAL_NODE_PARAMS>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- CUDA_EXT_SEM_SIGNAL_NODE_PARAMS
public static class CUDA_EXT_SEM_SIGNAL_NODE_PARAMS.Buffer extends org.lwjgl.system.StructBuffer<CUDA_EXT_SEM_SIGNAL_NODE_PARAMS,CUDA_EXT_SEM_SIGNAL_NODE_PARAMS.Buffer> implements org.lwjgl.system.NativeResource
An array ofCUDA_EXT_SEM_SIGNAL_NODE_PARAMSstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.lwjgl.PointerBufferextSemArray()CUDA_EXT_SEM_SIGNAL_NODE_PARAMS.BufferextSemArray(org.lwjgl.PointerBuffer value)Sets the address of the specifiedPointerBufferto theCUDA_EXT_SEM_SIGNAL_NODE_PARAMS.extSemArray()field.intnumExtSems()CUDA_EXT_SEM_SIGNAL_NODE_PARAMS.BuffernumExtSems(int value)Sets the specified value to theCUDA_EXT_SEM_SIGNAL_NODE_PARAMS.numExtSems()field.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS.BufferparamsArray()CUDA_EXT_SEM_SIGNAL_NODE_PARAMS.BufferparamsArray(CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS.Buffer value)Sets the address of the specifiedCUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS.Bufferto theCUDA_EXT_SEM_SIGNAL_NODE_PARAMS.paramsArray()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newCUDA_EXT_SEM_SIGNAL_NODE_PARAMS.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 byCUDA_EXT_SEM_SIGNAL_NODE_PARAMS.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
-
extSemArray
public org.lwjgl.PointerBuffer extSemArray()
- Returns:
- a
PointerBufferview of the data pointed to by theCUDA_EXT_SEM_SIGNAL_NODE_PARAMS.extSemArray()field.
-
paramsArray
public CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS.Buffer paramsArray()
- Returns:
- a
CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS.Bufferview of the struct array pointed to by theCUDA_EXT_SEM_SIGNAL_NODE_PARAMS.paramsArray()field.
-
numExtSems
public int numExtSems()
- Returns:
- the value of the
CUDA_EXT_SEM_SIGNAL_NODE_PARAMS.numExtSems()field.
-
extSemArray
public CUDA_EXT_SEM_SIGNAL_NODE_PARAMS.Buffer extSemArray(org.lwjgl.PointerBuffer value)
Sets the address of the specifiedPointerBufferto theCUDA_EXT_SEM_SIGNAL_NODE_PARAMS.extSemArray()field.
-
paramsArray
public CUDA_EXT_SEM_SIGNAL_NODE_PARAMS.Buffer paramsArray(CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS.Buffer value)
Sets the address of the specifiedCUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS.Bufferto theCUDA_EXT_SEM_SIGNAL_NODE_PARAMS.paramsArray()field.
-
numExtSems
public CUDA_EXT_SEM_SIGNAL_NODE_PARAMS.Buffer numExtSems(int value)
Sets the specified value to theCUDA_EXT_SEM_SIGNAL_NODE_PARAMS.numExtSems()field.
-
-