net.minecraft.client.renderer

public class EffectInstance

implements Effect, AutoCloseable

ezi
net.minecraft.client.renderer.EffectInstance
net.minecraft.class_280
net.minecraft.unmapped.C_xxiunbap
net.minecraft.client.gl.JsonEffectGlShader
net.minecraft.client.gl.JsonEffectGlShader
net.minecraft.src.C_4117_

Field summary

Modifier and TypeField
private static final String
a
EFFECT_SHADER_PATH
field_32682
f_theobhcd
PROGRAM_DIRECTORY
PROGRAM_DIRECTORY
f_172564_
private static final org.slf4j.Logger
b
LOGGER
field_1514
f_extvediu
LOGGER
LOGGER
f_108921_
private static final AbstractUniform
c
DUMMY_UNIFORM
field_1520
f_fikfpwdt
DEFAULT_UNIFORM
DEFAULT_UNIFORM
f_108922_
private static final boolean
d
ALWAYS_REAPPLY
field_32683
f_mzjimupf
field_32683
ALWAYS_REAPPLY_SHADERS
f_172565_
private static EffectInstance
e
lastAppliedEffect
field_1512
f_vjsuctba
activeShader
activeShader
f_108923_
private static int
f
lastProgramId
field_1505
f_ibwgkjme
activeProgramRef
activeProgramRef
f_108924_
private final Map<String, IntSupplier>
g
samplerMap
field_1516
f_zqlkhgqu
samplerBinds
samplerBinds
f_108925_
private final List<String>
h
samplerNames
field_1503
f_pumcdvrl
samplerNames
samplerNames
f_108926_
private final List<Integer>
i
samplerLocations
field_1506
f_wrqzxxep
samplerShaderLocs
samplerShaderLocs
f_108927_
private final List<Uniform>
j
uniforms
field_1515
f_voudrups
uniformData
uniformData
f_108928_
private final List<Integer>
k
uniformLocations
field_1507
f_cgpycedf
uniformLocs
uniformLocs
f_108929_
private final Map<String, Uniform>
l
uniformMap
field_1510
f_mgjdmvme
uniformByName
uniformByName
f_108930_
private final int
m
programId
field_1521
f_tpnjhozt
programRef
programRef
f_108931_
private final String
n
name
field_1509
f_kzywythh
name
name
f_108932_
private boolean
o
dirty
field_1511
f_swkumzkg
uniformStateDirty
uniformStateDirty
f_108933_
private final BlendMode
p
blend
field_1517
f_fmqrxevq
blendState
blendState
f_108934_
private final List<Integer>
q
attributes
field_1518
f_gygnqyjo
attribLocs
attribLocs
f_108935_
private final List<String>
r
attributeNames
field_1504
f_ruobabsr
attribNames
attribNames
f_108936_
private final EffectProgram
s
vertexProgram
field_1508
f_ohlvobzr
vertexShader
vertexShader
f_108937_
private final EffectProgram
t
fragmentProgram
field_1519
f_cwwudihi
fragmentShader
fragmentShader
f_108938_

Constructor summary

ModifierConstructor
public (ResourceManager resource, String name)

Method summary

Modifier and TypeMethod
public static EffectProgram
a(aim arg0, eae$a arg1, String arg2)
getOrCreate(ResourceManager arg0, Program$Type arg1, String arg2)
method_16036(class_3300 arg0, class_281$class_282 arg1, String arg2)
m_epybpvwm(C_tmnrpasf arg0, C_bejltllu$C_geegkuxw arg1, String arg2)
loadEffect(ResourceManager resourceManager, Program$Type type, String name)
loadEffect(ResourceManager resourceManager, ShaderStage$Type type, String name)
m_172566_(C_77_ p_172567_, C_3170_ p_172568_, String p_172569_)
public static BlendMode
a(com.google.gson.JsonObject arg0)
parseBlendNode(com.google.gson.JsonObject arg0)
method_16035(com.google.gson.JsonObject arg0)
m_arjpfrhg(com.google.gson.JsonObject arg0)
deserializeBlendState(com.google.gson.JsonObject json)
deserializeBlendState(com.google.gson.JsonObject json)
m_108950_(com.google.gson.JsonObject p_108951_)
public void
close()
close()
close()
public void
f()
clear()
method_1273()
m_wgommnsb()
disable()
disable()
m_108965_()
public void
g()
apply()
method_1277()
m_tgptbvwc()
enable()
enable()
m_108966_()
public void
b()
markDirty()
method_1279()
m_lzgywito()
markUniformsDirty()
markUniformsDirty()
m_108957_()
public Uniform
a(String arg0)
getUniform(String arg0)
method_1271(String arg0)
m_sjnlaxaf(String arg0)
getUniformByName(String name)
getUniformByName(String name)
m_108952_(String arg0)
public AbstractUniform
b(String arg0)
safeGetUniform(String arg0)
method_1275(String arg0)
m_buebwsie(String arg0)
getUniformByNameOrDummy(String name)
getUniformByNameOrDummy(String name)
m_108960_(String arg0)
private void
i()
updateLocations()
method_1268()
m_quisgxyx()
finalizeUniformsAndSamplers()
finalizeUniformsAndSamplers()
m_108967_()
private void
a(com.google.gson.JsonElement arg0)
parseSamplerNode(com.google.gson.JsonElement arg0)
method_1276(com.google.gson.JsonElement arg0)
m_eupgpxny(com.google.gson.JsonElement arg0)
addSampler(com.google.gson.JsonElement json)
addSampler(com.google.gson.JsonElement json)
m_108948_(com.google.gson.JsonElement arg0)
public void
a(String arg0, IntSupplier arg1)
setSampler(String arg0, IntSupplier arg1)
method_1269(String arg0, IntSupplier arg1)
m_zfcwbwvg(String arg0, IntSupplier arg1)
bindSampler(String samplerName, IntSupplier arg1)
bindSampler(String samplerName, IntSupplier samplerId)
m_108954_(String p_108956_, IntSupplier arg1)
private void
b(com.google.gson.JsonElement arg0)
parseUniformNode(com.google.gson.JsonElement arg0)
method_1272(com.google.gson.JsonElement arg0)
m_swcpcesw(com.google.gson.JsonElement arg0)
addUniform(com.google.gson.JsonElement json)
addUniform(com.google.gson.JsonElement json)
m_108958_(com.google.gson.JsonElement arg0)
public Program
c()
getVertexProgram()
method_1274()
m_xoqgoxij()
getVertexShader()
getVertexShader()
m_108962_()
public Program
d()
getFragmentProgram()
method_1278()
m_qnzasjah()
getFragmentShader()
getFragmentShader()
m_108964_()
public void
e()
attachToProgram()
method_34418()
m_nfebcxtw()
attachReferencedShaders()
attachReferencedShaders()
m_142662_()
public String
h()
getName()
method_35763()
m_xxesimqn()
getName()
getName()
m_172571_()
public int
a()
getId()
method_1270()
m_byoiplce()
getProgramRef()
getId()
m_108943_()