public static class CUDA_MEMSET_NODE_PARAMS.Buffer extends org.lwjgl.system.StructBuffer<CUDA_MEMSET_NODE_PARAMS,CUDA_MEMSET_NODE_PARAMS.Buffer> implements org.lwjgl.system.NativeResource
CUDA_MEMSET_NODE_PARAMS structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
CUDA_MEMSET_NODE_PARAMS.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
long |
dst()
Returns the value of the
dst field. |
CUDA_MEMSET_NODE_PARAMS.Buffer |
dst(long value)
Sets the specified value to the
dst field. |
int |
elementSize()
Returns the value of the
elementSize field. |
CUDA_MEMSET_NODE_PARAMS.Buffer |
elementSize(int value)
Sets the specified value to the
elementSize field. |
long |
height()
Returns the value of the
height field. |
CUDA_MEMSET_NODE_PARAMS.Buffer |
height(long value)
Sets the specified value to the
height field. |
long |
pitch()
Returns the value of the
pitch field. |
CUDA_MEMSET_NODE_PARAMS.Buffer |
pitch(long value)
Sets the specified value to the
pitch field. |
int |
value()
Returns the value of the
value field. |
CUDA_MEMSET_NODE_PARAMS.Buffer |
value(int value)
Sets the specified value to the
value field. |
long |
width()
Returns the value of the
width field. |
CUDA_MEMSET_NODE_PARAMS.Buffer |
width(long value)
Sets the specified value to the
width field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
CUDA_MEMSET_NODE_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_MEMSET_NODE_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 dst()
dst field.public long pitch()
pitch field.public int value()
value field.public int elementSize()
elementSize field.public long width()
width field.public long height()
height field.public CUDA_MEMSET_NODE_PARAMS.Buffer dst(long value)
dst field.public CUDA_MEMSET_NODE_PARAMS.Buffer pitch(long value)
pitch field.public CUDA_MEMSET_NODE_PARAMS.Buffer value(int value)
value field.public CUDA_MEMSET_NODE_PARAMS.Buffer elementSize(int value)
elementSize field.public CUDA_MEMSET_NODE_PARAMS.Buffer width(long value)
width field.public CUDA_MEMSET_NODE_PARAMS.Buffer height(long value)
height field.Copyright LWJGL. All Rights Reserved. License terms.