Package physx.physics

Class PxRigidDynamicLockFlags

    • Field Detail

      • SIZEOF

        public static final int SIZEOF
    • Constructor Detail

      • PxRigidDynamicLockFlags

        protected PxRigidDynamicLockFlags()
      • PxRigidDynamicLockFlags

        protected PxRigidDynamicLockFlags​(long address)
      • PxRigidDynamicLockFlags

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

      • malloc

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

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

        public void destroy()