public class ShaderInstance extends java.lang.Object implements IShaderManager, java.lang.AutoCloseable
Modifier and Type | Field and Description |
---|---|
private static ShaderDefault |
field_216546_b |
private static ShaderInstance |
field_216547_c |
private static int |
field_216548_d |
private java.util.Map<java.lang.String,java.lang.Object> |
field_216549_e |
private java.util.List<java.lang.String> |
field_216550_f |
private java.util.List<java.lang.Integer> |
field_216551_g |
private java.util.List<ShaderUniform> |
field_216552_h |
private java.util.List<java.lang.Integer> |
field_216553_i |
private java.util.Map<java.lang.String,ShaderUniform> |
field_216554_j |
private int |
field_216555_k |
private java.lang.String |
field_216556_l |
private boolean |
field_216557_m |
private boolean |
field_216558_n |
private JSONBlendingMode |
field_216559_o |
private java.util.List<java.lang.Integer> |
field_216560_p |
private java.util.List<java.lang.String> |
field_216561_q |
private ShaderLoader |
field_216562_r |
private ShaderLoader |
field_216563_s |
private static org.apache.logging.log4j.Logger |
LOGGER |
Constructor and Description |
---|
ShaderInstance(IResourceManager p_i50988_1_,
java.lang.String p_i50988_2_) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
func_216535_f() |
private void |
func_216536_h() |
void |
func_216537_a(java.lang.String p_216537_1_,
java.lang.Object p_216537_2_) |
ShaderUniform |
func_216539_a(java.lang.String p_216539_1_) |
private void |
func_216540_b(com.google.gson.JsonElement p_216540_1_) |
private void |
func_216541_a(com.google.gson.JsonElement p_216541_1_) |
static ShaderLoader |
func_216542_a(IResourceManager p_216542_0_,
ShaderLoader.ShaderType p_216542_1_,
java.lang.String p_216542_2_) |
static JSONBlendingMode |
func_216543_a(com.google.gson.JsonObject p_216543_0_) |
void |
func_216544_e() |
ShaderLoader |
getFragmentShaderLoader() |
int |
getProgram() |
ShaderDefault |
getShaderUniform(java.lang.String p_216538_1_) |
ShaderLoader |
getVertexShaderLoader() |
void |
markDirty() |
private static final org.apache.logging.log4j.Logger LOGGER
private static final ShaderDefault field_216546_b
private static ShaderInstance field_216547_c
private static int field_216548_d
private final java.util.Map<java.lang.String,java.lang.Object> field_216549_e
private final java.util.List<java.lang.String> field_216550_f
private final java.util.List<java.lang.Integer> field_216551_g
private final java.util.List<ShaderUniform> field_216552_h
private final java.util.List<java.lang.Integer> field_216553_i
private final java.util.Map<java.lang.String,ShaderUniform> field_216554_j
private final int field_216555_k
private final java.lang.String field_216556_l
private final boolean field_216557_m
private boolean field_216558_n
private final JSONBlendingMode field_216559_o
private final java.util.List<java.lang.Integer> field_216560_p
private final java.util.List<java.lang.String> field_216561_q
private final ShaderLoader field_216562_r
private final ShaderLoader field_216563_s
public ShaderInstance(IResourceManager p_i50988_1_, java.lang.String p_i50988_2_) throws java.io.IOException
java.io.IOException
public static ShaderLoader func_216542_a(IResourceManager p_216542_0_, ShaderLoader.ShaderType p_216542_1_, java.lang.String p_216542_2_) throws java.io.IOException
java.io.IOException
public static JSONBlendingMode func_216543_a(com.google.gson.JsonObject p_216543_0_)
public void close()
close
in interface java.lang.AutoCloseable
public void func_216544_e()
public void func_216535_f()
public void markDirty()
markDirty
in interface IShaderManager
@Nullable public ShaderUniform func_216539_a(java.lang.String p_216539_1_)
public ShaderDefault getShaderUniform(java.lang.String p_216538_1_)
private void func_216536_h()
private void func_216541_a(com.google.gson.JsonElement p_216541_1_)
public void func_216537_a(java.lang.String p_216537_1_, java.lang.Object p_216537_2_)
private void func_216540_b(com.google.gson.JsonElement p_216540_1_) throws JSONException
JSONException
public ShaderLoader getVertexShaderLoader()
getVertexShaderLoader
in interface IShaderManager
public ShaderLoader getFragmentShaderLoader()
getFragmentShaderLoader
in interface IShaderManager
public int getProgram()
getProgram
in interface IShaderManager