public static class CUDA_MEMCPY3D.Buffer extends org.lwjgl.system.StructBuffer<CUDA_MEMCPY3D,CUDA_MEMCPY3D.Buffer> implements org.lwjgl.system.NativeResource
CUDA_MEMCPY3D structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
CUDA_MEMCPY3D.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
long |
Depth()
Returns the value of the
Depth field. |
CUDA_MEMCPY3D.Buffer |
Depth(long value)
Sets the specified value to the
Depth field. |
long |
dstArray()
Returns the value of the
dstArray field. |
CUDA_MEMCPY3D.Buffer |
dstArray(long value)
Sets the specified value to the
dstArray field. |
long |
dstDevice()
Returns the value of the
dstDevice field. |
CUDA_MEMCPY3D.Buffer |
dstDevice(long value)
Sets the specified value to the
dstDevice field. |
long |
dstHeight()
Returns the value of the
dstHeight field. |
CUDA_MEMCPY3D.Buffer |
dstHeight(long value)
Sets the specified value to the
dstHeight field. |
CUDA_MEMCPY3D.Buffer |
dstHost(java.nio.ByteBuffer value)
Sets the address of the specified
ByteBuffer to the dstHost field. |
java.nio.ByteBuffer |
dstHost(int capacity)
Returns a
ByteBuffer view of the data pointed to by the dstHost field. |
long |
dstLOD()
Returns the value of the
dstLOD field. |
CUDA_MEMCPY3D.Buffer |
dstLOD(long value)
Sets the specified value to the
dstLOD field. |
int |
dstMemoryType()
Returns the value of the
dstMemoryType field. |
CUDA_MEMCPY3D.Buffer |
dstMemoryType(int value)
Sets the specified value to the
dstMemoryType field. |
long |
dstPitch()
Returns the value of the
dstPitch field. |
CUDA_MEMCPY3D.Buffer |
dstPitch(long value)
Sets the specified value to the
dstPitch field. |
long |
dstXInBytes()
Returns the value of the
dstXInBytes field. |
CUDA_MEMCPY3D.Buffer |
dstXInBytes(long value)
Sets the specified value to the
dstXInBytes field. |
long |
dstY()
Returns the value of the
dstY field. |
CUDA_MEMCPY3D.Buffer |
dstY(long value)
Sets the specified value to the
dstY field. |
long |
dstZ()
Returns the value of the
dstZ field. |
CUDA_MEMCPY3D.Buffer |
dstZ(long value)
Sets the specified value to the
dstZ field. |
long |
Height()
Returns the value of the
Height field. |
CUDA_MEMCPY3D.Buffer |
Height(long value)
Sets the specified value to the
Height field. |
CUDA_MEMCPY3D.Buffer |
reserved0(java.nio.ByteBuffer value)
Sets the address of the specified
ByteBuffer to the reserved0 field. |
java.nio.ByteBuffer |
reserved0(int capacity)
Returns a
ByteBuffer view of the data pointed to by the reserved0 field. |
CUDA_MEMCPY3D.Buffer |
reserved1(java.nio.ByteBuffer value)
Sets the address of the specified
ByteBuffer to the reserved1 field. |
java.nio.ByteBuffer |
reserved1(int capacity)
Returns a
ByteBuffer view of the data pointed to by the reserved1 field. |
long |
srcArray()
Returns the value of the
srcArray field. |
CUDA_MEMCPY3D.Buffer |
srcArray(long value)
Sets the specified value to the
srcArray field. |
long |
srcDevice()
Returns the value of the
srcDevice field. |
CUDA_MEMCPY3D.Buffer |
srcDevice(long value)
Sets the specified value to the
srcDevice field. |
long |
srcHeight()
Returns the value of the
srcHeight field. |
CUDA_MEMCPY3D.Buffer |
srcHeight(long value)
Sets the specified value to the
srcHeight field. |
CUDA_MEMCPY3D.Buffer |
srcHost(java.nio.ByteBuffer value)
Sets the address of the specified
ByteBuffer to the srcHost field. |
java.nio.ByteBuffer |
srcHost(int capacity)
Returns a
ByteBuffer view of the data pointed to by the srcHost field. |
long |
srcLOD()
Returns the value of the
srcLOD field. |
CUDA_MEMCPY3D.Buffer |
srcLOD(long value)
Sets the specified value to the
srcLOD field. |
int |
srcMemoryType()
Returns the value of the
srcMemoryType field. |
CUDA_MEMCPY3D.Buffer |
srcMemoryType(int value)
Sets the specified value to the
srcMemoryType field. |
long |
srcPitch()
Returns the value of the
srcPitch field. |
CUDA_MEMCPY3D.Buffer |
srcPitch(long value)
Sets the specified value to the
srcPitch field. |
long |
srcXInBytes()
Returns the value of the
srcXInBytes field. |
CUDA_MEMCPY3D.Buffer |
srcXInBytes(long value)
Sets the specified value to the
srcXInBytes field. |
long |
srcY()
Returns the value of the
srcY field. |
CUDA_MEMCPY3D.Buffer |
srcY(long value)
Sets the specified value to the
srcY field. |
long |
srcZ()
Returns the value of the
srcZ field. |
CUDA_MEMCPY3D.Buffer |
srcZ(long value)
Sets the specified value to the
srcZ field. |
long |
WidthInBytes()
Returns the value of the
WidthInBytes field. |
CUDA_MEMCPY3D.Buffer |
WidthInBytes(long value)
Sets the specified value to the
WidthInBytes field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
CUDA_MEMCPY3D.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_MEMCPY3D.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 srcXInBytes()
srcXInBytes field.public long srcY()
srcY field.public long srcZ()
srcZ field.public long srcLOD()
srcLOD field.public int srcMemoryType()
srcMemoryType field.public java.nio.ByteBuffer srcHost(int capacity)
ByteBuffer view of the data pointed to by the srcHost field.capacity - the number of elements in the returned bufferpublic long srcDevice()
srcDevice field.public long srcArray()
srcArray field.public java.nio.ByteBuffer reserved0(int capacity)
ByteBuffer view of the data pointed to by the reserved0 field.capacity - the number of elements in the returned bufferpublic long srcPitch()
srcPitch field.public long srcHeight()
srcHeight field.public long dstXInBytes()
dstXInBytes field.public long dstY()
dstY field.public long dstZ()
dstZ field.public long dstLOD()
dstLOD field.public int dstMemoryType()
dstMemoryType field.public java.nio.ByteBuffer dstHost(int capacity)
ByteBuffer view of the data pointed to by the dstHost field.capacity - the number of elements in the returned bufferpublic long dstDevice()
dstDevice field.public long dstArray()
dstArray field.public java.nio.ByteBuffer reserved1(int capacity)
ByteBuffer view of the data pointed to by the reserved1 field.capacity - the number of elements in the returned bufferpublic long dstPitch()
dstPitch field.public long dstHeight()
dstHeight field.public long WidthInBytes()
WidthInBytes field.public long Height()
Height field.public long Depth()
Depth field.public CUDA_MEMCPY3D.Buffer srcXInBytes(long value)
srcXInBytes field.public CUDA_MEMCPY3D.Buffer srcY(long value)
srcY field.public CUDA_MEMCPY3D.Buffer srcZ(long value)
srcZ field.public CUDA_MEMCPY3D.Buffer srcLOD(long value)
srcLOD field.public CUDA_MEMCPY3D.Buffer srcMemoryType(int value)
srcMemoryType field.public CUDA_MEMCPY3D.Buffer srcHost(java.nio.ByteBuffer value)
ByteBuffer to the srcHost field.public CUDA_MEMCPY3D.Buffer srcDevice(long value)
srcDevice field.public CUDA_MEMCPY3D.Buffer srcArray(long value)
srcArray field.public CUDA_MEMCPY3D.Buffer reserved0(java.nio.ByteBuffer value)
ByteBuffer to the reserved0 field.public CUDA_MEMCPY3D.Buffer srcPitch(long value)
srcPitch field.public CUDA_MEMCPY3D.Buffer srcHeight(long value)
srcHeight field.public CUDA_MEMCPY3D.Buffer dstXInBytes(long value)
dstXInBytes field.public CUDA_MEMCPY3D.Buffer dstY(long value)
dstY field.public CUDA_MEMCPY3D.Buffer dstZ(long value)
dstZ field.public CUDA_MEMCPY3D.Buffer dstLOD(long value)
dstLOD field.public CUDA_MEMCPY3D.Buffer dstMemoryType(int value)
dstMemoryType field.public CUDA_MEMCPY3D.Buffer dstHost(java.nio.ByteBuffer value)
ByteBuffer to the dstHost field.public CUDA_MEMCPY3D.Buffer dstDevice(long value)
dstDevice field.public CUDA_MEMCPY3D.Buffer dstArray(long value)
dstArray field.public CUDA_MEMCPY3D.Buffer reserved1(java.nio.ByteBuffer value)
ByteBuffer to the reserved1 field.public CUDA_MEMCPY3D.Buffer dstPitch(long value)
dstPitch field.public CUDA_MEMCPY3D.Buffer dstHeight(long value)
dstHeight field.public CUDA_MEMCPY3D.Buffer WidthInBytes(long value)
WidthInBytes field.public CUDA_MEMCPY3D.Buffer Height(long value)
Height field.public CUDA_MEMCPY3D.Buffer Depth(long value)
Depth field.Copyright LWJGL. All Rights Reserved. License terms.