/** * Returns a new {@link AIColor4D.Buffer} instance allocated on the thread-local {@link MemoryStack} and initializes all its bits to zero. * * @param capacity the buffer capacity */ public static AIColor4D.Buffer callocStack(int capacity) { return callocStack(capacity, stackGet()); }
/** Returns a new {@link AIColor4D} instance allocated on the thread-local {@link MemoryStack} and initializes all its bits to zero. */ public static AIColor4D callocStack() { return callocStack(stackGet()); }