Uses of Enum Class
com.mojang.blaze3d.shaders.ShaderType
Packages that use ShaderType
Package
Description
-
Uses of ShaderType in com.mojang.blaze3d.opengl
Methods in com.mojang.blaze3d.opengl with parameters of type ShaderType -
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 @Nullable ShaderType
ShaderType.byLocation
(Identifier id) 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 windowHandle, int debugVerbosity, boolean sync, BiFunction<Identifier, ShaderType, String> shaderSourceGetter, boolean renderDebugLabels) GpuDevice.precompilePipeline
(RenderPipeline pipeline, @Nullable BiFunction<Identifier, ShaderType, String> sourceRetriever) -
Uses of ShaderType in net.minecraft.client.gl
Fields in net.minecraft.client.gl declared as ShaderTypeModifier and TypeFieldDescriptionprivate final ShaderType
CompiledShader.shaderType
private final ShaderType
GlBackend.ShaderKey.type
The field for thetype
record component.private final ShaderType
ShaderLoader.ShaderSourceKey.type
The field for thetype
record component.Fields in net.minecraft.client.gl with type parameters of type ShaderTypeModifier and TypeFieldDescriptionprivate final BiFunction
<Identifier, ShaderType, String> GlBackend.defaultShaderSourceGetter
Methods in net.minecraft.client.gl that return ShaderTypeModifier and TypeMethodDescriptionGlBackend.ShaderKey.type()
Returns the value of thetype
record component.ShaderLoader.ShaderSourceKey.type()
Returns the value of thetype
record component.Methods in net.minecraft.client.gl with parameters of type ShaderTypeModifier and TypeMethodDescriptionstatic CompiledShader
CompiledShader.compile
(Identifier id, ShaderType type, String source) protected CompiledShader
GlBackend.compileShader
(Identifier id, ShaderType type, Defines defines, BiFunction<Identifier, ShaderType, String> sourceRetriever) ShaderLoader.Cache.getSource
(Identifier id, ShaderType type) ShaderLoader.getSource
(Identifier id, ShaderType type) private static void
ShaderLoader.loadShaderSource
(Identifier id, Resource resource, ShaderType type, Map<Identifier, Resource> allResources, ImmutableMap.Builder<ShaderLoader.ShaderSourceKey, String> builder) Method parameters in net.minecraft.client.gl with type arguments of type ShaderTypeModifier and TypeMethodDescriptionprivate CompiledShaderPipeline
GlBackend.compileRenderPipeline
(RenderPipeline pipeline, BiFunction<Identifier, ShaderType, String> sourceRetriever) private CompiledShader
GlBackend.compileShader
(GlBackend.ShaderKey key, BiFunction<Identifier, ShaderType, String> sourceRetriever) protected CompiledShader
GlBackend.compileShader
(Identifier id, ShaderType type, Defines defines, BiFunction<Identifier, ShaderType, String> sourceRetriever) GlBackend.precompilePipeline
(RenderPipeline renderPipeline, @Nullable BiFunction<Identifier, ShaderType, String> biFunction) Constructors in net.minecraft.client.gl with parameters of type ShaderTypeModifierConstructorDescriptionCompiledShader
(int handle, Identifier id, ShaderType shaderType) (package private)
ShaderKey
(Identifier identifier, ShaderType shaderType, Defines defines) (package private)
ShaderSourceKey
(Identifier identifier, ShaderType shaderType) Constructor parameters in net.minecraft.client.gl with type arguments of type ShaderTypeModifierConstructorDescriptionGlBackend
(long contextId, int debugVerbosity, boolean sync, BiFunction<Identifier, ShaderType, String> shaderSourceGetter, boolean renderDebugLabels)