com.mojang.blaze3d.shaders

public class Uniform

extends AbstractUniform implements AutoCloseable

fgj
com.mojang.blaze3d.shaders.Uniform
net.minecraft.class_284
net.minecraft.client.gl.GlUniform

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
l
LOGGER
field_1548
LOGGER
public static final int
a
UT_INT1
field_32038
field_32038
public static final int
b
UT_INT2
field_32039
field_32039
public static final int
c
UT_INT3
field_32040
field_32040
public static final int
d
UT_INT4
field_32041
field_32041
public static final int
e
UT_FLOAT1
field_32042
field_32042
public static final int
f
UT_FLOAT2
field_32043
field_32043
public static final int
g
UT_FLOAT3
field_32044
field_32044
public static final int
h
UT_FLOAT4
field_32045
field_32045
public static final int
i
UT_MAT2
field_32046
field_32046
public static final int
j
UT_MAT3
field_32047
field_32047
public static final int
k
UT_MAT4
field_32048
field_32048
private static final boolean
m
TRANSPOSE_MATRICIES
field_32049
field_32049
private int
n
location
field_1545
location
private final int
o
count
field_1544
count
private final int
p
type
field_1543
dataType
private final IntBuffer
q
intValues
field_1547
intData
private final FloatBuffer
r
floatValues
field_1549
floatData
private final String
s
name
field_1546
name

Constructor summary

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

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)
public static void
b(int arg0, int arg1)
uploadInteger(int arg0, int arg1)
method_22095(int arg0, int arg1)
uniform1(int location, int value)
public void
a(gme$b arg0)
setFromConfig(ShaderProgramConfig$Uniform arg0)
method_65015(class_10157$class_10159 arg0)
set(ShaderProgramDefinition$Uniform uniform)
public void
a(List<Float> arg0, int arg1)
setFromConfig(List<Float> arg0, int arg1)
method_65016(List<Float> arg0, int arg1)
set(List<Float> values, int count)
public void
close()
close()
private void
h()
markDirty()
method_1302()
markStateDirty()
public static int
a(String arg0)
getTypeFromString(String arg0)
method_1299(String arg0)
getTypeIndex(String typeName)
public void
b(int arg0)
setLocation(int arg0)
method_1297(int arg0)
setLocation(int location)
public String
a()
getName()
method_1298()
getName()
public final void
a(float arg0)
set(float arg0)
method_1251(float arg0)
set(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)
public final void
a(int arg0, float arg1)
set(int arg0, float arg1)
method_35659(int arg0, float arg1)
set(int index, float value)
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)
public final void
a(org.joml.Vector3f arg0)
set(org.joml.Vector3f arg0)
method_34413(org.joml.Vector3f arg0)
set(org.joml.Vector3f 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)
setAndFlip(float arg0, float arg1, float arg2, float arg3)
public final void
a(org.joml.Vector4f arg0)
set(org.joml.Vector4f arg0)
method_35652(org.joml.Vector4f arg0)
set(org.joml.Vector4f 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)
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)
public final void
a(int arg0)
set(int arg0)
method_35649(int arg0)
set(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)
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)
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)
public final void
a(float[] arg0)
set(float[] arg0)
method_1253(float[] arg0)
set(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)
set(float arg0, float arg1, float arg2, 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)
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)
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)
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)
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)
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)
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)
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)
public final void
a(org.joml.Matrix4f arg0)
set(org.joml.Matrix4f arg0)
method_1250(org.joml.Matrix4f arg0)
set(org.joml.Matrix4f arg0)
public final void
a(org.joml.Matrix3f arg0)
set(org.joml.Matrix3f arg0)
method_39978(org.joml.Matrix3f arg0)
set(org.joml.Matrix3f arg0)
public void
b()
upload()
method_1300()
upload()
private void
i()
uploadAsInteger()
method_1303()
uploadInts()
private void
j()
uploadAsFloat()
method_1301()
uploadFloats()
private void
k()
uploadAsMatrix()
method_1296()
uploadMatrix()
public int
c()
getLocation()
method_35660()
getLocation()
public int
d()
getCount()
method_35661()
getCount()
public int
e()
getType()
method_35662()
getDataType()
public IntBuffer
f()
getIntBuffer()
method_35663()
getIntData()
public FloatBuffer
g()
getFloatBuffer()
method_35664()
getFloatData()