Class PxMeshFlags

java.lang.Object
physx.NativeObject
physx.geometry.PxMeshFlags

public class PxMeshFlags extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxMeshFlags

      protected PxMeshFlags()
    • PxMeshFlags

      protected PxMeshFlags(long address)
    • PxMeshFlags

      public PxMeshFlags(byte flags)
      Parameters:
      flags - WebIDL type: octet
  • Method Details

    • wrapPointer

      public static PxMeshFlags wrapPointer(long address)
    • arrayGet

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

      public static PxMeshFlags createAt(long address, byte flags)
      Parameters:
      address - Pre-allocated memory, where the object is created.
      flags - WebIDL type: octet
      Returns:
      Stack allocated object of PxMeshFlags
    • createAt

      public static <T> PxMeshFlags createAt(T allocator, NativeObject.Allocator<T> allocate, byte flags)
      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.
      flags - WebIDL type: octet
      Returns:
      Stack allocated object of PxMeshFlags
    • destroy

      public void destroy()
    • isSet

      public boolean isSet(PxMeshFlagEnum flag)
      Parameters:
      flag - WebIDL type: PxMeshFlagEnum [enum]
      Returns:
      WebIDL type: boolean
    • raise

      public void raise(PxMeshFlagEnum flag)
      Parameters:
      flag - WebIDL type: PxMeshFlagEnum [enum]
    • clear

      public void clear(PxMeshFlagEnum flag)
      Parameters:
      flag - WebIDL type: PxMeshFlagEnum [enum]