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