mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-16 10:24:40 +00:00
Custom images, textures, SSBO, and ShaderPack/ShaderProperties backports
This commit is contained in:
1 parent
6d60477b93
commit
bb52476d27
54 files changed
+2210
-494
No files matched your search
@@ -2,22 +2,29 @@ package net.coderbot.iris.postprocess;
|
||||
|
||||
import com.github.bsideup.jabel.Desugar;
|
||||
import it.unimi.dsi.fastutil.objects.Object2ObjectMap;
|
||||
import net.coderbot.iris.gl.image.GlImage;
|
||||
import net.coderbot.iris.gl.texture.TextureAccess;
|
||||
import net.coderbot.iris.pipeline.WorldRenderingPipeline;
|
||||
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 org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.function.IntSupplier;
|
||||
import java.util.Set;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
@Desugar
|
||||
public record ProgramBuildContext(
|
||||
@NotNull RenderTargets renderTargets,
|
||||
@NotNull IntSupplier noiseTexture,
|
||||
@NotNull TextureAccess noiseTexture,
|
||||
@NotNull FrameUpdateNotifier updateNotifier,
|
||||
@NotNull CenterDepthSampler centerDepthSampler,
|
||||
@NotNull Supplier<ShadowRenderTargets> shadowTargetsSupplier,
|
||||
@NotNull Object2ObjectMap<String, IntSupplier> customTextureIds,
|
||||
@NotNull CustomUniforms customUniforms
|
||||
@NotNull Object2ObjectMap<String, TextureAccess> customTextureIds,
|
||||
@NotNull CustomUniforms customUniforms,
|
||||
@Nullable Set<GlImage> customImages,
|
||||
@Nullable Object2ObjectMap<String, TextureAccess> irisCustomTextures,
|
||||
@Nullable WorldRenderingPipeline pipeline
|
||||
) {}
|
||||
Reference in new issue
Block a user