mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-16 10:24:40 +00:00
Parallel shader transformation and use Transformer instead of Utils (#1191)
This commit is contained in:
1 parent
f0d45b0d62
commit
89132f3ef9
16 files changed
+743
-302
No files matched your search
@@ -0,0 +1,23 @@
|
||||
package net.coderbot.iris.postprocess;
|
||||
|
||||
import com.github.bsideup.jabel.Desugar;
|
||||
import it.unimi.dsi.fastutil.objects.Object2ObjectMap;
|
||||
import net.coderbot.iris.rendertarget.RenderTargets;
|
||||
import net.coderbot.iris.shadows.ShadowRenderTargets;
|
||||
import net.coderbot.iris.uniforms.FrameUpdateNotifier;
|
||||
import net.coderbot.iris.uniforms.custom.CustomUniforms;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.function.IntSupplier;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
@Desugar
|
||||
public record ProgramBuildContext(
|
||||
@NotNull RenderTargets renderTargets,
|
||||
@NotNull IntSupplier noiseTexture,
|
||||
@NotNull FrameUpdateNotifier updateNotifier,
|
||||
@NotNull CenterDepthSampler centerDepthSampler,
|
||||
@NotNull Supplier<ShadowRenderTargets> shadowTargetsSupplier,
|
||||
@NotNull Object2ObjectMap<String, IntSupplier> customTextureIds,
|
||||
@NotNull CustomUniforms customUniforms
|
||||
) {}
|
||||
Reference in new issue
Block a user