Uses of Enum Class
com.mojang.blaze3d.shaders.ShaderType
Packages that use ShaderType
Package
Description
-
Uses of ShaderType in com.mojang.blaze3d.opengl
Fields in com.mojang.blaze3d.opengl declared as ShaderTypeModifier and TypeFieldDescriptionprivate final ShaderType
GlDevice.ShaderCompilationKey.type
The field for thetype
record component.private final ShaderType
GlShaderModule.type
Fields in com.mojang.blaze3d.opengl with type parameters of type ShaderTypeModifier and TypeFieldDescriptionprivate final BiFunction
<ResourceLocation, ShaderType, String> GlDevice.defaultShaderSource
Methods in com.mojang.blaze3d.opengl that return ShaderTypeModifier and TypeMethodDescriptionGlDevice.ShaderCompilationKey.type()
Returns the value of thetype
record component.Methods in com.mojang.blaze3d.opengl with parameters of type ShaderTypeModifier and TypeMethodDescriptionstatic GlShaderModule
GlShaderModule.compile
(ResourceLocation p_409598_, ShaderType p_410122_, String p_410840_) protected GlShaderModule
GlDevice.getOrCompileShader
(ResourceLocation p_410881_, ShaderType p_409876_, ShaderDefines p_410398_, BiFunction<ResourceLocation, ShaderType, String> p_410158_) static int
GlConst.toGl
(ShaderType p_412490_) Method parameters in com.mojang.blaze3d.opengl with type arguments of type ShaderTypeModifier and TypeMethodDescriptionprivate GlRenderPipeline
GlDevice.compilePipeline
(RenderPipeline p_409588_, BiFunction<ResourceLocation, ShaderType, String> p_410709_) private GlShaderModule
GlDevice.compileShader
(GlDevice.ShaderCompilationKey p_410649_, BiFunction<ResourceLocation, ShaderType, String> p_409708_) protected GlShaderModule
GlDevice.getOrCompileShader
(ResourceLocation p_410881_, ShaderType p_409876_, ShaderDefines p_410398_, BiFunction<ResourceLocation, ShaderType, String> p_410158_) GlDevice.precompilePipeline
(RenderPipeline p_410489_, BiFunction<ResourceLocation, ShaderType, String> p_410134_) Constructors in com.mojang.blaze3d.opengl with parameters of type ShaderTypeModifierConstructorDescriptionGlShaderModule
(int p_410278_, ResourceLocation p_409685_, ShaderType p_409901_) (package private)
ShaderCompilationKey
(ResourceLocation id, ShaderType type, ShaderDefines defines) Creates an instance of aShaderCompilationKey
record class.Constructor parameters in com.mojang.blaze3d.opengl with type arguments of type ShaderTypeModifierConstructorDescriptionGlDevice
(long p_410629_, int p_410525_, boolean p_409747_, BiFunction<ResourceLocation, ShaderType, String> p_410292_, boolean p_410647_) -
Uses of ShaderType in com.mojang.blaze3d.shaders
Fields in com.mojang.blaze3d.shaders declared as ShaderTypeMethods in com.mojang.blaze3d.shaders that return ShaderTypeModifier and TypeMethodDescriptionstatic ShaderType
ShaderType.byLocation
(ResourceLocation p_410529_) static ShaderType
Returns the enum constant of this class with the specified name.static ShaderType[]
ShaderType.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of ShaderType in com.mojang.blaze3d.systems
Method parameters in com.mojang.blaze3d.systems with type arguments of type ShaderTypeModifier and TypeMethodDescriptionstatic void
RenderSystem.initRenderer
(long p_409720_, int p_69581_, boolean p_69582_, BiFunction<ResourceLocation, ShaderType, String> p_410113_, boolean p_410401_) GpuDevice.precompilePipeline
(RenderPipeline p_410310_, BiFunction<ResourceLocation, ShaderType, String> p_410373_) -
Uses of ShaderType in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as ShaderTypeModifier and TypeFieldDescriptionprivate final ShaderType
ShaderManager.ShaderSourceKey.type
The field for thetype
record component.Methods in net.minecraft.client.renderer that return ShaderTypeModifier and TypeMethodDescriptionShaderManager.ShaderSourceKey.type()
Returns the value of thetype
record component.Methods in net.minecraft.client.renderer with parameters of type ShaderTypeModifier and TypeMethodDescriptionShaderManager.getShader
(ResourceLocation p_410854_, ShaderType p_410496_) ShaderManager.CompilationCache.getShaderSource
(ResourceLocation p_409941_, ShaderType p_410764_) private static void
ShaderManager.loadShader
(ResourceLocation p_366513_, Resource p_366763_, ShaderType p_410200_, Map<ResourceLocation, Resource> p_366725_, com.google.common.collect.ImmutableMap.Builder<ShaderManager.ShaderSourceKey, String> p_366733_) Constructors in net.minecraft.client.renderer with parameters of type ShaderTypeModifierConstructorDescription(package private)
ShaderSourceKey
(ResourceLocation id, ShaderType type) Creates an instance of aShaderSourceKey
record class.