Common and version specific shader packages #10
No files matched your search
+3
-1
@@ -1,5 +1,7 @@
|
|||||||
package net.irisshaders.iris.api.v0;
|
package net.irisshaders.iris.api.v0;
|
||||||
|
|
||||||
|
import com.mojang.blaze3d.vertex.VertexFormat;
|
||||||
|
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
|
|
||||||
public interface IrisTextVertexSink {
|
public interface IrisTextVertexSink {
|
||||||
@@ -8,7 +10,7 @@ public interface IrisTextVertexSink {
|
|||||||
*
|
*
|
||||||
* @return a valid {@code VertexFormat} instance
|
* @return a valid {@code VertexFormat} instance
|
||||||
*/
|
*/
|
||||||
// VertexFormat getUnderlyingVertexFormat();
|
VertexFormat getUnderlyingVertexFormat();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the underlying buffer used for rendering text in the current sink.
|
* 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);
|
this.elementOffset = MemoryUtil.memAddress(this.buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
// @Override
|
@Override
|
||||||
// public VertexFormat getUnderlyingVertexFormat() {
|
public VertexFormat getUnderlyingVertexFormat() {
|
||||||
// return format;
|
return format;
|
||||||
// }
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ByteBuffer getUnderlyingByteBuffer() {
|
public ByteBuffer getUnderlyingByteBuffer() {
|
||||||
|
|||||||
Reference in new issue
Block a user