Class DhApiBeforeDeferredRenderEvent

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

public abstract class DhApiBeforeDeferredRenderEvent extends DhApiBeforeRenderEvent
Called before Distant Horizons starts rendering the deferred rendering pass.
Will only happen if IDhApiRenderProxy.getDeferTransparentRendering() is true.
Generally this is only used when shaders are enabled.
Canceling the event will prevent DH from rendering the deferred pass that frame.
Since:
API 2.0.0
  • Constructor Details

    • DhApiBeforeDeferredRenderEvent

      public DhApiBeforeDeferredRenderEvent()