Uses of Record Class
net.minecraft.client.renderer.ShaderDefines
Packages that use ShaderDefines
-
Uses of ShaderDefines in com.mojang.blaze3d.preprocessor
Methods in com.mojang.blaze3d.preprocessor with parameters of type ShaderDefinesModifier and TypeMethodDescriptionstatic StringGlslPreprocessor.injectDefines(String pShaderSource, ShaderDefines pDefines) -
Uses of ShaderDefines in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as ShaderDefinesModifier and TypeFieldDescriptionprivate final ShaderDefinesShaderManager.ShaderCompilationKey.definesThe field for thedefinesrecord component.private final ShaderDefinesShaderProgram.definesThe field for thedefinesrecord component.private final ShaderDefinesShaderProgramConfig.definesThe field for thedefinesrecord component.static final ShaderDefinesShaderDefines.EMPTYFields in net.minecraft.client.renderer with type parameters of type ShaderDefinesModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ShaderDefines> ShaderDefines.CODECMethods in net.minecraft.client.renderer that return ShaderDefinesModifier and TypeMethodDescriptionShaderDefines.Builder.build()ShaderManager.ShaderCompilationKey.defines()Returns the value of thedefinesrecord component.ShaderProgram.defines()Returns the value of thedefinesrecord component.ShaderProgramConfig.defines()Returns the value of thedefinesrecord component.ShaderDefines.withOverrides(ShaderDefines pDefines) Methods in net.minecraft.client.renderer with parameters of type ShaderDefinesModifier and TypeMethodDescriptionprivate CompiledShaderShaderManager.CompilationCache.getOrCompileShader(ResourceLocation pId, CompiledShader.Type pType, ShaderDefines pDefines) private CompiledShaderShaderManager.preloadShader(ResourceProvider pResourceProvider, ResourceLocation pShader, CompiledShader.Type pType, ShaderDefines pDefines) private static ShaderProgramCoreShaders.register(String pName, VertexFormat pVertexFormat, ShaderDefines pDefines) ShaderDefines.withOverrides(ShaderDefines pDefines) Constructors in net.minecraft.client.renderer with parameters of type ShaderDefinesModifierConstructorDescription(package private)ShaderCompilationKey(ResourceLocation id, CompiledShader.Type type, ShaderDefines defines) Creates an instance of aShaderCompilationKeyrecord class.ShaderProgram(ResourceLocation configId, VertexFormat vertexFormat, ShaderDefines defines) Creates an instance of aShaderProgramrecord class.ShaderProgramConfig(ResourceLocation vertex, ResourceLocation fragment, List<ShaderProgramConfig.Sampler> samplers, List<ShaderProgramConfig.Uniform> uniforms, ShaderDefines defines) Creates an instance of aShaderProgramConfigrecord class.