Package physx.physics
Class PxFilterData
- java.lang.Object
-
- physx.NativeObject
-
- physx.physics.PxFilterData
-
public class PxFilterData 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, isStackAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description PxFilterData()PxFilterData(int w0, int w1, int w2, int w3)protectedPxFilterData(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()intgetWord0()intgetWord1()intgetWord2()intgetWord3()static PxFilterDatamalloc(long address)static PxFilterDatamalloc(long address, int w0, int w1, int w2, int w3)static <T> PxFilterDatamalloc(T allocator, NativeObject.Allocator<T> allocate)static <T> PxFilterDatamalloc(T allocator, NativeObject.Allocator<T> allocate, int w0, int w1, int w2, int w3)voidsetWord0(int value)voidsetWord1(int value)voidsetWord2(int value)voidsetWord3(int value)static PxFilterDatawrapPointer(long address)-
Methods inherited from class physx.NativeObject
getAddress
-
-
-
-
Field Detail
-
SIZEOF
public static final int SIZEOF
-
ALIGNOF
public static final int ALIGNOF
- See Also:
- Constant Field Values
-
-
Method Detail
-
wrapPointer
public static PxFilterData wrapPointer(long address)
-
malloc
public static PxFilterData malloc(long address)
- Parameters:
address- where the object is allocated- Returns:
- Stack allocated object of PxFilterData
-
malloc
public static <T> PxFilterData malloc(T allocator, NativeObject.Allocator<T> allocate)
- 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.- Returns:
- Stack allocated object of PxFilterData
-
malloc
public static PxFilterData malloc(long address, int w0, int w1, int w2, int w3)
- Parameters:
address- where the object is allocatedw0- unsigned longw1- unsigned longw2- unsigned longw3- unsigned long- Returns:
- Stack allocated object of PxFilterData
-
malloc
public static <T> PxFilterData malloc(T allocator, NativeObject.Allocator<T> allocate, int w0, int w1, int w2, int w3)
- 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.w0- unsigned longw1- unsigned longw2- unsigned longw3- unsigned long- Returns:
- Stack allocated object of PxFilterData
-
destroy
public void destroy()
-
getWord0
public int getWord0()
- Returns:
- unsigned long
-
setWord0
public void setWord0(int value)
- Parameters:
value- unsigned long
-
getWord1
public int getWord1()
- Returns:
- unsigned long
-
setWord1
public void setWord1(int value)
- Parameters:
value- unsigned long
-
getWord2
public int getWord2()
- Returns:
- unsigned long
-
setWord2
public void setWord2(int value)
- Parameters:
value- unsigned long
-
getWord3
public int getWord3()
- Returns:
- unsigned long
-
setWord3
public void setWord3(int value)
- Parameters:
value- unsigned long
-
-