Class ShaderModificationManager

java.lang.Object
net.minecraft.server.packs.resources.SimplePreparableReloadListener<ShaderModificationManager.Preparations>
foundry.veil.api.client.render.shader.ShaderModificationManager
All Implemented Interfaces:
net.minecraft.server.packs.resources.PreparableReloadListener

@ScheduledForRemoval(inVersion="5.0.0") @Deprecated(forRemoval=true) public class ShaderModificationManager extends net.minecraft.server.packs.resources.SimplePreparableReloadListener<ShaderModificationManager.Preparations>
Deprecated, for removal: This API element is subject to removal in a future version.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final record 
    Deprecated, for removal: This API element is subject to removal in a future version.

    Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener

    net.minecraft.server.packs.resources.PreparableReloadListener.PreparationBarrier
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    apply(@NotNull ShaderModificationManager.Preparations preparations, @NotNull net.minecraft.server.packs.resources.ResourceManager resourceManager, @NotNull net.minecraft.util.profiling.ProfilerFiller profilerFiller)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    applyModifiers(net.minecraft.resources.ResourceLocation shaderId, io.github.ocelot.glslprocessor.api.node.GlslTree tree, int flags)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    prepare(@NotNull net.minecraft.server.packs.resources.ResourceManager resourceManager, @NotNull net.minecraft.util.profiling.ProfilerFiller profilerFiller)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class net.minecraft.server.packs.resources.SimplePreparableReloadListener

    reload

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener

    getName
  • Constructor Details

    • ShaderModificationManager

      public ShaderModificationManager()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • applyModifiers

      public void applyModifiers(net.minecraft.resources.ResourceLocation shaderId, io.github.ocelot.glslprocessor.api.node.GlslTree tree, int flags)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • prepare

      @NotNull protected @NotNull ShaderModificationManager.Preparations prepare(@NotNull @NotNull net.minecraft.server.packs.resources.ResourceManager resourceManager, @NotNull @NotNull net.minecraft.util.profiling.ProfilerFiller profilerFiller)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      prepare in class net.minecraft.server.packs.resources.SimplePreparableReloadListener<ShaderModificationManager.Preparations>
    • apply

      protected void apply(@NotNull @NotNull ShaderModificationManager.Preparations preparations, @NotNull @NotNull net.minecraft.server.packs.resources.ResourceManager resourceManager, @NotNull @NotNull net.minecraft.util.profiling.ProfilerFiller profilerFiller)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      apply in class net.minecraft.server.packs.resources.SimplePreparableReloadListener<ShaderModificationManager.Preparations>