Package physx.extensions
Class PxDefaultMemoryInputData
- java.lang.Object
-
- physx.NativeObject
-
- physx.common.PxInputData
-
- physx.extensions.PxDefaultMemoryInputData
-
public class PxDefaultMemoryInputData extends PxInputData
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxDefaultMemoryInputData()protectedPxDefaultMemoryInputData(long address)PxDefaultMemoryInputData(PxU8Ptr data, int length)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()intgetLength()intread(NativeObject dest, int count)voidseek(int pos)inttell()static PxDefaultMemoryInputDatawrapPointer(long address)-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static PxDefaultMemoryInputData wrapPointer(long address)
-
destroy
public void destroy()
- Overrides:
destroyin classPxInputData
-
read
public int read(NativeObject dest, int count)
- Parameters:
dest- WebIDL type: VoidPtrcount- WebIDL type: unsigned long- Returns:
- WebIDL type: unsigned long
-
getLength
public int getLength()
- Returns:
- WebIDL type: unsigned long
-
seek
public void seek(int pos)
- Parameters:
pos- WebIDL type: unsigned long
-
tell
public int tell()
- Returns:
- WebIDL type: unsigned long
-
-