Package physx.physics
Class PxBatchQueryDesc
- java.lang.Object
-
- physx.NativeObject
-
- physx.physics.PxBatchQueryDesc
-
public class PxBatchQueryDesc extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFstatic intSIZEOF-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxBatchQueryDesc()PxBatchQueryDesc(int maxRaycastsPerExecute, int maxSweepsPerExecute, int maxOverlapsPerExecute)protectedPxBatchQueryDesc(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PxBatchQueryDesccreateAt(long address, int maxRaycastsPerExecute, int maxSweepsPerExecute, int maxOverlapsPerExecute)static <T> PxBatchQueryDesccreateAt(T allocator, NativeObject.Allocator<T> allocate, int maxRaycastsPerExecute, int maxSweepsPerExecute, int maxOverlapsPerExecute)voiddestroy()NativeObjectgetFilterShaderData()intgetFilterShaderDataSize()PxBatchQueryPostFilterShadergetPostFilterShader()PxBatchQueryPreFilterShadergetPreFilterShader()PxBatchQueryMemorygetQueryMemory()booleanisValid()voidsetFilterShaderData(NativeObject value)voidsetFilterShaderDataSize(int value)voidsetPostFilterShader(PxBatchQueryPostFilterShader value)voidsetPreFilterShader(PxBatchQueryPreFilterShader value)voidsetQueryMemory(PxBatchQueryMemory value)static PxBatchQueryDescwrapPointer(long address)-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Field Detail
-
SIZEOF
public static final int SIZEOF
-
ALIGNOF
public static final int ALIGNOF
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PxBatchQueryDesc
protected PxBatchQueryDesc()
-
PxBatchQueryDesc
protected PxBatchQueryDesc(long address)
-
PxBatchQueryDesc
public PxBatchQueryDesc(int maxRaycastsPerExecute, int maxSweepsPerExecute, int maxOverlapsPerExecute)- Parameters:
maxRaycastsPerExecute- WebIDL type: unsigned longmaxSweepsPerExecute- WebIDL type: unsigned longmaxOverlapsPerExecute- WebIDL type: unsigned long
-
-
Method Detail
-
wrapPointer
public static PxBatchQueryDesc wrapPointer(long address)
-
createAt
public static PxBatchQueryDesc createAt(long address, int maxRaycastsPerExecute, int maxSweepsPerExecute, int maxOverlapsPerExecute)
- Parameters:
address- Pre-allocated memory, where the object is created.maxRaycastsPerExecute- WebIDL type: unsigned longmaxSweepsPerExecute- WebIDL type: unsigned longmaxOverlapsPerExecute- WebIDL type: unsigned long- Returns:
- Stack allocated object of PxBatchQueryDesc
-
createAt
public static <T> PxBatchQueryDesc createAt(T allocator, NativeObject.Allocator<T> allocate, int maxRaycastsPerExecute, int maxSweepsPerExecute, int maxOverlapsPerExecute)
- Type Parameters:
T- Allocator class, e.g. LWJGL's MemoryStack.- Parameters:
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 long- Returns:
- Stack allocated object of PxBatchQueryDesc
-
destroy
public void destroy()
-
getFilterShaderData
public NativeObject getFilterShaderData()
- Returns:
- WebIDL type: any
-
setFilterShaderData
public void setFilterShaderData(NativeObject value)
- Parameters:
value- WebIDL type: any
-
getFilterShaderDataSize
public int getFilterShaderDataSize()
- Returns:
- WebIDL type: unsigned long
-
setFilterShaderDataSize
public void setFilterShaderDataSize(int value)
- Parameters:
value- WebIDL type: unsigned long
-
getPreFilterShader
public PxBatchQueryPreFilterShader getPreFilterShader()
- Returns:
- WebIDL type:
PxBatchQueryPreFilterShader[Value]
-
setPreFilterShader
public void setPreFilterShader(PxBatchQueryPreFilterShader value)
- Parameters:
value- WebIDL type:PxBatchQueryPreFilterShader[Value]
-
getPostFilterShader
public PxBatchQueryPostFilterShader getPostFilterShader()
- Returns:
- WebIDL type:
PxBatchQueryPostFilterShader[Value]
-
setPostFilterShader
public void setPostFilterShader(PxBatchQueryPostFilterShader value)
- Parameters:
value- WebIDL type:PxBatchQueryPostFilterShader[Value]
-
getQueryMemory
public PxBatchQueryMemory getQueryMemory()
- Returns:
- WebIDL type:
PxBatchQueryMemory[Value]
-
setQueryMemory
public void setQueryMemory(PxBatchQueryMemory value)
- Parameters:
value- WebIDL type:PxBatchQueryMemory[Value]
-
isValid
public boolean isValid()
- Returns:
- WebIDL type: boolean
-
-