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 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 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 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) -
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 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.CODEC
Methods 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