java.lang.Object
physx.NativeObject
physx.common.PxInputData
physx.extensions.PxDefaultMemoryInputData
default implementation of a memory read stream
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedPxDefaultMemoryInputData(long address) PxDefaultMemoryInputData(PxU8Ptr data, int length) -
Method Summary
Modifier and TypeMethodDescriptionstatic PxDefaultMemoryInputDataarrayGet(long baseAddress, int index) voiddestroy()intintread(NativeObject dest, int count) voidseek(int pos) inttell()static PxDefaultMemoryInputDatawrapPointer(long address) Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxDefaultMemoryInputData
protected PxDefaultMemoryInputData() -
PxDefaultMemoryInputData
protected PxDefaultMemoryInputData(long address) -
PxDefaultMemoryInputData
- Parameters:
data- WebIDL type:PxU8Ptr[Ref]length- WebIDL type: unsigned long
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy()- Overrides:
destroyin classPxInputData
-
read
- 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
-