aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/lwjgl/image/Image.java
blob: b30462439f1158988c4f988210cc84e75efe2e41 (plain)
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;
    }
}