Package physx.support

Class PxArray_PxMaterialConst

java.lang.Object
physx.NativeObject
physx.support.PxArray_PxMaterialConst

public class PxArray_PxMaterialConst extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxArray_PxMaterialConst

      protected PxArray_PxMaterialConst(long address)
    • PxArray_PxMaterialConst

      public PxArray_PxMaterialConst()
    • PxArray_PxMaterialConst

      public PxArray_PxMaterialConst(int size)
      Parameters:
      size - WebIDL type: unsigned long
  • Method Details

    • wrapPointer

      public static PxArray_PxMaterialConst wrapPointer(long address)
    • arrayGet

      public static PxArray_PxMaterialConst arrayGet(long baseAddress, int index)
    • createAt

      public static PxArray_PxMaterialConst createAt(long address)
      Parameters:
      address - Pre-allocated memory, where the object is created.
      Returns:
      Stack allocated object of PxArray_PxMaterialConst
    • createAt

      public static <T> PxArray_PxMaterialConst createAt(T allocator, NativeObject.Allocator<T> allocate)
      Type Parameters:
      T - Allocator class, e.g. LWJGL's MemoryStack.
      Parameters:
      allocator - Object to use for allocation, e.g. an instance of LWJGL's MemoryStack.
      allocate - Method to call on allocator to obtain the target address, e.g. MemoryStack::nmalloc.
      Returns:
      Stack allocated object of PxArray_PxMaterialConst
    • createAt

      public static PxArray_PxMaterialConst createAt(long address, int size)
      Parameters:
      address - Pre-allocated memory, where the object is created.
      size - WebIDL type: unsigned long
      Returns:
      Stack allocated object of PxArray_PxMaterialConst
    • createAt

      public static <T> PxArray_PxMaterialConst createAt(T allocator, NativeObject.Allocator<T> allocate, int size)
      Type Parameters:
      T - Allocator class, e.g. LWJGL's MemoryStack.
      Parameters:
      allocator - Object to use for allocation, e.g. an instance of LWJGL's MemoryStack.
      allocate - Method to call on allocator to obtain the target address, e.g. MemoryStack::nmalloc.
      size - WebIDL type: unsigned long
      Returns:
      Stack allocated object of PxArray_PxMaterialConst
    • destroy

      public void destroy()
    • get

      public PxMaterial get(int index)
      Parameters:
      index - WebIDL type: unsigned long
      Returns:
      WebIDL type: PxMaterial [Const]
    • set

      public void set(int index, PxMaterialConstPtr value)
      Parameters:
      index - WebIDL type: unsigned long
      value - WebIDL type: PxMaterialConstPtr [Const, Ref]
    • begin

      public PxMaterialConstPtr begin()
      Returns:
      WebIDL type: PxMaterialConstPtr
    • size

      public int size()
      Returns:
      WebIDL type: unsigned long
    • pushBack

      public void pushBack(PxMaterial value)
      Parameters:
      value - WebIDL type: PxMaterial [Const]
    • clear

      public void clear()