Package physx.common

Class PxRenderBuffer

java.lang.Object
physx.NativeObject
physx.common.PxRenderBuffer

public class PxRenderBuffer extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxRenderBuffer

      protected PxRenderBuffer()
    • PxRenderBuffer

      protected PxRenderBuffer(long address)
  • Method Details

    • wrapPointer

      public static PxRenderBuffer wrapPointer(long address)
    • arrayGet

      public static PxRenderBuffer arrayGet(long baseAddress, int index)
    • getNbPoints

      public int getNbPoints()
      Returns:
      WebIDL type: unsigned long
    • getPoints

      public PxDebugPoint getPoints()
      Returns:
      WebIDL type: PxDebugPoint [Const]
    • addPoint

      public void addPoint(PxDebugPoint point)
      Parameters:
      point - WebIDL type: PxDebugPoint [Const, Ref]
    • getNbLines

      public int getNbLines()
      Returns:
      WebIDL type: unsigned long
    • getLines

      public PxDebugLine getLines()
      Returns:
      WebIDL type: PxDebugLine [Const]
    • addLine

      public void addLine(PxDebugLine line)
      Parameters:
      line - WebIDL type: PxDebugLine [Const, Ref]
    • reserveLines

      public PxDebugLine reserveLines(int nbLines)
      Parameters:
      nbLines - WebIDL type: unsigned long [Const]
      Returns:
      WebIDL type: PxDebugLine
    • reservePoints

      public PxDebugPoint reservePoints(int nbLines)
      Parameters:
      nbLines - WebIDL type: unsigned long [Const]
      Returns:
      WebIDL type: PxDebugPoint
    • getNbTriangles

      public int getNbTriangles()
      Returns:
      WebIDL type: unsigned long
    • getTriangles

      public PxDebugTriangle getTriangles()
      Returns:
      WebIDL type: PxDebugTriangle [Const]
    • addTriangle

      public void addTriangle(PxDebugTriangle triangle)
      Parameters:
      triangle - WebIDL type: PxDebugTriangle [Const, Ref]
    • append

      public void append(PxRenderBuffer other)
      Parameters:
      other - WebIDL type: PxRenderBuffer [Const, Ref]
    • clear

      public void clear()
    • shift

      public void shift(PxVec3 delta)
      Parameters:
      delta - WebIDL type: PxVec3 [Const, Ref]
    • empty

      public boolean empty()
      Returns:
      WebIDL type: boolean