net.minecraft.client.renderer

public class CompiledShaderProgram

implements AutoCloseable

gku
net.minecraft.client.renderer.CompiledShaderProgram
net.minecraft.class_5944
net.minecraft.unmapped.C_kfcjpoxm
net.minecraft.client.gl.ShaderProgram
net.minecraft.unmapped.C_kfcjpoxm
net.minecraft.src.C_346061_

Field summary

Modifier and TypeField
private static final AbstractUniform
p
DUMMY_UNIFORM
field_29484
f_ixltwwbo
DEFAULT_UNIFORM
f_346380_
private static final int
q
NO_SAMPLER_TEXTURE
field_53837
f_iokkhdfd
field_53837
f_346504_
private final List<ShaderProgramConfig$Sampler>
r
samplers
field_53838
f_rmmlkxwz
samplers
f_348232_
private final it.unimi.dsi.fastutil.objects.Object2IntMap<String>
s
samplerTextures
field_53839
f_vhlzxcce
samplerTextures
f_349008_
private final it.unimi.dsi.fastutil.ints.IntList
t
samplerLocations
field_53840
f_mteaergk
samplerLocations
f_347350_
private final List<Uniform>
u
uniforms
field_29490
f_qxkbvuok
uniforms
f_348563_
private final Map<String, Uniform>
v
uniformsByName
field_53841
f_zeulibos
uniformsByName
f_348181_
private final Map<String, ShaderProgramConfig$Uniform>
w
uniformConfigs
field_54926
f_pjwaznwm
uniformDefinitionsByName
f_347448_
private final int
x
programId
field_29493
f_yrpugyhe
glRef
f_347133_
public Uniform
a
MODEL_VIEW_MATRIX
field_29470
f_cobcvddl
modelViewMat
f_348386_
public Uniform
b
PROJECTION_MATRIX
field_29471
f_urdffrvz
projectionMat
f_348403_
public Uniform
c
TEXTURE_MATRIX
field_29472
f_bwzlrqye
textureMat
f_346617_
public Uniform
d
SCREEN_SIZE
field_29473
f_enqiumlj
screenSize
f_347328_
public Uniform
e
COLOR_MODULATOR
field_29474
f_krisgyus
colorModulator
f_346723_
public Uniform
f
LIGHT0_DIRECTION
field_29475
f_czrxxkla
light0Direction
f_349054_
public Uniform
g
LIGHT1_DIRECTION
field_29476
f_kwpeccuy
light1Direction
f_348207_
public Uniform
h
GLINT_ALPHA
field_42231
f_zpwkhjzv
glintAlpha
f_346803_
public Uniform
i
FOG_START
field_29477
f_sopscwcc
fogStart
f_346839_
public Uniform
j
FOG_END
field_29478
f_saplhoor
fogEnd
f_347147_
public Uniform
k
FOG_COLOR
field_29479
f_oaqsyfex
fogColor
f_347414_
public Uniform
l
FOG_SHAPE
field_36373
f_vxjmencr
fogShape
f_347372_
public Uniform
m
LINE_WIDTH
field_29480
f_ylaybyrm
lineWidth
f_349236_
public Uniform
n
GAME_TIME
field_29481
f_fhlqwwpb
gameTime
f_348368_
public Uniform
o
MODEL_OFFSET
field_53139
f_xmgodzzl
modelOffset
f_348172_

Constructor summary

ModifierConstructor
private (int glRef)

Method summary

Modifier and TypeMethod
public static CompiledShaderProgram
a(fgh arg0, fgh arg1, fgx arg2)
link(CompiledShader arg0, CompiledShader arg1, VertexFormat arg2)
method_62896(class_10141 arg0, class_10141 arg1, class_293 arg2)
m_vlbskhhm(C_ycbckgjc arg0, C_ycbckgjc arg1, C_rnldvdpe arg2)
create(CompiledShader vertexShader, CompiledShader fragmentShader, VertexFormat format)
m_352557_(C_346129_ p_365694_, C_346129_ p_364868_, C_3188_ p_368531_)
public void
a(List<gme$b> arg0, List<gme$a> arg1)
setupUniforms(List<ShaderProgramConfig$Uniform> arg0, List<ShaderProgramConfig$Sampler> arg1)
method_62900(List<class_10157$class_10159> arg0, List<class_10157$class_10158> arg1)
m_fncocsrv(List<C_gcohsdze$C_yjkgvmtv> arg0, List<C_gcohsdze$C_scrazicd> arg1)
set(List<ShaderProgramDefinition$Uniform> uniforms, List<ShaderProgramDefinition$Sampler> samplers)
m_357241_(List<C_346021_$C_346057_> p_363420_, List<C_346021_$C_346092_> arg1)
public void
close()
close()
close()
public void
a()
clear()
method_34585()
m_ikivptnx()
unbind()
m_354878_()
public void
b()
apply()
method_34586()
m_mtzjyyax()
bind()
m_352535_()
public Uniform
a(String arg0)
getUniform(String arg0)
method_34582(String arg0)
m_krkymkxd(String arg0)
getUniform(String name)
m_352721_(String arg0)
public ShaderProgramConfig$Uniform
b(String arg0)
getUniformConfig(String arg0)
method_65028(String arg0)
m_larrrtuw(String arg0)
getUniformDefinition(String name)
m_353794_(String arg0)
public AbstractUniform
c(String arg0)
safeGetUniform(String arg0)
method_35785(String arg0)
m_vlwtsksf(String arg0)
getUniformOrDefault(String name)
m_356179_(String arg0)
public void
a(String arg0, int arg1)
bindSampler(String arg0, int arg1)
method_62899(String arg0, int arg1)
m_drqrlose(String arg0, int arg1)
addSamplerTexture(String name, int texture)
m_356826_(String p_368552_, int arg1)
private Uniform
a(gme$b arg0)
parseUniformNode(ShaderProgramConfig$Uniform arg0)
method_62898(class_10157$class_10159 arg0)
m_uxqwtlgc(C_gcohsdze$C_yjkgvmtv arg0)
createGlUniform(ShaderProgramDefinition$Uniform uniform)
m_357276_(C_346021_$C_346057_ arg0)
public void
a(fgx$c arg0, org.joml.Matrix4f arg1, org.joml.Matrix4f arg2, ffv arg3)
setDefaultUniforms(VertexFormat$Mode arg0, org.joml.Matrix4f arg1, org.joml.Matrix4f arg2, Window arg3)
method_60897(class_293$class_5596 arg0, org.joml.Matrix4f arg1, org.joml.Matrix4f arg2, class_1041 arg3)
m_orahuvwx(C_rnldvdpe$C_ptsbsfse arg0, org.joml.Matrix4f arg1, org.joml.Matrix4f arg2, C_snosbckc arg3)
initializeUniforms(VertexFormat$DrawMode drawMode, org.joml.Matrix4f viewMatrix, org.joml.Matrix4f projectionMatrix, Window window)
m_353747_(C_3188_$C_141549_ p_363712_, org.joml.Matrix4f p_367865_, org.joml.Matrix4f p_366180_, C_3161_ arg3)
public void
a(fgj arg0)
registerUniform(Uniform arg0)
method_62897(class_284 arg0)
m_jzrggsps(C_guotmxqh arg0)
addUniform(GlUniform uniform)
m_354295_(C_3172_ arg0)
public int
c()
getProgramId()
method_1270()
m_eawcftxm()
getGlRef()
m_353215_()