Class DhApiBeforeRenderSetupEvent

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

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

    • DhApiBeforeRenderSetupEvent

      public DhApiBeforeRenderSetupEvent()
  • Method Details

    • beforeSetup

      public abstract void beforeSetup(DhApiEventParam<DhApiRenderParam> input)
      Fired before Distant Horizons has started setting up OpenGL objects for rendering.
    • 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.