public class CUDA_MEMCPY3D
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
srcXInBytes – Source X in bytessrcY – Source YsrcZ – Source ZsrcLOD – Source LODsrcMemoryType – Source memory type (host, device, array)srcHost – Source host pointersrcDevice – Source device pointersrcArray – Source array referencereserved0 – Must be NULLsrcPitch – Source pitch (ignored when src is array)srcHeight – Source height (ignored when src is array; may be 0 if Depth==1)dstXInBytes – Destination X in bytesdstY – Destination YdstZ – Destination ZdstLOD – Destination LODdstMemoryType – Destination memory type (host, device, array)dstHost – Destination host pointerdstDevice – Destination device pointerdstArray – Destination array referencereserved1 – Must be NULLdstPitch – Destination pitch (ignored when dst is array)dstHeight – Destination height (ignored when dst is array; may be 0 if Depth==1)WidthInBytes – Width of 3D memory copy in bytesHeight – Height of 3D memory copyDepth – Depth of 3D memory copy
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;
}| Modifier and Type | Class and Description |
|---|---|
static class |
CUDA_MEMCPY3D.Buffer
An array of
CUDA_MEMCPY3D structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DEPTH
The struct member offsets.
|
static int |
DSTARRAY
The struct member offsets.
|
static int |
DSTDEVICE
The struct member offsets.
|
static int |
DSTHEIGHT
The struct member offsets.
|
static int |
DSTHOST
The struct member offsets.
|
static int |
DSTLOD
The struct member offsets.
|
static int |
DSTMEMORYTYPE
The struct member offsets.
|
static int |
DSTPITCH
The struct member offsets.
|
static int |
DSTXINBYTES
The struct member offsets.
|
static int |
DSTY
The struct member offsets.
|
static int |
DSTZ
The struct member offsets.
|
static int |
HEIGHT
The struct member offsets.
|
static int |
RESERVED0
The struct member offsets.
|
static int |
RESERVED1
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
SRCARRAY
The struct member offsets.
|
static int |
SRCDEVICE
The struct member offsets.
|
static int |
SRCHEIGHT
The struct member offsets.
|
static int |
SRCHOST
The struct member offsets.
|
static int |
SRCLOD
The struct member offsets.
|
static int |
SRCMEMORYTYPE
The struct member offsets.
|
static int |
SRCPITCH
The struct member offsets.
|
static int |
SRCXINBYTES
The struct member offsets.
|
static int |
SRCY
The struct member offsets.
|
static int |
SRCZ
The struct member offsets.
|
static int |
WIDTHINBYTES
The struct member offsets.
|
| Constructor and Description |
|---|
CUDA_MEMCPY3D(java.nio.ByteBuffer container)
Creates a
CUDA_MEMCPY3D instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static CUDA_MEMCPY3D |
calloc()
Returns a new
CUDA_MEMCPY3D instance allocated with memCalloc. |
static CUDA_MEMCPY3D.Buffer |
calloc(int capacity)
Returns a new
CUDA_MEMCPY3D.Buffer instance allocated with memCalloc. |
static CUDA_MEMCPY3D |
callocStack()
Returns a new
CUDA_MEMCPY3D instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static CUDA_MEMCPY3D.Buffer |
callocStack(int capacity)
Returns a new
CUDA_MEMCPY3D.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static CUDA_MEMCPY3D.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
CUDA_MEMCPY3D.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static CUDA_MEMCPY3D |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
CUDA_MEMCPY3D instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static CUDA_MEMCPY3D |
create()
Returns a new
CUDA_MEMCPY3D instance allocated with BufferUtils. |
static CUDA_MEMCPY3D.Buffer |
create(int capacity)
Returns a new
CUDA_MEMCPY3D.Buffer instance allocated with BufferUtils. |
static CUDA_MEMCPY3D |
create(long address)
Returns a new
CUDA_MEMCPY3D instance for the specified memory address. |
static CUDA_MEMCPY3D.Buffer |
create(long address,
int capacity)
Create a
CUDA_MEMCPY3D.Buffer instance at the specified memory. |
static CUDA_MEMCPY3D |
createSafe(long address)
|
static CUDA_MEMCPY3D.Buffer |
createSafe(long address,
int capacity)
|
long |
Depth()
Returns the value of the
Depth field. |
CUDA_MEMCPY3D |
Depth(long value)
Sets the specified value to the
Depth field. |
long |
dstArray()
Returns the value of the
dstArray field. |
CUDA_MEMCPY3D |
dstArray(long value)
Sets the specified value to the
dstArray field. |
long |
dstDevice()
Returns the value of the
dstDevice field. |
CUDA_MEMCPY3D |
dstDevice(long value)
Sets the specified value to the
dstDevice field. |
long |
dstHeight()
Returns the value of the
dstHeight field. |
CUDA_MEMCPY3D |
dstHeight(long value)
Sets the specified value to the
dstHeight field. |
CUDA_MEMCPY3D |
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 |
dstLOD(long value)
Sets the specified value to the
dstLOD field. |
int |
dstMemoryType()
Returns the value of the
dstMemoryType field. |
CUDA_MEMCPY3D |
dstMemoryType(int value)
Sets the specified value to the
dstMemoryType field. |
long |
dstPitch()
Returns the value of the
dstPitch field. |
CUDA_MEMCPY3D |
dstPitch(long value)
Sets the specified value to the
dstPitch field. |
long |
dstXInBytes()
Returns the value of the
dstXInBytes field. |
CUDA_MEMCPY3D |
dstXInBytes(long value)
Sets the specified value to the
dstXInBytes field. |
long |
dstY()
Returns the value of the
dstY field. |
CUDA_MEMCPY3D |
dstY(long value)
Sets the specified value to the
dstY field. |
long |
dstZ()
Returns the value of the
dstZ field. |
CUDA_MEMCPY3D |
dstZ(long value)
Sets the specified value to the
dstZ field. |
long |
Height()
Returns the value of the
Height field. |
CUDA_MEMCPY3D |
Height(long value)
Sets the specified value to the
Height field. |
static CUDA_MEMCPY3D |
malloc()
Returns a new
CUDA_MEMCPY3D instance allocated with memAlloc. |
static CUDA_MEMCPY3D.Buffer |
malloc(int capacity)
Returns a new
CUDA_MEMCPY3D.Buffer instance allocated with memAlloc. |
static CUDA_MEMCPY3D |
mallocStack()
Returns a new
CUDA_MEMCPY3D instance allocated on the thread-local MemoryStack. |
static CUDA_MEMCPY3D.Buffer |
mallocStack(int capacity)
Returns a new
CUDA_MEMCPY3D.Buffer instance allocated on the thread-local MemoryStack. |
static CUDA_MEMCPY3D.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
CUDA_MEMCPY3D.Buffer instance allocated on the specified MemoryStack. |
static CUDA_MEMCPY3D |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
CUDA_MEMCPY3D instance allocated on the specified MemoryStack. |
static long |
nDepth(long struct)
Unsafe version of
Depth(). |
static void |
nDepth(long struct,
long value)
Unsafe version of
Depth. |
static long |
ndstArray(long struct)
Unsafe version of
dstArray(). |
static void |
ndstArray(long struct,
long value)
Unsafe version of
dstArray. |
static long |
ndstDevice(long struct)
Unsafe version of
dstDevice(). |
static void |
ndstDevice(long struct,
long value)
Unsafe version of
dstDevice. |
static long |
ndstHeight(long struct)
Unsafe version of
dstHeight(). |
static void |
ndstHeight(long struct,
long value)
Unsafe version of
dstHeight. |
static void |
ndstHost(long struct,
java.nio.ByteBuffer value)
Unsafe version of
dstHost. |
static java.nio.ByteBuffer |
ndstHost(long struct,
int capacity)
Unsafe version of
dstHost. |
static long |
ndstLOD(long struct)
Unsafe version of
dstLOD(). |
static void |
ndstLOD(long struct,
long value)
Unsafe version of
dstLOD. |
static int |
ndstMemoryType(long struct)
Unsafe version of
dstMemoryType(). |
static void |
ndstMemoryType(long struct,
int value)
Unsafe version of
dstMemoryType. |
static long |
ndstPitch(long struct)
Unsafe version of
dstPitch(). |
static void |
ndstPitch(long struct,
long value)
Unsafe version of
dstPitch. |
static long |
ndstXInBytes(long struct)
Unsafe version of
dstXInBytes(). |
static void |
ndstXInBytes(long struct,
long value)
Unsafe version of
dstXInBytes. |
static long |
ndstY(long struct)
Unsafe version of
dstY(). |
static void |
ndstY(long struct,
long value)
Unsafe version of
dstY. |
static long |
ndstZ(long struct)
Unsafe version of
dstZ(). |
static void |
ndstZ(long struct,
long value)
Unsafe version of
dstZ. |
static long |
nHeight(long struct)
Unsafe version of
Height(). |
static void |
nHeight(long struct,
long value)
Unsafe version of
Height. |
static void |
nreserved0(long struct,
java.nio.ByteBuffer value)
Unsafe version of
reserved0. |
static java.nio.ByteBuffer |
nreserved0(long struct,
int capacity)
Unsafe version of
reserved0. |
static void |
nreserved1(long struct,
java.nio.ByteBuffer value)
Unsafe version of
reserved1. |
static java.nio.ByteBuffer |
nreserved1(long struct,
int capacity)
Unsafe version of
reserved1. |
static long |
nsrcArray(long struct)
Unsafe version of
srcArray(). |
static void |
nsrcArray(long struct,
long value)
Unsafe version of
srcArray. |
static long |
nsrcDevice(long struct)
Unsafe version of
srcDevice(). |
static void |
nsrcDevice(long struct,
long value)
Unsafe version of
srcDevice. |
static long |
nsrcHeight(long struct)
Unsafe version of
srcHeight(). |
static void |
nsrcHeight(long struct,
long value)
Unsafe version of
srcHeight. |
static void |
nsrcHost(long struct,
java.nio.ByteBuffer value)
Unsafe version of
srcHost. |
static java.nio.ByteBuffer |
nsrcHost(long struct,
int capacity)
Unsafe version of
srcHost. |
static long |
nsrcLOD(long struct)
Unsafe version of
srcLOD(). |
static void |
nsrcLOD(long struct,
long value)
Unsafe version of
srcLOD. |
static int |
nsrcMemoryType(long struct)
Unsafe version of
srcMemoryType(). |
static void |
nsrcMemoryType(long struct,
int value)
Unsafe version of
srcMemoryType. |
static long |
nsrcPitch(long struct)
Unsafe version of
srcPitch(). |
static void |
nsrcPitch(long struct,
long value)
Unsafe version of
srcPitch. |
static long |
nsrcXInBytes(long struct)
Unsafe version of
srcXInBytes(). |
static void |
nsrcXInBytes(long struct,
long value)
Unsafe version of
srcXInBytes. |
static long |
nsrcY(long struct)
Unsafe version of
srcY(). |
static void |
nsrcY(long struct,
long value)
Unsafe version of
srcY. |
static long |
nsrcZ(long struct)
Unsafe version of
srcZ(). |
static void |
nsrcZ(long struct,
long value)
Unsafe version of
srcZ. |
static long |
nWidthInBytes(long struct)
Unsafe version of
WidthInBytes(). |
static void |
nWidthInBytes(long struct,
long value)
Unsafe version of
WidthInBytes. |
CUDA_MEMCPY3D |
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 |
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. |
CUDA_MEMCPY3D |
set(CUDA_MEMCPY3D src)
Copies the specified struct data to this struct.
|
CUDA_MEMCPY3D |
set(long srcXInBytes,
long srcY,
long srcZ,
long srcLOD,
int srcMemoryType,
java.nio.ByteBuffer srcHost,
long srcDevice,
long srcArray,
java.nio.ByteBuffer reserved0,
long srcPitch,
long srcHeight,
long dstXInBytes,
long dstY,
long dstZ,
long dstLOD,
int dstMemoryType,
java.nio.ByteBuffer dstHost,
long dstDevice,
long dstArray,
java.nio.ByteBuffer reserved1,
long dstPitch,
long dstHeight,
long WidthInBytes,
long Height,
long Depth)
Initializes this struct with the specified values.
|
int |
sizeof() |
long |
srcArray()
Returns the value of the
srcArray field. |
CUDA_MEMCPY3D |
srcArray(long value)
Sets the specified value to the
srcArray field. |
long |
srcDevice()
Returns the value of the
srcDevice field. |
CUDA_MEMCPY3D |
srcDevice(long value)
Sets the specified value to the
srcDevice field. |
long |
srcHeight()
Returns the value of the
srcHeight field. |
CUDA_MEMCPY3D |
srcHeight(long value)
Sets the specified value to the
srcHeight field. |
CUDA_MEMCPY3D |
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 |
srcLOD(long value)
Sets the specified value to the
srcLOD field. |
int |
srcMemoryType()
Returns the value of the
srcMemoryType field. |
CUDA_MEMCPY3D |
srcMemoryType(int value)
Sets the specified value to the
srcMemoryType field. |
long |
srcPitch()
Returns the value of the
srcPitch field. |
CUDA_MEMCPY3D |
srcPitch(long value)
Sets the specified value to the
srcPitch field. |
long |
srcXInBytes()
Returns the value of the
srcXInBytes field. |
CUDA_MEMCPY3D |
srcXInBytes(long value)
Sets the specified value to the
srcXInBytes field. |
long |
srcY()
Returns the value of the
srcY field. |
CUDA_MEMCPY3D |
srcY(long value)
Sets the specified value to the
srcY field. |
long |
srcZ()
Returns the value of the
srcZ field. |
CUDA_MEMCPY3D |
srcZ(long value)
Sets the specified value to the
srcZ field. |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
long |
WidthInBytes()
Returns the value of the
WidthInBytes field. |
CUDA_MEMCPY3D |
WidthInBytes(long value)
Sets the specified value to the
WidthInBytes field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int SRCXINBYTES
public static final int SRCY
public static final int SRCZ
public static final int SRCLOD
public static final int SRCMEMORYTYPE
public static final int SRCHOST
public static final int SRCDEVICE
public static final int SRCARRAY
public static final int RESERVED0
public static final int SRCPITCH
public static final int SRCHEIGHT
public static final int DSTXINBYTES
public static final int DSTY
public static final int DSTZ
public static final int DSTLOD
public static final int DSTMEMORYTYPE
public static final int DSTHOST
public static final int DSTDEVICE
public static final int DSTARRAY
public static final int RESERVED1
public static final int DSTPITCH
public static final int DSTHEIGHT
public static final int WIDTHINBYTES
public static final int HEIGHT
public static final int DEPTH
public CUDA_MEMCPY3D(java.nio.ByteBuffer container)
CUDA_MEMCPY3D instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
The created instance holds a strong reference to the container object.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic 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 srcXInBytes(long value)
srcXInBytes field.public CUDA_MEMCPY3D srcY(long value)
srcY field.public CUDA_MEMCPY3D srcZ(long value)
srcZ field.public CUDA_MEMCPY3D srcLOD(long value)
srcLOD field.public CUDA_MEMCPY3D srcMemoryType(int value)
srcMemoryType field.public CUDA_MEMCPY3D srcHost(java.nio.ByteBuffer value)
ByteBuffer to the srcHost field.public CUDA_MEMCPY3D srcDevice(long value)
srcDevice field.public CUDA_MEMCPY3D srcArray(long value)
srcArray field.public CUDA_MEMCPY3D reserved0(java.nio.ByteBuffer value)
ByteBuffer to the reserved0 field.public CUDA_MEMCPY3D srcPitch(long value)
srcPitch field.public CUDA_MEMCPY3D srcHeight(long value)
srcHeight field.public CUDA_MEMCPY3D dstXInBytes(long value)
dstXInBytes field.public CUDA_MEMCPY3D dstY(long value)
dstY field.public CUDA_MEMCPY3D dstZ(long value)
dstZ field.public CUDA_MEMCPY3D dstLOD(long value)
dstLOD field.public CUDA_MEMCPY3D dstMemoryType(int value)
dstMemoryType field.public CUDA_MEMCPY3D dstHost(java.nio.ByteBuffer value)
ByteBuffer to the dstHost field.public CUDA_MEMCPY3D dstDevice(long value)
dstDevice field.public CUDA_MEMCPY3D dstArray(long value)
dstArray field.public CUDA_MEMCPY3D reserved1(java.nio.ByteBuffer value)
ByteBuffer to the reserved1 field.public CUDA_MEMCPY3D dstPitch(long value)
dstPitch field.public CUDA_MEMCPY3D dstHeight(long value)
dstHeight field.public CUDA_MEMCPY3D WidthInBytes(long value)
WidthInBytes field.public CUDA_MEMCPY3D Height(long value)
Height field.public CUDA_MEMCPY3D Depth(long value)
Depth field.public CUDA_MEMCPY3D set(long srcXInBytes, long srcY, long srcZ, long srcLOD, int srcMemoryType, java.nio.ByteBuffer srcHost, long srcDevice, long srcArray, java.nio.ByteBuffer reserved0, long srcPitch, long srcHeight, long dstXInBytes, long dstY, long dstZ, long dstLOD, int dstMemoryType, java.nio.ByteBuffer dstHost, long dstDevice, long dstArray, java.nio.ByteBuffer reserved1, long dstPitch, long dstHeight, long WidthInBytes, long Height, long Depth)
public CUDA_MEMCPY3D set(CUDA_MEMCPY3D src)
src - the source structpublic static CUDA_MEMCPY3D malloc()
CUDA_MEMCPY3D instance allocated with memAlloc. The instance must be explicitly freed.public static CUDA_MEMCPY3D calloc()
CUDA_MEMCPY3D instance allocated with memCalloc. The instance must be explicitly freed.public static CUDA_MEMCPY3D create()
CUDA_MEMCPY3D instance allocated with BufferUtils.public static CUDA_MEMCPY3D create(long address)
CUDA_MEMCPY3D instance for the specified memory address.@Nullable public static CUDA_MEMCPY3D createSafe(long address)
public static CUDA_MEMCPY3D.Buffer malloc(int capacity)
CUDA_MEMCPY3D.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static CUDA_MEMCPY3D.Buffer calloc(int capacity)
CUDA_MEMCPY3D.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static CUDA_MEMCPY3D.Buffer create(int capacity)
CUDA_MEMCPY3D.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static CUDA_MEMCPY3D.Buffer create(long address, int capacity)
CUDA_MEMCPY3D.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static CUDA_MEMCPY3D.Buffer createSafe(long address, int capacity)
public static CUDA_MEMCPY3D mallocStack()
CUDA_MEMCPY3D instance allocated on the thread-local MemoryStack.public static CUDA_MEMCPY3D callocStack()
CUDA_MEMCPY3D instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static CUDA_MEMCPY3D mallocStack(org.lwjgl.system.MemoryStack stack)
CUDA_MEMCPY3D instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static CUDA_MEMCPY3D callocStack(org.lwjgl.system.MemoryStack stack)
CUDA_MEMCPY3D instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static CUDA_MEMCPY3D.Buffer mallocStack(int capacity)
CUDA_MEMCPY3D.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static CUDA_MEMCPY3D.Buffer callocStack(int capacity)
CUDA_MEMCPY3D.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static CUDA_MEMCPY3D.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
CUDA_MEMCPY3D.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static CUDA_MEMCPY3D.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
CUDA_MEMCPY3D.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static long nsrcXInBytes(long struct)
srcXInBytes().public static long nsrcY(long struct)
srcY().public static long nsrcZ(long struct)
srcZ().public static long nsrcLOD(long struct)
srcLOD().public static int nsrcMemoryType(long struct)
srcMemoryType().public static java.nio.ByteBuffer nsrcHost(long struct,
int capacity)
srcHost.public static long nsrcDevice(long struct)
srcDevice().public static long nsrcArray(long struct)
srcArray().public static java.nio.ByteBuffer nreserved0(long struct,
int capacity)
reserved0.public static long nsrcPitch(long struct)
srcPitch().public static long nsrcHeight(long struct)
srcHeight().public static long ndstXInBytes(long struct)
dstXInBytes().public static long ndstY(long struct)
dstY().public static long ndstZ(long struct)
dstZ().public static long ndstLOD(long struct)
dstLOD().public static int ndstMemoryType(long struct)
dstMemoryType().public static java.nio.ByteBuffer ndstHost(long struct,
int capacity)
dstHost.public static long ndstDevice(long struct)
dstDevice().public static long ndstArray(long struct)
dstArray().public static java.nio.ByteBuffer nreserved1(long struct,
int capacity)
reserved1.public static long ndstPitch(long struct)
dstPitch().public static long ndstHeight(long struct)
dstHeight().public static long nWidthInBytes(long struct)
WidthInBytes().public static long nHeight(long struct)
Height().public static long nDepth(long struct)
Depth().public static void nsrcXInBytes(long struct,
long value)
srcXInBytes.public static void nsrcY(long struct,
long value)
srcY.public static void nsrcZ(long struct,
long value)
srcZ.public static void nsrcLOD(long struct,
long value)
srcLOD.public static void nsrcMemoryType(long struct,
int value)
srcMemoryType.public static void nsrcHost(long struct,
java.nio.ByteBuffer value)
srcHost.public static void nsrcDevice(long struct,
long value)
srcDevice.public static void nsrcArray(long struct,
long value)
srcArray.public static void nreserved0(long struct,
java.nio.ByteBuffer value)
reserved0.public static void nsrcPitch(long struct,
long value)
srcPitch.public static void nsrcHeight(long struct,
long value)
srcHeight.public static void ndstXInBytes(long struct,
long value)
dstXInBytes.public static void ndstY(long struct,
long value)
dstY.public static void ndstZ(long struct,
long value)
dstZ.public static void ndstLOD(long struct,
long value)
dstLOD.public static void ndstMemoryType(long struct,
int value)
dstMemoryType.public static void ndstHost(long struct,
java.nio.ByteBuffer value)
dstHost.public static void ndstDevice(long struct,
long value)
dstDevice.public static void ndstArray(long struct,
long value)
dstArray.public static void nreserved1(long struct,
java.nio.ByteBuffer value)
reserved1.public static void ndstPitch(long struct,
long value)
dstPitch.public static void ndstHeight(long struct,
long value)
dstHeight.public static void nWidthInBytes(long struct,
long value)
WidthInBytes.public static void nHeight(long struct,
long value)
Height.public static void nDepth(long struct,
long value)
Depth.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.