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