Package net.minecraft.client.shader
Class ShaderLoader
- java.lang.Object
-
- net.minecraft.client.shader.ShaderLoader
-
public class ShaderLoader extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShaderLoader.ShaderType
-
Field Summary
Fields Modifier and Type Field Description private int
id
private java.lang.String
name
private int
references
private ShaderLoader.ShaderType
type
-
Constructor Summary
Constructors Modifier Constructor Description private
ShaderLoader(ShaderLoader.ShaderType p_i45091_1_, int p_i45091_2_, java.lang.String p_i45091_3_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attachToEffect(IShaderManager p_148056_1_)
void
close()
static ShaderLoader
compileShader(ShaderLoader.ShaderType p_216534_0_, java.lang.String p_216534_1_, java.io.InputStream p_216534_2_, java.lang.String p_216534_3_)
java.lang.String
getName()
-
-
-
Field Detail
-
type
private final ShaderLoader.ShaderType type
-
name
private final java.lang.String name
-
id
private final int id
-
references
private int references
-
-
Constructor Detail
-
ShaderLoader
private ShaderLoader(ShaderLoader.ShaderType p_i45091_1_, int p_i45091_2_, java.lang.String p_i45091_3_)
-
-
Method Detail
-
attachToEffect
public void attachToEffect(IShaderManager p_148056_1_)
-
close
public void close()
-
getName
public java.lang.String getName()
-
compileShader
public static ShaderLoader compileShader(ShaderLoader.ShaderType p_216534_0_, java.lang.String p_216534_1_, java.io.InputStream p_216534_2_, java.lang.String p_216534_3_) throws java.io.IOException
- Throws:
java.io.IOException
-
-