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 interface VeilRegisterFixedBuffersEvent

Fired to register additional fixed render types.

Fixed buffers are batched together and are not drawn until after the specified stage is drawn. This should be used in most cases to defer a specific render type to a specific time.

  • Method Details

    • onRegisterFixedBuffers

      void onRegisterFixedBuffers(VeilRegisterFixedBuffersEvent.Registry registry)
      Registers fixed render types. The stage determines when the buffer should be finished and the render type is the layer to finish.
      Parameters:
      registry - The registry to add render types to