Class EventShader

java.lang.Object
dev.boze.api.event.EventShader

public class EventShader extends Object
EventShader

Fired before shader preparation each frame
  • Method Details

    • get

      public static EventShader get()
    • prepare

      public void prepare(ClientColor color)
      Prepare a color for shader rendering

      You must call this each frame you use the color for shader renders

      The shader may not render properly if this isn't called
      Parameters:
      color - Color to prepare
    • getColors

      public HashSet<ClientColor> getColors()
      Called internally to get colors list
      Returns:
      The list of colors to prepare