Interface IVertexBuffer
- All Known Implementing Classes:
VertexBufferMixin
public interface IVertexBuffer
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttributeVBO(int binding, FloatBuffer buffer, com.mojang.blaze3d.vertex.VertexBuffer.Usage usage, Consumer<Integer> setup) static IVertexBuffercast(com.mojang.blaze3d.vertex.VertexBuffer vertexBuffer) voiddrawInstanced(int instances) voiddrawWithShaderInstanced(org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix, net.minecraft.client.renderer.ShaderInstance shader, int instances)
-
Method Details
-
cast
-
drawInstanced
void drawInstanced(int instances) -
drawWithShaderInstanced
void drawWithShaderInstanced(org.joml.Matrix4f modelViewMatrix, org.joml.Matrix4f projectionMatrix, net.minecraft.client.renderer.ShaderInstance shader, int instances) -
addAttributeVBO
void addAttributeVBO(int binding, FloatBuffer buffer, com.mojang.blaze3d.vertex.VertexBuffer.Usage usage, Consumer<Integer> setup)
-