Class ShaderInstanceMixin
java.lang.Object
foundry.veil.mixin.client.dynamicbuffer.ShaderInstanceMixin
- All Implemented Interfaces:
com.mojang.blaze3d.shaders.Shader
,ShaderInstanceExtension
public abstract class ShaderInstanceMixin
extends Object
implements com.mojang.blaze3d.shaders.Shader, ShaderInstanceExtension
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) protected abstract void
Collection
<net.minecraft.resources.ResourceLocation> void
veil$recompile
(boolean vertex, String source) 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
-
-
Constructor Details
-
ShaderInstanceMixin
public ShaderInstanceMixin()
-
-
Method Details
-
updateLocations
protected abstract void updateLocations() -
apply
public void apply(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) -
veil$getShaderSources
- Specified by:
veil$getShaderSources
in interfaceShaderInstanceExtension
-
veil$recompile
- Specified by:
veil$recompile
in interfaceShaderInstanceExtension
-