Uses of Enum Class
net.minecraft.client.gl.CompiledShader.Type
Packages that use CompiledShader.Type
-
Uses of CompiledShader.Type in net.minecraft.client.gl
Fields in net.minecraft.client.gl declared as CompiledShader.TypeModifier and TypeFieldDescriptionprivate final CompiledShader.Type
ShaderLoader.ShaderKey.type
The field for thetype
record component.private final CompiledShader.Type
ShaderLoader.ShaderSourceKey.type
The field for thetype
record component.private static final CompiledShader.Type[]
CompiledShader.Type.VALUES
Methods in net.minecraft.client.gl that return CompiledShader.TypeModifier and TypeMethodDescriptionstatic @Nullable CompiledShader.Type
CompiledShader.Type.fromId
(Identifier id) ShaderLoader.ShaderKey.type()
Returns the value of thetype
record component.ShaderLoader.ShaderSourceKey.type()
Returns the value of thetype
record component.static CompiledShader.Type
Returns the enum constant of this class with the specified name.static CompiledShader.Type[]
CompiledShader.Type.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.client.gl with parameters of type CompiledShader.TypeModifier and TypeMethodDescriptionstatic CompiledShader
CompiledShader.compile
(Identifier id, CompiledShader.Type type, String source) private CompiledShader
ShaderLoader.compileShader
(ResourceFactory factory, Identifier id, CompiledShader.Type type, Defines defines) private CompiledShader
ShaderLoader.Cache.loadShader
(Identifier id, CompiledShader.Type type, Defines defines) private static void
ShaderLoader.loadShaderSource
(Identifier id, Resource resource, CompiledShader.Type type, Map<Identifier, Resource> allResources, ImmutableMap.Builder<ShaderLoader.ShaderSourceKey, String> builder) Constructors in net.minecraft.client.gl with parameters of type CompiledShader.TypeModifierConstructorDescription(package private)
ShaderKey
(Identifier identifier, CompiledShader.Type type, Defines defines) (package private)
ShaderSourceKey
(Identifier identifier, CompiledShader.Type type)