Common and version specific shader packages #10

Merged
embeddedt merged 24 commits from mitchej123/celeritas:common-shaders-and-enhancements into stonecutter 2025-03-31 19:52:28 -04:00
2 changed files with 7 additions and 5 deletions
Showing only changes of commit b16eccff95 - Show all commits

No files matched your search

@@ -1,5 +1,7 @@
package net.irisshaders.iris.api.v0;
import com.mojang.blaze3d.vertex.VertexFormat;
import java.nio.ByteBuffer;
public interface IrisTextVertexSink {
@@ -8,7 +10,7 @@ public interface IrisTextVertexSink {
*
* @return a valid {@code VertexFormat} instance
*/
// VertexFormat getUnderlyingVertexFormat();
VertexFormat getUnderlyingVertexFormat();
/**
* Gets the underlying buffer used for rendering text in the current sink.
@@ -33,10 +33,10 @@ public class IrisTextVertexSinkImpl implements IrisTextVertexSink {
this.elementOffset = MemoryUtil.memAddress(this.buffer);
}
// @Override
// public VertexFormat getUnderlyingVertexFormat() {
// return format;
// }
@Override
public VertexFormat getUnderlyingVertexFormat() {
return format;
}
@Override
public ByteBuffer getUnderlyingByteBuffer() {