Interface LightTypeRegistry.RendererFactory<T extends Light>

Type Parameters:
T - The type of light the renderer needs to draw
Enclosing class:
LightTypeRegistry
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 LightTypeRegistry.RendererFactory<T extends Light>
Creates the renderer for lights when requested.
  • Method Details

    • createRenderer

      LightTypeRenderer<T> createRenderer()
      Returns:
      A new renderer for lights