Class DhApiBeforeGenericRenderSetupEvent

java.lang.Object
com.seibel.distanthorizons.api.methods.events.abstractEvents.DhApiBeforeGenericRenderSetupEvent
All Implemented Interfaces:
IDhApiEvent<DhApiRenderParam>, IBindable

public abstract class DhApiBeforeGenericRenderSetupEvent extends Object implements IDhApiEvent<DhApiRenderParam>
Called before Distant Horizons has started setting up OpenGL objects for rendering generic objects.
If you want to modify already bound DH OpenGL objects try using DhApiBeforeGenericObjectRenderEvent.
Since:
API 3.0.0
See Also:
  • Constructor Details

    • DhApiBeforeGenericRenderSetupEvent

      public DhApiBeforeGenericRenderSetupEvent()
  • Method Details

    • beforeSetup

      public abstract void beforeSetup(DhApiEventParam<DhApiRenderParam> input)
      Fired before Distant Horizons has started setting up OpenGL objects for rendering generic objects.
    • fireEvent

      public final void fireEvent(DhApiEventParam<DhApiRenderParam> input)
      Description copied from interface: IDhApiEvent
      Called internally by Distant Horizons when the event happens. This method shouldn't directly be overridden and should call a more specific method instead.
      Specified by:
      fireEvent in interface IDhApiEvent<DhApiRenderParam>
      Parameters:
      input - the parameter object passed in from the event source. Can be null.