java.lang.Object
physx.NativeObject
physx.common.PxOutputStream
physx.extensions.PxDefaultMemoryOutputStream
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxDefaultMemoryOutputStreamarrayGet(long baseAddress, int index) voiddestroy()getData()intgetSize()static PxDefaultMemoryOutputStreamwrapPointer(long address) voidwrite(NativeObject src, int count) 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
-
PxDefaultMemoryOutputStream
protected PxDefaultMemoryOutputStream(long address) -
PxDefaultMemoryOutputStream
public PxDefaultMemoryOutputStream()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy()- Overrides:
destroyin classPxOutputStream
-
write
- Parameters:
src- WebIDL type: VoidPtrcount- WebIDL type: unsigned long
-
getSize
public int getSize()- Returns:
- WebIDL type: unsigned long
-
getData
- Returns:
- WebIDL type: VoidPtr
-