public static class CUDA_MEMCPY3D_PEER.Buffer extends org.lwjgl.system.StructBuffer<CUDA_MEMCPY3D_PEER,CUDA_MEMCPY3D_PEER.Buffer> implements org.lwjgl.system.NativeResource
CUDA_MEMCPY3D_PEER structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
CUDA_MEMCPY3D_PEER.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_PEER.Buffer |
Depth(long value)
Sets the specified value to the
Depth field. |
long |
dstArray()
Returns the value of the
dstArray field. |
CUDA_MEMCPY3D_PEER.Buffer |
dstArray(long value)
Sets the specified value to the
dstArray field. |
long |
dstContext()
Returns the value of the
dstContext field. |
CUDA_MEMCPY3D_PEER.Buffer |
dstContext(long value)
Sets the specified value to the
dstContext field. |
long |
dstDevice()
Returns the value of the
dstDevice field. |
CUDA_MEMCPY3D_PEER.Buffer |
dstDevice(long value)
Sets the specified value to the
dstDevice field. |
long |
dstHeight()
Returns the value of the
dstHeight field. |
CUDA_MEMCPY3D_PEER.Buffer |
dstHeight(long value)
Sets the specified value to the
dstHeight field. |
CUDA_MEMCPY3D_PEER.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_PEER.Buffer |
dstLOD(long value)
Sets the specified value to the
dstLOD field. |
int |
dstMemoryType()
Returns the value of the
dstMemoryType field. |
CUDA_MEMCPY3D_PEER.Buffer |
dstMemoryType(int value)
Sets the specified value to the
dstMemoryType field. |
long |
dstPitch()
Returns the value of the
dstPitch field. |
CUDA_MEMCPY3D_PEER.Buffer |
dstPitch(long value)
Sets the specified value to the
dstPitch field. |
long |
dstXInBytes()
Returns the value of the
dstXInBytes field. |
CUDA_MEMCPY3D_PEER.Buffer |
dstXInBytes(long value)
Sets the specified value to the
dstXInBytes field. |
long |
dstY()
Returns the value of the
dstY field. |
CUDA_MEMCPY3D_PEER.Buffer |
dstY(long value)
Sets the specified value to the
dstY field. |
long |
dstZ()
Returns the value of the
dstZ field. |
CUDA_MEMCPY3D_PEER.Buffer |
dstZ(long value)
Sets the specified value to the
dstZ field. |
long |
Height()
Returns the value of the
Height field. |
CUDA_MEMCPY3D_PEER.Buffer |
Height(long value)
Sets the specified value to the
Height field. |
long |
srcArray()
Returns the value of the
srcArray field. |
CUDA_MEMCPY3D_PEER.Buffer |
srcArray(long value)
Sets the specified value to the
srcArray field. |
long |
srcContext()
Returns the value of the
srcContext field. |
CUDA_MEMCPY3D_PEER.Buffer |
srcContext(long value)
Sets the specified value to the
srcContext field. |
long |
srcDevice()
Returns the value of the
srcDevice field. |
CUDA_MEMCPY3D_PEER.Buffer |
srcDevice(long value)
Sets the specified value to the
srcDevice field. |
long |
srcHeight()
Returns the value of the
srcHeight field. |
CUDA_MEMCPY3D_PEER.Buffer |
srcHeight(long value)
Sets the specified value to the
srcHeight field. |
CUDA_MEMCPY3D_PEER.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_PEER.Buffer |
srcLOD(long value)
Sets the specified value to the
srcLOD field. |
int |
srcMemoryType()
Returns the value of the
srcMemoryType field. |
CUDA_MEMCPY3D_PEER.Buffer |
srcMemoryType(int value)
Sets the specified value to the
srcMemoryType field. |
long |
srcPitch()
Returns the value of the
srcPitch field. |
CUDA_MEMCPY3D_PEER.Buffer |
srcPitch(long value)
Sets the specified value to the
srcPitch field. |
long |
srcXInBytes()
Returns the value of the
srcXInBytes field. |
CUDA_MEMCPY3D_PEER.Buffer |
srcXInBytes(long value)
Sets the specified value to the
srcXInBytes field. |
long |
srcY()
Returns the value of the
srcY field. |
CUDA_MEMCPY3D_PEER.Buffer |
srcY(long value)
Sets the specified value to the
srcY field. |
long |
srcZ()
Returns the value of the
srcZ field. |
CUDA_MEMCPY3D_PEER.Buffer |
srcZ(long value)
Sets the specified value to the
srcZ field. |
long |
WidthInBytes()
Returns the value of the
WidthInBytes field. |
CUDA_MEMCPY3D_PEER.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_PEER.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_PEER.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 long srcContext()
srcContext field.public 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 long dstContext()
dstContext field.public 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_PEER.Buffer srcXInBytes(long value)
srcXInBytes field.public CUDA_MEMCPY3D_PEER.Buffer srcY(long value)
srcY field.public CUDA_MEMCPY3D_PEER.Buffer srcZ(long value)
srcZ field.public CUDA_MEMCPY3D_PEER.Buffer srcLOD(long value)
srcLOD field.public CUDA_MEMCPY3D_PEER.Buffer srcMemoryType(int value)
srcMemoryType field.public CUDA_MEMCPY3D_PEER.Buffer srcHost(java.nio.ByteBuffer value)
ByteBuffer to the srcHost field.public CUDA_MEMCPY3D_PEER.Buffer srcDevice(long value)
srcDevice field.public CUDA_MEMCPY3D_PEER.Buffer srcArray(long value)
srcArray field.public CUDA_MEMCPY3D_PEER.Buffer srcContext(long value)
srcContext field.public CUDA_MEMCPY3D_PEER.Buffer srcPitch(long value)
srcPitch field.public CUDA_MEMCPY3D_PEER.Buffer srcHeight(long value)
srcHeight field.public CUDA_MEMCPY3D_PEER.Buffer dstXInBytes(long value)
dstXInBytes field.public CUDA_MEMCPY3D_PEER.Buffer dstY(long value)
dstY field.public CUDA_MEMCPY3D_PEER.Buffer dstZ(long value)
dstZ field.public CUDA_MEMCPY3D_PEER.Buffer dstLOD(long value)
dstLOD field.public CUDA_MEMCPY3D_PEER.Buffer dstMemoryType(int value)
dstMemoryType field.public CUDA_MEMCPY3D_PEER.Buffer dstHost(java.nio.ByteBuffer value)
ByteBuffer to the dstHost field.public CUDA_MEMCPY3D_PEER.Buffer dstDevice(long value)
dstDevice field.public CUDA_MEMCPY3D_PEER.Buffer dstArray(long value)
dstArray field.public CUDA_MEMCPY3D_PEER.Buffer dstContext(long value)
dstContext field.public CUDA_MEMCPY3D_PEER.Buffer dstPitch(long value)
dstPitch field.public CUDA_MEMCPY3D_PEER.Buffer dstHeight(long value)
dstHeight field.public CUDA_MEMCPY3D_PEER.Buffer WidthInBytes(long value)
WidthInBytes field.public CUDA_MEMCPY3D_PEER.Buffer Height(long value)
Height field.public CUDA_MEMCPY3D_PEER.Buffer Depth(long value)
Depth field.Copyright LWJGL. All Rights Reserved. License terms.