Class BedrockIrisGlint
java.lang.Object
com.viaversion.viafabricplus.bedrock.render.compat.iris.BedrockIrisGlint
Supplies native radiance through Iris's combined-glint API, retaining pack composition.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic intbindUniform(int program) Iris ignores unknown uniform-buffer descriptions unless both sides receive an explicit binding.static BedrockIrisGlint.Lightinglighting(com.mojang.renderpearl.api.pipeline.RenderPipeline pipeline) static Stringspecialize(String source, BedrockIrisGlint.Lighting lighting) A source specialization is part of Iris's transform-cache identity, not thread-local compile state.static voidtransform(io.github.douira.glsl_transformer.ast.transform.ASTParser parser, io.github.douira.glsl_transformer.ast.node.TranslationUnit tree, net.irisshaders.iris.pipeline.transform.parameter.Parameters parameters)
-
Field Details
-
SAMPLER
- See Also:
-
UNIT
public static final int UNIT- See Also:
-
UNIFORM
- See Also:
-
FIRST_UNIFORM_BINDING
public static final int FIRST_UNIFORM_BINDING- See Also:
-
LIGHTMAP
- See Also:
-
LIGHTMAP_UNIT
public static final int LIGHTMAP_UNIT- See Also:
-
-
Method Details
-
lighting
public static BedrockIrisGlint.Lighting lighting(com.mojang.renderpearl.api.pipeline.RenderPipeline pipeline) -
bindUniform
public static int bindUniform(int program) Iris ignores unknown uniform-buffer descriptions unless both sides receive an explicit binding. -
specialize
A source specialization is part of Iris's transform-cache identity, not thread-local compile state. -
transform
public static void transform(io.github.douira.glsl_transformer.ast.transform.ASTParser parser, io.github.douira.glsl_transformer.ast.node.TranslationUnit tree, net.irisshaders.iris.pipeline.transform.parameter.Parameters parameters)
-