forked from CaffeineMC/sodium
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Revert "Apply BufferBuilder optimizations via delegate (Caffe…
…ineMC#2241)"" This reverts commit 3621222.
- Loading branch information
The Judge
committed
Mar 31, 2024
1 parent
29c680f
commit bb412fc
Showing
7 changed files
with
436 additions
and
354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...ain/java/me/jellysquid/mods/sodium/client/render/vertex/buffer/ExtendedBufferBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package me.jellysquid.mods.sodium.client.render.vertex.buffer; | ||
|
||
import net.caffeinemc.mods.sodium.api.vertex.buffer.VertexBufferWriter; | ||
import net.caffeinemc.mods.sodium.api.vertex.format.VertexFormatDescription; | ||
|
||
import java.nio.ByteBuffer; | ||
|
||
public interface ExtendedBufferBuilder extends VertexBufferWriter { | ||
ByteBuffer sodium$getBuffer(); | ||
int sodium$getElementOffset(); | ||
void sodium$moveToNextVertex(); | ||
VertexFormatDescription sodium$getFormatDescription(); | ||
boolean sodium$usingFixedColor(); | ||
SodiumBufferBuilder sodium$getDelegate(); | ||
} |
Oops, something went wrong.