Interface InvalidateRenderStateCallback


@Deprecated public interface InvalidateRenderStateCallback
Deprecated.
Called when the world renderer reloads, usually as result of changing resource pack or video configuration, or when the player types F3+A in the debug screen. Afterwards all render chunks will be reset and reloaded.

Render chunks and other render-related object instances will be made null or invalid after this event so do not use it to capture dependent state. Instead, use it to invalidate state and reinitialize lazily.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.