1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
package io.polyfrost.oneconfig.lwjgl.image; import java.nio.ByteBuffer; public class Image { private final int reference; private final ByteBuffer buffer; public Image(int reference, ByteBuffer buffer) { this.reference = reference; this.buffer = buffer; } public ByteBuffer getBuffer() { return buffer; } public int getReference() { return reference; } }