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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
-
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
- Specified by:
veil$getShaderSources
in interfaceShaderInstanceExtension
-
veil$swapBuffers
public boolean veil$swapBuffers(int activeBuffers) - Specified by:
veil$swapBuffers
in interfaceShaderInstanceExtension
-
veil$recompile
- Specified by:
veil$recompile
in interfaceShaderInstanceExtension
-