/** * Returns a new {@link AIBone.Buffer} instance allocated on the thread-local {@link MemoryStack}. * * @param capacity the buffer capacity */ public static AIBone.Buffer mallocStack(int capacity) { return mallocStack(capacity, stackGet()); }
/** Returns a new {@link AIBone} instance allocated on the thread-local {@link MemoryStack}. */ public static AIBone mallocStack() { return mallocStack(stackGet()); }