aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/lwjgl/image/Image.java
blob: 2e63154f2b9f178e579f166e63d66d77d7cc4029 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package cc.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;
    }
}