Class PxRevoluteJointFlags

    • Field Detail

      • SIZEOF

        public static final int SIZEOF
    • Constructor Detail

      • PxRevoluteJointFlags

        protected PxRevoluteJointFlags()
      • PxRevoluteJointFlags

        protected PxRevoluteJointFlags​(long address)
      • PxRevoluteJointFlags

        public PxRevoluteJointFlags​(short flags)
        Parameters:
        flags - unsigned short
    • Method Detail

      • malloc

        public static PxRevoluteJointFlags malloc​(long address,
                                                  short flags)
        Parameters:
        address - where the object is allocated
        flags - unsigned short
        Returns:
        Stack allocated object of PxRevoluteJointFlags
      • malloc

        public static <T> PxRevoluteJointFlags malloc​(T allocator,
                                                      NativeObject.Allocator<T> allocate,
                                                      short 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 - unsigned short
        Returns:
        Stack allocated object of PxRevoluteJointFlags
      • destroy

        public void destroy()