public class PxCudaContextManagerDesc extends NativeObject
NativeObject.Allocator<T>| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF |
static int |
SIZEOF |
address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
|
PxCudaContextManagerDesc() |
protected |
PxCudaContextManagerDesc(long address) |
| Modifier and Type | Method and Description |
|---|---|
static PxCudaContextManagerDesc |
createAt(long address) |
static <T> PxCudaContextManagerDesc |
createAt(T allocator,
NativeObject.Allocator<T> allocate) |
void |
destroy() |
NativeObject |
getGraphicsDevice() |
int |
getInteropMode() |
int |
getMaxMemorySize(int index) |
int |
getMemoryBaseSize(int index) |
int |
getMemoryPageSize(int index) |
void |
setGraphicsDevice(NativeObject value) |
void |
setInteropMode(int value) |
void |
setMaxMemorySize(int index,
int value) |
void |
setMemoryBaseSize(int index,
int value) |
void |
setMemoryPageSize(int index,
int value) |
static PxCudaContextManagerDesc |
wrapPointer(long address) |
checkNotNull, equals, getAddress, hashCodepublic static final int SIZEOF
public static final int ALIGNOF
protected PxCudaContextManagerDesc(long address)
public PxCudaContextManagerDesc()
public static PxCudaContextManagerDesc wrapPointer(long address)
public static PxCudaContextManagerDesc createAt(long address)
address - Pre-allocated memory, where the object is created.public static <T> PxCudaContextManagerDesc createAt(T allocator, NativeObject.Allocator<T> allocate)
T - Allocator class, e.g. LWJGL's MemoryStack.allocator - Object to use for allocation, e.g. an instance of LWJGL's MemoryStack.allocate - Method to call on allocator to obtain the target address, e.g. MemoryStack::nmalloc.public void destroy()
public NativeObject getGraphicsDevice()
public void setGraphicsDevice(NativeObject value)
value - WebIDL type: VoidPtrpublic int getInteropMode()
PxCudaInteropModeEnum [enum]public void setInteropMode(int value)
value - WebIDL type: PxCudaInteropModeEnum [enum]public int getMaxMemorySize(int index)
index - Array indexpublic void setMaxMemorySize(int index,
int value)
index - Array indexvalue - WebIDL type: unsigned longpublic int getMemoryBaseSize(int index)
index - Array indexpublic void setMemoryBaseSize(int index,
int value)
index - Array indexvalue - WebIDL type: unsigned longpublic int getMemoryPageSize(int index)
index - Array indexpublic void setMemoryPageSize(int index,
int value)
index - Array indexvalue - WebIDL type: unsigned long