net.minecraft.client.renderer

public class EffectInstance

implements Effect, AutoCloseable

dzo
net.minecraft.client.renderer.EffectInstance
net.minecraft.class_280
net.minecraft.client.gl.JsonGlProgram
net.minecraft.client.shader.ShaderInstance

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_1514
LOGGER
field_216545_a
private static final AbstractUniform
b
DUMMY_UNIFORM
field_1520
dummyUniform
field_216546_b
private static EffectInstance
c
lastAppliedEffect
field_1512
activeProgram
field_216547_c
private static int
d
lastProgramId
field_1505
activeProgramRef
field_216548_d
private final Map<String, IntSupplier>
e
samplerMap
field_1516
samplerBinds
field_216549_e
private final List<String>
f
samplerNames
field_1503
samplerNames
field_216550_f
private final List<Integer>
g
samplerLocations
field_1506
samplerShaderLocs
field_216551_g
private final List<Uniform>
h
uniforms
field_1515
uniformData
field_216552_h
private final List<Integer>
i
uniformLocations
field_1507
uniformLocs
field_216553_i
private final Map<String, Uniform>
j
uniformMap
field_1510
uniformByName
field_216554_j
private final int
k
programId
field_1521
programRef
field_216555_k
private final String
l
name
field_1509
name
field_216556_l
private boolean
m
dirty
field_1511
uniformStateDirty
field_216558_n
private final BlendMode
n
blend
field_1517
blendState
field_216559_o
private final List<Integer>
o
attributes
field_1518
attribLocs
field_216560_p
private final List<String>
p
attributeNames
field_1504
attribNames
field_216561_q
private final Program
q
vertexProgram
field_1508
vertexShader
field_216562_r
private final Program
r
fragmentProgram
field_1519
fragmentShader
field_216563_s

Constructor summary

ModifierConstructor
public (ResourceManager resource, String name)

Method summary

Modifier and TypeMethod
public static Program
a(acf arg0, dfb$a arg1, String arg2)
getOrCreate(ResourceManager arg0, Program$Type arg1, String arg2)
method_16036(class_3300 arg0, class_281$class_282 arg1, String arg2)
getShader(ResourceManager resourceManager, GlShader$Type type, String name)
func_216542_a(IResourceManager arg0, ShaderLoader$ShaderType arg1, String arg2)
public static BlendMode
a(com.google.gson.JsonObject arg0)
parseBlendNode(com.google.gson.JsonObject arg0)
method_16035(com.google.gson.JsonObject arg0)
deserializeBlendState(com.google.gson.JsonObject json)
func_216543_a(com.google.gson.JsonObject arg0)
public void
close()
close()
close()
close()
close()
public void
e()
clear()
method_1273()
disable()
func_216544_e()
public void
f()
apply()
method_1277()
enable()
func_216535_f()
public void
b()
markDirty()
method_1279()
markUniformsDirty()
func_147985_d()
public Uniform
a(String arg0)
getUniform(String arg0)
method_1271(String arg0)
getUniformByName(String name)
func_216539_a(String arg0)
public AbstractUniform
b(String arg0)
safeGetUniform(String arg0)
method_1275(String arg0)
getUniformByNameOrDummy(String name)
func_216538_b(String arg0)
private void
h()
updateLocations()
method_1268()
finalizeUniformsAndSamplers()
func_216536_h()
private void
a(com.google.gson.JsonElement arg0)
parseSamplerNode(com.google.gson.JsonElement arg0)
method_1276(com.google.gson.JsonElement arg0)
addSampler(com.google.gson.JsonElement arg0)
func_216541_a(com.google.gson.JsonElement arg0)
public void
a(String arg0, IntSupplier arg1)
setSampler(String arg0, IntSupplier arg1)
method_1269(String arg0, IntSupplier arg1)
bindSampler(String samplerName, IntSupplier arg1)
func_216537_a(String arg0, IntSupplier arg1)
private void
b(com.google.gson.JsonElement arg0)
parseUniformNode(com.google.gson.JsonElement arg0)
method_1272(com.google.gson.JsonElement arg0)
addUniform(com.google.gson.JsonElement arg0)
func_216540_b(com.google.gson.JsonElement arg0)
public Program
c()
getVertexProgram()
method_1274()
getVertexShader()
func_147989_e()
public Program
d()
getFragmentProgram()
method_1278()
getFragmentShader()
func_147994_f()
public int
a()
getId()
method_1270()
getProgramRef()
func_147986_h()