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 ShaderDefinesGlDevice.ShaderCompilationKey.definesThe field for thedefinesrecord component.Methods in com.mojang.blaze3d.opengl that return ShaderDefinesModifier and TypeMethodDescriptionGlDevice.ShaderCompilationKey.defines()Returns the value of thedefinesrecord component.Methods in com.mojang.blaze3d.opengl with parameters of type ShaderDefinesModifier and TypeMethodDescriptionprotected GlShaderModuleGlDevice.getOrCompileShader(ResourceLocation shader, ShaderType type, ShaderDefines defines, BiFunction<ResourceLocation, ShaderType, String> shaderSource) Constructors in com.mojang.blaze3d.opengl with parameters of type ShaderDefinesModifierConstructorDescription(package private)ShaderCompilationKey(ResourceLocation id, ShaderType type, ShaderDefines defines) Creates an instance of aShaderCompilationKeyrecord 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.shaderDefinesThe field for theshaderDefinesrecord 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 theshaderDefinesrecord component.Constructors in com.mojang.blaze3d.pipeline with parameters of type ShaderDefinesModifierConstructorDescriptionprotectedRenderPipeline(ResourceLocation location, ResourceLocation vertexShader, ResourceLocation fragmentShader, ShaderDefines shaderDefines, List<String> samplers, List<RenderPipeline.UniformDescription> uniforms, Optional<BlendFunction> blendFunction, DepthTestFunction depthTestFunction, PolygonMode polygonMode, boolean cull, boolean writeColor, boolean writeAlpha, boolean writeDepth, LogicOp colorLogic, VertexFormat vertexFormat, VertexFormat.Mode vertexFormatMode, float depthBiasScaleFactor, float depthBiasConstant) -
Uses of ShaderDefines in com.mojang.blaze3d.preprocessor
Methods in com.mojang.blaze3d.preprocessor with parameters of type ShaderDefinesModifier and TypeMethodDescriptionstatic StringGlslPreprocessor.injectDefines(String shaderSource, ShaderDefines defines) -
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.CODECMethods in net.minecraft.client.renderer that return ShaderDefinesModifier and TypeMethodDescriptionShaderDefines.Builder.build()ShaderDefines.withOverrides(ShaderDefines defines) Methods in net.minecraft.client.renderer with parameters of type ShaderDefines