Interface SceneShaderInfoProvider

All Superinterfaces:
Extension

public interface SceneShaderInfoProvider extends Extension
Allows mods to describe how their custom render pipelines should be rendered by the web viewer when game scenes are exported. Pipelines that no provider handles use SceneShaderInfo.fromPipeline(RenderPipeline), which only understands the conventions of the vanilla core shaders.
  • Field Details

  • Method Details

    • getShaderInfo

      @Nullable @Nullable SceneShaderInfo getShaderInfo(com.mojang.blaze3d.pipeline.RenderPipeline pipeline)
      Returns:
      The shader info for the given pipeline, or null if this provider does not handle it.