Class DynamicBufferManger

java.lang.Object
foundry.veil.impl.client.render.dynamicbuffer.DynamicBufferManger
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource

public class DynamicBufferManger extends Object implements org.lwjgl.system.NativeResource
  • Field Details

    • MAIN_WRAPPER

      public static final net.minecraft.resources.ResourceLocation MAIN_WRAPPER
  • Constructor Details

    • DynamicBufferManger

      public DynamicBufferManger(int width, int height)
  • Method Details

    • getActiveBuffers

      public int getActiveBuffers()
    • getBufferTexture

      public int getBufferTexture(DynamicBufferType type)
    • setActiveBuffers

      public boolean setActiveBuffers(int activeBuffers)
    • setEnabled

      @Internal public void setEnabled(boolean enabled)
    • free

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

      @Internal public void setupRenderState(net.minecraft.resources.ResourceLocation name, @Nullable @Nullable com.mojang.blaze3d.pipeline.RenderTarget renderTarget)
    • clearRenderState

      @Internal public void clearRenderState()
    • clear

      @Internal public void clear()
    • resizeFramebuffers

      @Internal public void resizeFramebuffers(int width, int height)
    • getShaderIndex

      public static int getShaderIndex(int glType, int activeBuffers)