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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    endBatch(net.minecraft.client.renderer.RenderType renderType)
     
    void
     
    void
     
    com.mojang.blaze3d.vertex.VertexConsumer
    getBuffer(net.minecraft.client.renderer.RenderType renderType)
     

    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

      public com.mojang.blaze3d.vertex.VertexConsumer getBuffer(net.minecraft.client.renderer.RenderType renderType)
      Specified by:
      getBuffer in interface net.minecraft.client.renderer.MultiBufferSource
    • free

      public void free()
      Specified by:
      free in interface org.lwjgl.system.NativeResource
    • endLastBatch

      public void endLastBatch()
    • endBatch

      public void endBatch()
    • endBatch

      public void endBatch(net.minecraft.client.renderer.RenderType renderType)