Class PxDefaultMemoryInputData

java.lang.Object
physx.NativeObject
physx.common.PxInputData
physx.extensions.PxDefaultMemoryInputData

public class PxDefaultMemoryInputData extends PxInputData
default implementation of a memory read stream
See Also:
  • 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

      public PxDefaultMemoryInputData(PxU8Ptr data, int length)
      Parameters:
      data - WebIDL type: PxU8Ptr [Ref]
      length - WebIDL type: unsigned long
  • Method Details

    • wrapPointer

      public static PxDefaultMemoryInputData wrapPointer(long address)
    • arrayGet

      public static PxDefaultMemoryInputData arrayGet(long baseAddress, int index)
    • destroy

      public void destroy()
      Overrides:
      destroy in class PxInputData
    • read

      public int read(NativeObject dest, int count)
      Parameters:
      dest - WebIDL type: VoidPtr
      count - 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