public class PxBatchQueryDesc extends NativeObject
NativeObject.Allocator<T>| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF |
static int |
SIZEOF |
address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
PxBatchQueryDesc() |
|
PxBatchQueryDesc(int maxRaycastsPerExecute,
int maxSweepsPerExecute,
int maxOverlapsPerExecute) |
protected |
PxBatchQueryDesc(long address) |
| Modifier and Type | Method and Description |
|---|---|
static PxBatchQueryDesc |
createAt(long address,
int maxRaycastsPerExecute,
int maxSweepsPerExecute,
int maxOverlapsPerExecute) |
static <T> PxBatchQueryDesc |
createAt(T allocator,
NativeObject.Allocator<T> allocate,
int maxRaycastsPerExecute,
int maxSweepsPerExecute,
int maxOverlapsPerExecute) |
void |
destroy() |
NativeObject |
getFilterShaderData() |
int |
getFilterShaderDataSize() |
PxBatchQueryPostFilterShader |
getPostFilterShader() |
PxBatchQueryPreFilterShader |
getPreFilterShader() |
PxBatchQueryMemory |
getQueryMemory() |
boolean |
isValid() |
void |
setFilterShaderData(NativeObject value) |
void |
setFilterShaderDataSize(int value) |
void |
setPostFilterShader(PxBatchQueryPostFilterShader value) |
void |
setPreFilterShader(PxBatchQueryPreFilterShader value) |
void |
setQueryMemory(PxBatchQueryMemory value) |
static PxBatchQueryDesc |
wrapPointer(long address) |
checkNotNull, equals, getAddress, hashCodepublic static final int SIZEOF
public static final int ALIGNOF
protected PxBatchQueryDesc()
protected PxBatchQueryDesc(long address)
public PxBatchQueryDesc(int maxRaycastsPerExecute,
int maxSweepsPerExecute,
int maxOverlapsPerExecute)
maxRaycastsPerExecute - WebIDL type: unsigned longmaxSweepsPerExecute - WebIDL type: unsigned longmaxOverlapsPerExecute - WebIDL type: unsigned longpublic static PxBatchQueryDesc wrapPointer(long address)
public static PxBatchQueryDesc createAt(long address, int maxRaycastsPerExecute, int maxSweepsPerExecute, int maxOverlapsPerExecute)
address - Pre-allocated memory, where the object is created.maxRaycastsPerExecute - WebIDL type: unsigned longmaxSweepsPerExecute - WebIDL type: unsigned longmaxOverlapsPerExecute - WebIDL type: unsigned longpublic static <T> PxBatchQueryDesc createAt(T allocator, NativeObject.Allocator<T> allocate, int maxRaycastsPerExecute, int maxSweepsPerExecute, int maxOverlapsPerExecute)
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.maxRaycastsPerExecute - WebIDL type: unsigned longmaxSweepsPerExecute - WebIDL type: unsigned longmaxOverlapsPerExecute - WebIDL type: unsigned longpublic void destroy()
public NativeObject getFilterShaderData()
public void setFilterShaderData(NativeObject value)
value - WebIDL type: anypublic int getFilterShaderDataSize()
public void setFilterShaderDataSize(int value)
value - WebIDL type: unsigned longpublic PxBatchQueryPreFilterShader getPreFilterShader()
PxBatchQueryPreFilterShader [Value]public void setPreFilterShader(PxBatchQueryPreFilterShader value)
value - WebIDL type: PxBatchQueryPreFilterShader [Value]public PxBatchQueryPostFilterShader getPostFilterShader()
PxBatchQueryPostFilterShader [Value]public void setPostFilterShader(PxBatchQueryPostFilterShader value)
value - WebIDL type: PxBatchQueryPostFilterShader [Value]public PxBatchQueryMemory getQueryMemory()
PxBatchQueryMemory [Value]public void setQueryMemory(PxBatchQueryMemory value)
value - WebIDL type: PxBatchQueryMemory [Value]public boolean isValid()