Class PxConvexMeshGeometryFlags


  • public class PxConvexMeshGeometryFlags
    extends NativeObject
    • Field Detail

      • SIZEOF

        public static final int SIZEOF
    • Constructor Detail

      • PxConvexMeshGeometryFlags

        protected PxConvexMeshGeometryFlags()
      • PxConvexMeshGeometryFlags

        protected PxConvexMeshGeometryFlags​(long address)
      • PxConvexMeshGeometryFlags

        public PxConvexMeshGeometryFlags​(byte flags)
        Parameters:
        flags - octet
    • Method Detail

      • malloc

        public static PxConvexMeshGeometryFlags malloc​(long address,
                                                       byte flags)
        Parameters:
        address - where the object is allocated
        flags - octet
        Returns:
        Stack allocated object of PxConvexMeshGeometryFlags
      • malloc

        public static <T> PxConvexMeshGeometryFlags malloc​(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 - octet
        Returns:
        Stack allocated object of PxConvexMeshGeometryFlags
      • destroy

        public void destroy()