Class IrisInteropAdapter

java.lang.Object
com.render.api.world.compat.IrisInteropAdapter

public final class IrisInteropAdapter extends Object
Optional Iris API boundary. This class has no linkage to Iris types and is only loaded after Fabric Loader reports that Iris is present.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final record 
    Immutable result of the optional Iris API query.
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    copyPipeline(com.mojang.blaze3d.pipeline.RenderPipeline source, com.mojang.blaze3d.pipeline.RenderPipeline target)
    Registers a custom pipeline as program-compatible with an Iris-known vanilla pipeline.
    Queries the optional public Iris API without making it a runtime dependency.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • probe

      public static IrisInteropAdapter.Status probe()
      Queries the optional public Iris API without making it a runtime dependency.
    • copyPipeline

      public static boolean copyPipeline(com.mojang.blaze3d.pipeline.RenderPipeline source, com.mojang.blaze3d.pipeline.RenderPipeline target)
      Registers a custom pipeline as program-compatible with an Iris-known vanilla pipeline. Iris exposes this bridge publicly, but it remains reflectively isolated because Iris is an optional dependency.