Common and version specific shader packages #10
No files matched your search
+3
-1
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user