com.mojang.blaze3d.shaders

public class Uniform

extends AbstractUniform implements AutoCloseable

dhf
com.mojang.blaze3d.shaders.Uniform
net.minecraft.class_284
net.minecraft.client.gl.GlUniform
net.minecraft.client.shader.ShaderUniform

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_1548
LOGGER
field_148104_a
private int
b
location
field_1545
loc
field_148102_b
private final int
c
count
field_1544
count
field_148103_c
private final int
d
type
field_1543
dataType
field_148100_d
private final IntBuffer
e
intValues
field_1547
intData
field_148101_e
private final FloatBuffer
f
floatValues
field_1549
floatData
field_148098_f
private final String
g
name
field_1546
name
field_148099_g
private boolean
h
dirty
field_1542
stateDirty
field_148105_h
private final Effect
i
parent
field_1541
program
field_148106_i

Constructor summary

ModifierConstructor
public (String name, int dataType, int count, Effect 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 arg0, CharSequence arg1)
func_227806_a_(int arg0, CharSequence arg1)
public static void
a(int arg0, int arg1)
uploadInteger(int arg0, int arg1)
method_22095(int arg0, int arg1)
uniform1(int arg0, int arg1)
func_227805_a_(int arg0, int arg1)
public static int
b(int arg0, CharSequence arg1)
glGetAttribLocation(int arg0, CharSequence arg1)
method_22097(int arg0, CharSequence arg1)
getAttribLocation(int arg0, CharSequence arg1)
func_227807_b_(int arg0, CharSequence arg1)
public void
close()
close()
close()
close()
close()
private void
c()
markDirty()
method_1302()
markStateDirty()
func_148096_h()
public static int
a(String arg0)
getTypeFromString(String arg0)
method_1299(String arg0)
getTypeIndex(String typeName)
func_148085_a(String arg0)
public void
a(int arg0)
setLocation(int arg0)
method_1297(int arg0)
setLoc(int arg0)
func_148084_b(int arg0)
public String
a()
getName()
method_1298()
getName()
func_148086_a()
public void
a(float arg0)
set(float arg0)
method_1251(float arg0)
set(float arg0)
func_148090_a(float arg0)
public void
a(float arg0, float arg1)
set(float arg0, float arg1)
method_1255(float arg0, float arg1)
set(float arg0, float arg1)
func_148087_a(float arg0, float arg1)
public 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)
func_148095_a(float arg0, float arg1, float arg2)
public 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)
func_148081_a(float arg0, float arg1, float arg2, float arg3)
public 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)
func_148092_b(float arg0, float arg1, float arg2, float arg3)
public 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)
set(int arg0, int arg1, int arg2, int arg3)
func_148083_a(int arg0, int arg1, int arg2, int arg3)
public void
a(float[] arg0)
set(float[] arg0)
method_1253(float[] arg0)
set(float[] arg0)
func_148097_a(float[] arg0)
public void
a(b arg0)
set(Matrix4f arg0)
method_1250(class_1159 arg0)
set(Matrix4f arg0)
func_195652_a(Matrix4f arg0)
public void
b()
upload()
method_1300()
upload()
func_148093_b()
private void
d()
uploadAsInteger()
method_1303()
uploadInts()
func_148091_i()
private void
e()
uploadAsFloat()
method_1301()
uploadFloats()
func_148089_j()
private void
f()
uploadAsMatrix()
method_1296()
uploadMatrix()
func_148082_k()