Uses of Record Class
net.minecraft.client.renderer.ShaderDefines
Packages that use ShaderDefines
Package
Description
-
Uses of ShaderDefines in com.mojang.blaze3d.opengl
Fields in com.mojang.blaze3d.opengl declared as ShaderDefinesModifier and TypeFieldDescriptionprivate final ShaderDefines
GlDevice.ShaderCompilationKey.defines
The field for thedefines
record component.Methods in com.mojang.blaze3d.opengl that return ShaderDefinesModifier and TypeMethodDescriptionGlDevice.ShaderCompilationKey.defines()
Returns the value of thedefines
record component.Methods in com.mojang.blaze3d.opengl with parameters of type ShaderDefinesModifier and TypeMethodDescriptionprotected GlShaderModule
GlDevice.getOrCompileShader
(ResourceLocation p_410881_, ShaderType p_409876_, ShaderDefines p_410398_, BiFunction<ResourceLocation, ShaderType, String> p_410158_) Constructors in com.mojang.blaze3d.opengl with parameters of type ShaderDefinesModifierConstructorDescription(package private)
ShaderCompilationKey
(ResourceLocation id, ShaderType type, ShaderDefines defines) Creates an instance of aShaderCompilationKey
record class. -
Uses of ShaderDefines in com.mojang.blaze3d.pipeline
Fields in com.mojang.blaze3d.pipeline declared as ShaderDefinesFields in com.mojang.blaze3d.pipeline with type parameters of type ShaderDefinesModifier and TypeFieldDescriptionprivate final Optional
<ShaderDefines> RenderPipeline.Snippet.shaderDefines
The field for theshaderDefines
record component.Methods in com.mojang.blaze3d.pipeline that return ShaderDefinesMethods in com.mojang.blaze3d.pipeline that return types with arguments of type ShaderDefinesModifier and TypeMethodDescriptionRenderPipeline.Snippet.shaderDefines()
Returns the value of theshaderDefines
record component.Constructors in com.mojang.blaze3d.pipeline with parameters of type ShaderDefinesModifierConstructorDescriptionprotected
RenderPipeline
(ResourceLocation p_405403_, ResourceLocation p_405389_, ResourceLocation p_404945_, ShaderDefines p_405426_, List<String> p_405334_, List<RenderPipeline.UniformDescription> p_404693_, Optional<BlendFunction> p_404667_, DepthTestFunction p_410224_, PolygonMode p_409822_, boolean p_404907_, boolean p_405688_, boolean p_405411_, boolean p_405477_, LogicOp p_410051_, VertexFormat p_405109_, VertexFormat.Mode p_404708_, float p_410755_, float p_409999_) -
Uses of ShaderDefines in com.mojang.blaze3d.preprocessor
Methods in com.mojang.blaze3d.preprocessor with parameters of type ShaderDefinesModifier and TypeMethodDescriptionstatic String
GlslPreprocessor.injectDefines
(String p_366820_, ShaderDefines p_366487_) -
Uses of ShaderDefines in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as ShaderDefinesFields in net.minecraft.client.renderer with type parameters of type ShaderDefinesModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ShaderDefines> ShaderDefines.CODEC
Methods in net.minecraft.client.renderer that return ShaderDefinesModifier and TypeMethodDescriptionShaderDefines.Builder.build()
ShaderDefines.withOverrides
(ShaderDefines p_366677_) Methods in net.minecraft.client.renderer with parameters of type ShaderDefines