Class BedrockShaderPipelines

java.lang.Object
com.viaversion.viafabricplus.bedrock.render.BedrockShaderPipelines

public final class BedrockShaderPipelines extends Object
Shader-pack equivalents for native pipelines, independent of an installed shader mod.
  • Method Summary

    Modifier and Type
    Method
    Description
    static float
    alphaReference(com.mojang.renderpearl.api.pipeline.RenderPipeline pipeline)
     
    static com.mojang.renderpearl.api.pipeline.RenderPipeline
     
    static <T> T
    compiling(com.mojang.renderpearl.api.pipeline.RenderPipeline pipeline, Supplier<T> action)
    Scope nested program lookups to their actual native pipeline, including cached Iris overrides.
    static com.mojang.renderpearl.api.pipeline.RenderPipeline
    equivalent(com.mojang.renderpearl.api.pipeline.RenderPipeline pipeline)
     
    static com.mojang.renderpearl.api.pipeline.RenderPipeline
    register(com.mojang.renderpearl.api.pipeline.RenderPipeline nativePipeline, com.mojang.renderpearl.api.pipeline.RenderPipeline shaderPipeline)
     
    static com.mojang.renderpearl.api.pipeline.RenderPipeline
    register(com.mojang.renderpearl.api.pipeline.RenderPipeline nativePipeline, com.mojang.renderpearl.api.pipeline.RenderPipeline shaderPipeline, float alphaReference)
     

    Methods inherited from class Object

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

    • register

      public static com.mojang.renderpearl.api.pipeline.RenderPipeline register(com.mojang.renderpearl.api.pipeline.RenderPipeline nativePipeline, com.mojang.renderpearl.api.pipeline.RenderPipeline shaderPipeline)
    • register

      public static com.mojang.renderpearl.api.pipeline.RenderPipeline register(com.mojang.renderpearl.api.pipeline.RenderPipeline nativePipeline, com.mojang.renderpearl.api.pipeline.RenderPipeline shaderPipeline, float alphaReference)
    • compiling

      public static <T> T compiling(com.mojang.renderpearl.api.pipeline.RenderPipeline pipeline, Supplier<T> action)
      Scope nested program lookups to their actual native pipeline, including cached Iris overrides.
    • compiling

      public static com.mojang.renderpearl.api.pipeline.RenderPipeline compiling()
    • equivalent

      public static com.mojang.renderpearl.api.pipeline.RenderPipeline equivalent(com.mojang.renderpearl.api.pipeline.RenderPipeline pipeline)
    • alphaReference

      public static float alphaReference(com.mojang.renderpearl.api.pipeline.RenderPipeline pipeline)