Interface VeilRegisterFixedBuffersEvent.Registry

Enclosing interface:
VeilRegisterFixedBuffersEvent
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface VeilRegisterFixedBuffersEvent.Registry
Registers additional fixed render buffers.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    registerFixedBuffer(VeilRenderLevelStageEvent.Stage stage, net.minecraft.client.renderer.RenderType renderType)
    Registers the specified render type as a fixed buffer.
  • Method Details

    • registerFixedBuffer

      void registerFixedBuffer(@Nullable VeilRenderLevelStageEvent.Stage stage, net.minecraft.client.renderer.RenderType renderType)
      Registers the specified render type as a fixed buffer. That means all render calls using it will be batched until the specified stage is drawn.
      Parameters:
      stage - The stage to draw the buffer after or null to do it manually
      renderType - The render type to register