public static class CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer extends org.lwjgl.system.StructBuffer<CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS,CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer> implements org.lwjgl.system.NativeResource
CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
flags()
Returns the value of the
flags field. |
CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer |
flags(int value)
Sets the specified value to the
flags field. |
long |
params_fence_value()
Returns the value of the
params.fence.value field. |
CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer |
params_fence_value(long value)
Sets the specified value to the
params.fence.value field. |
java.nio.IntBuffer |
params_reserved()
Returns a
IntBuffer view of the params.reserved field. |
int |
params_reserved(int index)
Returns the value at the specified index of the
params.reserved field. |
CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer |
params_reserved(java.nio.IntBuffer value)
Copies the specified
IntBuffer to the params.reserved field. |
CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer |
params_reserved(int index,
int value)
Sets the specified value at the specified index of the
params.reserved field. |
java.nio.IntBuffer |
reserved()
Returns a
IntBuffer view of the reserved field. |
int |
reserved(int index)
Returns the value at the specified index of the
reserved field. |
CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer |
reserved(java.nio.IntBuffer value)
Copies the specified
IntBuffer to the reserved field. |
CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer |
reserved(int index,
int value)
Sets the specified value at the specified index of the
reserved field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer instance 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 CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public long params_fence_value()
params.fence.value field.public java.nio.IntBuffer params_reserved()
IntBuffer view of the params.reserved field.public int params_reserved(int index)
params.reserved field.public int flags()
flags field.public java.nio.IntBuffer reserved()
IntBuffer view of the reserved field.public int reserved(int index)
reserved field.public CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer params_fence_value(long value)
params.fence.value field.public CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer params_reserved(java.nio.IntBuffer value)
IntBuffer to the params.reserved field.public CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer params_reserved(int index, int value)
params.reserved field.public CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer flags(int value)
flags field.public CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer reserved(java.nio.IntBuffer value)
IntBuffer to the reserved field.public CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS.Buffer reserved(int index, int value)
reserved field.Copyright LWJGL. All Rights Reserved. License terms.