Top Description Inners Fields Constructors Methods
org.lwjgl.cuda

public Class CUDA_MEMCPY3D

extends Struct<CUDA_MEMCPY3D>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Layout


struct CUDA_MEMCPY3D {
    size_t srcXInBytes;
    size_t srcY;
    size_t srcZ;
    size_t srcLOD;
    CUmemorytype srcMemoryType;
    void const * srcHost;
    CUdeviceptr srcDevice;
    CUarray srcArray;
    void * reserved0;
    size_t srcPitch;
    size_t srcHeight;
    size_t dstXInBytes;
    size_t dstY;
    size_t dstZ;
    size_t dstLOD;
    CUmemorytype dstMemoryType;
    void * dstHost;
    CUdeviceptr dstDevice;
    CUarray dstArray;
    void * reserved1;
    size_t dstPitch;
    size_t dstHeight;
    size_t WidthInBytes;
    size_t Height;
    size_t Depth;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
CUDA_MEMCPY3D.Buffer

An array of CUDA_MEMCPY3D structs.

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
DEPTH

The struct member offsets.

public static final int
DSTARRAY

The struct member offsets.

public static final int
DSTDEVICE

The struct member offsets.

public static final int
DSTHEIGHT

The struct member offsets.

public static final int
DSTHOST

The struct member offsets.

public static final int
DSTLOD

The struct member offsets.

public static final int
DSTMEMORYTYPE

The struct member offsets.

public static final int
DSTPITCH

The struct member offsets.

public static final int
DSTXINBYTES

The struct member offsets.

public static final int
DSTY

The struct member offsets.

public static final int
DSTZ

The struct member offsets.

public static final int
HEIGHT

The struct member offsets.

public static final int
RESERVED0

The struct member offsets.

public static final int
RESERVED1

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
SRCARRAY

The struct member offsets.

public static final int
SRCDEVICE

The struct member offsets.

public static final int
SRCHEIGHT

The struct member offsets.

public static final int
SRCHOST

The struct member offsets.

public static final int
SRCLOD

The struct member offsets.

public static final int
SRCMEMORYTYPE

The struct member offsets.

public static final int
SRCPITCH

The struct member offsets.

public static final int
SRCXINBYTES

The struct member offsets.

public static final int
SRCY

The struct member offsets.

public static final int
SRCZ

The struct member offsets.

public static final int
WIDTHINBYTES

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
CUDA_MEMCPY3D(long address, ByteBuffer container)

public
CUDA_MEMCPY3D(ByteBuffer container)

Creates a CUDA_MEMCPY3D instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static CUDA_MEMCPY3D
calloc()

Returns a new CUDA_MEMCPY3D instance allocated with memCalloc.

public static CUDA_MEMCPY3D.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new CUDA_MEMCPY3D.Buffer instance allocated with memCalloc.

public static CUDA_MEMCPY3D
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new CUDA_MEMCPY3D instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static CUDA_MEMCPY3D.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new CUDA_MEMCPY3D.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static CUDA_MEMCPY3D
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static CUDA_MEMCPY3D
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static CUDA_MEMCPY3D.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static CUDA_MEMCPY3D.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected CUDA_MEMCPY3D
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static CUDA_MEMCPY3D
create()

Returns a new CUDA_MEMCPY3D instance allocated with BufferUtils.

public static CUDA_MEMCPY3D
create(long address)

Returns a new CUDA_MEMCPY3D instance for the specified memory address.

public static CUDA_MEMCPY3D.Buffer
create(int
the buffer capacity
capacity
)

Returns a new CUDA_MEMCPY3D.Buffer instance allocated with BufferUtils.

public static CUDA_MEMCPY3D.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a CUDA_MEMCPY3D.Buffer instance at the specified memory.

public static CUDA_MEMCPY3D
createSafe(long address)

Like create, but returns null if address is NULL.

public static CUDA_MEMCPY3D.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public long

Returns:

the value of the Depth field.
Depth
()

public CUDA_MEMCPY3D
Depth(long value)

Sets the specified value to the Depth field.

public long

Returns:

the value of the dstArray field.
dstArray
()

public CUDA_MEMCPY3D
dstArray(long value)

Sets the specified value to the dstArray field.

public long

Returns:

the value of the dstDevice field.
dstDevice
()

public CUDA_MEMCPY3D
dstDevice(long value)

Sets the specified value to the dstDevice field.

public long

Returns:

the value of the dstHeight field.
dstHeight
()

public CUDA_MEMCPY3D
dstHeight(long value)

Sets the specified value to the dstHeight field.

public ByteBuffer

Returns:

a ByteBuffer view of the data pointed to by the dstHost field.
dstHost
(int
the number of elements in the returned buffer
capacity
)

public CUDA_MEMCPY3D
dstHost(ByteBuffer value)

Sets the address of the specified ByteBuffer to the dstHost field.

public long

Returns:

the value of the dstLOD field.
dstLOD
()

public CUDA_MEMCPY3D
dstLOD(long value)

Sets the specified value to the dstLOD field.

public int

Returns:

the value of the dstMemoryType field.
dstMemoryType
()

public CUDA_MEMCPY3D
dstMemoryType(int value)

Sets the specified value to the dstMemoryType field.

public long

Returns:

the value of the dstPitch field.
dstPitch
()

public CUDA_MEMCPY3D
dstPitch(long value)

Sets the specified value to the dstPitch field.

public long

Returns:

the value of the dstXInBytes field.
dstXInBytes
()

public CUDA_MEMCPY3D
dstXInBytes(long value)

Sets the specified value to the dstXInBytes field.

public long

Returns:

the value of the dstY field.
dstY
()

public CUDA_MEMCPY3D
dstY(long value)

Sets the specified value to the dstY field.

public long

Returns:

the value of the dstZ field.
dstZ
()

public CUDA_MEMCPY3D
dstZ(long value)

Sets the specified value to the dstZ field.

public long

Returns:

the value of the Height field.
Height
()

public CUDA_MEMCPY3D
Height(long value)

Sets the specified value to the Height field.

public static CUDA_MEMCPY3D
malloc()

Returns a new CUDA_MEMCPY3D instance allocated with memAlloc.

public static CUDA_MEMCPY3D.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new CUDA_MEMCPY3D.Buffer instance allocated with memAlloc.

public static CUDA_MEMCPY3D
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new CUDA_MEMCPY3D instance allocated on the specified MemoryStack.

public static CUDA_MEMCPY3D.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new CUDA_MEMCPY3D.Buffer instance allocated on the specified MemoryStack.

public static CUDA_MEMCPY3D
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static CUDA_MEMCPY3D
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static CUDA_MEMCPY3D.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static CUDA_MEMCPY3D.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static long
nDepth(long struct)

Unsafe version of Depth.

public static void
nDepth(long struct, long value)

Unsafe version of Depth.

public static long
ndstArray(long struct)

Unsafe version of dstArray.

public static void
ndstArray(long struct, long value)

Unsafe version of dstArray.

public static long
ndstDevice(long struct)

Unsafe version of dstDevice.

public static void
ndstDevice(long struct, long value)

Unsafe version of dstDevice.

public static long
ndstHeight(long struct)

Unsafe version of dstHeight.

public static void
ndstHeight(long struct, long value)

Unsafe version of dstHeight.

public static ByteBuffer
ndstHost(long struct, int capacity)

Unsafe version of dstHost.

public static void
ndstHost(long struct, ByteBuffer value)

Unsafe version of dstHost.

public static long
ndstLOD(long struct)

Unsafe version of dstLOD.

public static void
ndstLOD(long struct, long value)

Unsafe version of dstLOD.

public static int
ndstMemoryType(long struct)

Unsafe version of dstMemoryType.

public static void
ndstMemoryType(long struct, int value)

Unsafe version of dstMemoryType.

public static long
ndstPitch(long struct)

Unsafe version of dstPitch.

public static void
ndstPitch(long struct, long value)

Unsafe version of dstPitch.

public static long
ndstXInBytes(long struct)

Unsafe version of dstXInBytes.

public static void
ndstXInBytes(long struct, long value)

Unsafe version of dstXInBytes.

public static long
ndstY(long struct)

Unsafe version of dstY.

public static void
ndstY(long struct, long value)

Unsafe version of dstY.

public static long
ndstZ(long struct)

Unsafe version of dstZ.

public static void
ndstZ(long struct, long value)

Unsafe version of dstZ.

public static long
nHeight(long struct)

Unsafe version of Height.

public static void
nHeight(long struct, long value)

Unsafe version of Height.

public static long
nreserved0(long struct)

Unsafe version of reserved0.

public static void
nreserved0(long struct, long value)

Unsafe version of reserved0.

public static long
nreserved1(long struct)

Unsafe version of reserved1.

public static void
nreserved1(long struct, long value)

Unsafe version of reserved1.

public static long
nsrcArray(long struct)

Unsafe version of srcArray.

public static void
nsrcArray(long struct, long value)

Unsafe version of srcArray.

public static long
nsrcDevice(long struct)

Unsafe version of srcDevice.

public static void
nsrcDevice(long struct, long value)

Unsafe version of srcDevice.

public static long
nsrcHeight(long struct)

Unsafe version of srcHeight.

public static void
nsrcHeight(long struct, long value)

Unsafe version of srcHeight.

public static ByteBuffer
nsrcHost(long struct, int capacity)

Unsafe version of srcHost.

public static void
nsrcHost(long struct, ByteBuffer value)

Unsafe version of srcHost.

public static long
nsrcLOD(long struct)

Unsafe version of srcLOD.

public static void
nsrcLOD(long struct, long value)

Unsafe version of srcLOD.

public static int
nsrcMemoryType(long struct)

Unsafe version of srcMemoryType.

public static void
nsrcMemoryType(long struct, int value)

Unsafe version of srcMemoryType.

public static long
nsrcPitch(long struct)

Unsafe version of srcPitch.

public static void
nsrcPitch(long struct, long value)

Unsafe version of srcPitch.

public static long
nsrcXInBytes(long struct)

Unsafe version of srcXInBytes.

public static void
nsrcXInBytes(long struct, long value)

Unsafe version of srcXInBytes.

public static long
nsrcY(long struct)

Unsafe version of srcY.

public static void
nsrcY(long struct, long value)

Unsafe version of srcY.

public static long
nsrcZ(long struct)

Unsafe version of srcZ.

public static void
nsrcZ(long struct, long value)

Unsafe version of srcZ.

public static long
nWidthInBytes(long struct)

Unsafe version of WidthInBytes.

public static void
nWidthInBytes(long struct, long value)

Unsafe version of WidthInBytes.

public long

Returns:

the value of the reserved0 field.
reserved0
()

public CUDA_MEMCPY3D
reserved0(long value)

Sets the specified value to the reserved0 field.

public long

Returns:

the value of the reserved1 field.
reserved1
()

public CUDA_MEMCPY3D
reserved1(long value)

Sets the specified value to the reserved1 field.

public CUDA_MEMCPY3D
set(long srcXInBytes, long srcY, long srcZ, long srcLOD, int srcMemoryType, ByteBuffer srcHost, long srcDevice, long srcArray, long reserved0, long srcPitch, long srcHeight, long dstXInBytes, long dstY, long dstZ, long dstLOD, int dstMemoryType, ByteBuffer dstHost, long dstDevice, long dstArray, long reserved1, long dstPitch, long dstHeight, long WidthInBytes, long Height, long Depth)

Initializes this struct with the specified values.

public CUDA_MEMCPY3D

Returns:

this struct
set
(CUDA_MEMCPY3D
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public long

Returns:

the value of the srcArray field.
srcArray
()

public CUDA_MEMCPY3D
srcArray(long value)

Sets the specified value to the srcArray field.

public long

Returns:

the value of the srcDevice field.
srcDevice
()

public CUDA_MEMCPY3D
srcDevice(long value)

Sets the specified value to the srcDevice field.

public long

Returns:

the value of the srcHeight field.
srcHeight
()

public CUDA_MEMCPY3D
srcHeight(long value)

Sets the specified value to the srcHeight field.

public ByteBuffer

Returns:

a ByteBuffer view of the data pointed to by the srcHost field.
srcHost
(int
the number of elements in the returned buffer
capacity
)

public CUDA_MEMCPY3D
srcHost(ByteBuffer value)

Sets the address of the specified ByteBuffer to the srcHost field.

public long

Returns:

the value of the srcLOD field.
srcLOD
()

public CUDA_MEMCPY3D
srcLOD(long value)

Sets the specified value to the srcLOD field.

public int

Returns:

the value of the srcMemoryType field.
srcMemoryType
()

public CUDA_MEMCPY3D
srcMemoryType(int value)

Sets the specified value to the srcMemoryType field.

public long

Returns:

the value of the srcPitch field.
srcPitch
()

public CUDA_MEMCPY3D
srcPitch(long value)

Sets the specified value to the srcPitch field.

public long

Returns:

the value of the srcXInBytes field.
srcXInBytes
()

public CUDA_MEMCPY3D
srcXInBytes(long value)

Sets the specified value to the srcXInBytes field.

public long

Returns:

the value of the srcY field.
srcY
()

public CUDA_MEMCPY3D
srcY(long value)

Sets the specified value to the srcY field.

public long

Returns:

the value of the srcZ field.
srcZ
()

public CUDA_MEMCPY3D
srcZ(long value)

Sets the specified value to the srcZ field.

public long

Returns:

the value of the WidthInBytes field.
WidthInBytes
()

public CUDA_MEMCPY3D
WidthInBytes(long value)

Sets the specified value to the WidthInBytes field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate