Package foundry.veil.api.client.render
Class CachedBufferSource
java.lang.Object
foundry.veil.api.client.render.CachedBufferSource
- All Implemented Interfaces:
AutoCloseable
,net.minecraft.client.renderer.MultiBufferSource
,org.lwjgl.system.NativeResource
public class CachedBufferSource
extends Object
implements net.minecraft.client.renderer.MultiBufferSource, org.lwjgl.system.NativeResource
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.renderer.MultiBufferSource
net.minecraft.client.renderer.MultiBufferSource.BufferSource
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
Constructor Details
-
CachedBufferSource
public CachedBufferSource()
-
-
Method Details
-
getBuffer
@NotNull public @NotNull com.mojang.blaze3d.vertex.VertexConsumer getBuffer(@NotNull @NotNull net.minecraft.client.renderer.RenderType renderType) - Specified by:
getBuffer
in interfacenet.minecraft.client.renderer.MultiBufferSource
-
free
public void free()- Specified by:
free
in interfaceorg.lwjgl.system.NativeResource
-
endLastBatch
public void endLastBatch() -
endBatch
public void endBatch() -
endBatch
public void endBatch(net.minecraft.client.renderer.RenderType pRenderType)
-