com.mojang.blaze3d.shaders

public class Uniform

extends AbstractUniform implements AutoCloseable

dqd
com.mojang.blaze3d.shaders.Uniform
net.minecraft.class_284
net.minecraft.client.gl.GlUniform
net.minecraft.src.C_3172_

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
l
LOGGER
field_1548
LOGGER
f_85584_
public static final int
a
UT_INT1
field_32038
field_32038
f_166625_
public static final int
b
UT_INT2
field_32039
field_32039
f_166626_
public static final int
c
UT_INT3
field_32040
field_32040
f_166627_
public static final int
d
UT_INT4
field_32041
field_32041
f_166628_
public static final int
e
UT_FLOAT1
field_32042
field_32042
f_166629_
public static final int
f
UT_FLOAT2
field_32043
field_32043
f_166630_
public static final int
g
UT_FLOAT3
field_32044
field_32044
f_166631_
public static final int
h
UT_FLOAT4
field_32045
field_32045
f_166632_
public static final int
i
UT_MAT2
field_32046
field_32046
f_166633_
public static final int
j
UT_MAT3
field_32047
field_32047
f_166634_
public static final int
k
UT_MAT4
field_32048
field_32048
f_166635_
private static final boolean
m
TRANSPOSE_MATRICIES
field_32049
field_32049
f_166636_
private int
n
location
field_1545
location
f_85585_
private final int
o
count
field_1544
count
f_85586_
private final int
p
type
field_1543
dataType
f_85587_
private final IntBuffer
q
intValues
field_1547
intData
f_85588_
private final FloatBuffer
r
floatValues
field_1549
floatData
f_85589_
private final String
s
name
field_1546
name
f_85590_
private boolean
t
dirty
field_1542
stateDirty
f_85591_
private final Shader
u
parent
field_1541
program
f_85592_

Constructor summary

ModifierConstructor
public (String name, int dataType, int count, Shader program)

Method summary

Modifier and TypeMethod
public static int
a(int arg0, CharSequence arg1)
glGetUniformLocation(int arg0, CharSequence arg1)
method_22096(int arg0, CharSequence arg1)
getUniformLocation(int program, CharSequence name)
m_85624_(int p_85625_, CharSequence p_85626_)
public static void
b(int arg0, int arg1)
uploadInteger(int arg0, int arg1)
method_22095(int arg0, int arg1)
uniform1(int location, int value)
m_85616_(int p_85617_, int p_85618_)
public static int
b(int arg0, CharSequence arg1)
glGetAttribLocation(int arg0, CharSequence arg1)
method_22097(int arg0, CharSequence arg1)
getAttribLocation(int program, CharSequence name)
m_85639_(int p_85640_, CharSequence p_85641_)
public static void
a(int arg0, int arg1, CharSequence arg2)
glBindAttribLocation(int arg0, int arg1, CharSequence arg2)
method_34419(int arg0, int arg1, CharSequence arg2)
bindAttribLocation(int program, int index, CharSequence name)
m_166710_(int p_166711_, int p_166712_, CharSequence p_166713_)
public void
close()
close()
close()
private void
h()
markDirty()
method_1302()
markStateDirty()
m_85642_()
public static int
a(String arg0)
getTypeFromString(String arg0)
method_1299(String arg0)
getTypeIndex(String typeName)
m_85629_(String p_85630_)
public void
b(int arg0)
setLocation(int arg0)
method_1297(int arg0)
setLoc(int loc)
m_85614_(int arg0)
public String
a()
getName()
method_1298()
getName()
m_85599_()
public final void
a(float arg0)
set(float arg0)
method_1251(float arg0)
set(float arg0)
m_5985_(float arg0)
public final void
a(float arg0, float arg1)
set(float arg0, float arg1)
method_1255(float arg0, float arg1)
set(float arg0, float arg1)
m_7971_(float p_85604_, float arg1)
public final void
a(int arg0, float arg1)
set(int arg0, float arg1)
method_35659(int arg0, float arg1)
set(int index, float value)
m_166700_(int p_166702_, float arg1)
public final void
a(float arg0, float arg1, float arg2)
set(float arg0, float arg1, float arg2)
method_1249(float arg0, float arg1, float arg2)
set(float arg0, float arg1, float arg2)
m_5889_(float p_85607_, float p_85608_, float arg2)
public final void
a(k arg0)
set(Vector3f arg0)
method_34413(class_1160 arg0)
set(Vec3f arg0)
m_142276_(C_4684_ arg0)
public final void
a(float arg0, float arg1, float arg2, float arg3)
set(float arg0, float arg1, float arg2, float arg3)
method_1254(float arg0, float arg1, float arg2, float arg3)
set(float arg0, float arg1, float arg2, float arg3)
m_5805_(float p_85611_, float p_85612_, float p_85613_, float arg3)
public final void
a(l arg0)
set(Vector4f arg0)
method_35652(class_1162 arg0)
set(Vector4f arg0)
m_142558_(C_4749_ arg0)
public final void
b(float arg0, float arg1, float arg2, float arg3)
setSafe(float arg0, float arg1, float arg2, float arg3)
method_1252(float arg0, float arg1, float arg2, float arg3)
setForDataType(float arg0, float arg1, float arg2, float arg3)
m_5808_(float p_85636_, float p_85637_, float p_85638_, float arg3)
public final void
a(int arg0, int arg1, int arg2, int arg3)
setSafe(int arg0, int arg1, int arg2, int arg3)
method_1248(int arg0, int arg1, int arg2, int arg3)
setForDataType(int arg0, int arg1, int arg2, int arg3)
m_7401_(int p_85621_, int p_85622_, int p_85623_, int arg3)
public final void
a(int arg0)
set(int arg0)
method_35649(int arg0)
set(int arg0)
m_142617_(int arg0)
public final void
a(int arg0, int arg1)
set(int arg0, int arg1)
method_35650(int arg0, int arg1)
set(int arg0, int arg1)
m_142326_(int p_166705_, int arg1)
public final void
a(int arg0, int arg1, int arg2)
set(int arg0, int arg1, int arg2)
method_35651(int arg0, int arg1, int arg2)
set(int arg0, int arg1, int arg2)
m_142693_(int p_166708_, int p_166709_, int arg2)
public final void
b(int arg0, int arg1, int arg2, int arg3)
set(int arg0, int arg1, int arg2, int arg3)
method_35656(int arg0, int arg1, int arg2, int arg3)
set(int arg0, int arg1, int arg2, int arg3)
m_142492_(int p_166749_, int p_166750_, int p_166751_, int arg3)
public final void
a(float[] arg0)
set(float[] arg0)
method_1253(float[] arg0)
set(float[] arg0)
m_5941_(float[] arg0)
public final void
c(float arg0, float arg1, float arg2, float arg3)
setMat2x2(float arg0, float arg1, float arg2, float arg3)
method_35657(float arg0, float arg1, float arg2, float arg3)
method_35657(float arg0, float arg1, float arg2, float arg3)
m_142588_(float p_166755_, float p_166756_, float p_166757_, float arg3)
public final void
a(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5)
setMat2x3(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5)
method_35644(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5)
set(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5)
m_141964_(float p_166644_, float p_166645_, float p_166646_, float p_166647_, float p_166648_, float arg5)
public final void
a(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7)
setMat2x4(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7)
method_35645(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7)
set(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7)
m_142005_(float p_166651_, float p_166652_, float p_166653_, float p_166654_, float p_166655_, float p_166656_, float p_166657_, float arg7)
public final void
b(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5)
setMat3x2(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5)
method_35653(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5)
method_35653(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5)
m_141963_(float p_166720_, float p_166721_, float p_166722_, float p_166723_, float p_166724_, float arg5)
public final void
a(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8)
setMat3x3(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8)
method_35646(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8)
set(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8)
m_142217_(float p_166660_, float p_166661_, float p_166662_, float p_166663_, float p_166664_, float p_166665_, float p_166666_, float p_166667_, float arg8)
public final void
a(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, float arg9, float arg10, float arg11)
setMat3x4(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, float arg9, float arg10, float arg11)
method_35647(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, float arg9, float arg10, float arg11)
set(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, float arg9, float arg10, float arg11)
m_142604_(float p_166670_, float p_166671_, float p_166672_, float p_166673_, float p_166674_, float p_166675_, float p_166676_, float p_166677_, float p_166678_, float p_166679_, float p_166680_, float arg11)
public final void
b(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7)
setMat4x2(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7)
method_35654(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7)
method_35654(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7)
m_142004_(float p_166727_, float p_166728_, float p_166729_, float p_166730_, float p_166731_, float p_166732_, float p_166733_, float arg7)
public final void
b(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, float arg9, float arg10, float arg11)
setMat4x3(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, float arg9, float arg10, float arg11)
method_35655(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, float arg9, float arg10, float arg11)
method_35655(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, float arg9, float arg10, float arg11)
m_142605_(float p_166736_, float p_166737_, float p_166738_, float p_166739_, float p_166740_, float p_166741_, float p_166742_, float p_166743_, float p_166744_, float p_166745_, float p_166746_, float arg11)
public final void
a(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, float arg9, float arg10, float arg11, float arg12, float arg13, float arg14, float arg15)
setMat4x4(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, float arg9, float arg10, float arg11, float arg12, float arg13, float arg14, float arg15)
method_35648(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, float arg9, float arg10, float arg11, float arg12, float arg13, float arg14, float arg15)
set(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8, float arg9, float arg10, float arg11, float arg12, float arg13, float arg14, float arg15)
m_141978_(float p_166683_, float p_166684_, float p_166685_, float p_166686_, float p_166687_, float p_166688_, float p_166689_, float p_166690_, float p_166691_, float p_166692_, float p_166693_, float p_166694_, float p_166695_, float p_166696_, float p_166697_, float arg15)
public final void
a(d arg0)
set(Matrix4f arg0)
method_1250(class_1159 arg0)
set(Matrix4f arg0)
m_5679_(C_802_ arg0)
public void
b()
upload()
method_1300()
upload()
m_85633_()
private void
i()
uploadAsInteger()
method_1303()
uploadInts()
m_85644_()
private void
j()
uploadAsFloat()
method_1301()
uploadFloats()
m_85645_()
private void
k()
uploadAsMatrix()
method_1296()
uploadMatrix()
m_85646_()
public int
c()
getLocation()
method_35660()
getLocation()
m_166752_()
public int
d()
getCount()
method_35661()
getCount()
m_166758_()
public int
e()
getType()
method_35662()
getDataType()
m_166759_()
public IntBuffer
f()
getIntBuffer()
method_35663()
getIntData()
m_166760_()
public FloatBuffer
g()
getFloatBuffer()
method_35664()
getFloatData()
m_166761_()