Custom images, textures, SSBO, and ShaderPack/ShaderProperties backports

This commit is contained in:
Jason Mitchell authored and Jason Mitchell committed 2026-01-22 16:32:15 -08:00
1 parent 6d60477b93
commit bb52476d27
54 files changed
+2210 -494

No files matched your search

@@ -0,0 +1,23 @@
package net.coderbot.iris.gl.texture;
import java.util.function.IntSupplier;
public class TextureWrapper implements TextureAccess {
private final IntSupplier texture;
private final TextureType type;
public TextureWrapper(IntSupplier texture, TextureType type) {
this.texture = texture;
this.type = type;
}
@Override
public TextureType getType() {
return this.type;
}
@Override
public IntSupplier getTextureId() {
return this.texture;
}
}