Package physx.cooking

Class PxConvexMeshDesc

    • Field Detail

      • SIZEOF

        public static final int SIZEOF
    • Constructor Detail

      • PxConvexMeshDesc

        protected PxConvexMeshDesc​(long address)
      • PxConvexMeshDesc

        public PxConvexMeshDesc()
    • Method Detail

      • createAt

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

        public static <T> PxConvexMeshDesc 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 PxConvexMeshDesc
      • destroy

        public void destroy()