Class DynamicBufferShaderInstanceMixin

java.lang.Object
foundry.veil.mixin.dynamicbuffer.client.DynamicBufferShaderInstanceMixin
All Implemented Interfaces:
com.mojang.blaze3d.shaders.Shader, ShaderInstanceExtension

public abstract class DynamicBufferShaderInstanceMixin extends Object implements com.mojang.blaze3d.shaders.Shader, ShaderInstanceExtension
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Map<String,com.mojang.blaze3d.shaders.Uniform>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
     
    void
    close(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
     
    void
    init(net.minecraft.server.packs.resources.ResourceProvider resourceProvider, String name, com.mojang.blaze3d.vertex.VertexFormat vertexFormat, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
     
    protected abstract void
     
    Collection<net.minecraft.resources.ResourceLocation>
     
    void
    veil$recompile(boolean vertex, String source, int activeBuffers)
     
    boolean
    veil$swapBuffers(int activeBuffers)
     

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface com.mojang.blaze3d.shaders.Shader

    attachToProgram, getFragmentProgram, getId, getVertexProgram, markDirty
  • Field Details

    • uniformMap

      public Map<String,com.mojang.blaze3d.shaders.Uniform> uniformMap
  • Constructor Details

    • DynamicBufferShaderInstanceMixin

      public DynamicBufferShaderInstanceMixin()
  • Method Details

    • updateLocations

      protected abstract void updateLocations()
    • init

      public void init(net.minecraft.server.packs.resources.ResourceProvider resourceProvider, String name, com.mojang.blaze3d.vertex.VertexFormat vertexFormat, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
    • apply

      public void apply(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
    • close

      public void close(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
    • veil$getShaderSources

      public Collection<net.minecraft.resources.ResourceLocation> veil$getShaderSources()
      Specified by:
      veil$getShaderSources in interface ShaderInstanceExtension
    • veil$swapBuffers

      public boolean veil$swapBuffers(int activeBuffers)
      Specified by:
      veil$swapBuffers in interface ShaderInstanceExtension
    • veil$recompile

      public void veil$recompile(boolean vertex, String source, int activeBuffers)
      Specified by:
      veil$recompile in interface ShaderInstanceExtension