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 pShader, ShaderType pType, ShaderDefines pDefines, BiFunction<ResourceLocation, ShaderType, String> pShaderSource) 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 pLocation, ResourceLocation pVertexShader, ResourceLocation pFragmentShader, ShaderDefines pShaderDefines, List<String> pSamplers, List<RenderPipeline.UniformDescription> pUniforms, Optional<BlendFunction> pBlendFunction, DepthTestFunction pDepthTestFunction, PolygonMode pPolygonMode, boolean pCull, boolean pWriteColor, boolean pWriteAlpha, boolean pWriteDepth, LogicOp pColorLogic, VertexFormat pVertexFormat, VertexFormat.Mode pVertexFormatMode, float pDepthBiasScaleFactor, float pDepthBiasConstant, int pSortKey) Deprecated.protectedRenderPipeline(ResourceLocation pLocation, ResourceLocation pVertexShader, ResourceLocation pFragmentShader, ShaderDefines pShaderDefines, List<String> pSamplers, List<RenderPipeline.UniformDescription> pUniforms, Optional<BlendFunction> pBlendFunction, DepthTestFunction pDepthTestFunction, PolygonMode pPolygonMode, boolean pCull, boolean pWriteColor, boolean pWriteAlpha, boolean pWriteDepth, LogicOp pColorLogic, VertexFormat pVertexFormat, VertexFormat.Mode pVertexFormatMode, float pDepthBiasScaleFactor, float pDepthBiasConstant, int pSortKey, Optional<StencilTest> stencilTest) -
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 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 pDefines) Methods in net.minecraft.client.renderer with parameters of type ShaderDefines
RenderPipeline(ResourceLocation, ResourceLocation, ResourceLocation, ShaderDefines, List, List, Optional, DepthTestFunction, PolygonMode, boolean, boolean, boolean, boolean, LogicOp, VertexFormat, VertexFormat.Mode, float, float, int, Optional)instead