Package net.minecraft.client.gl
Class GlUniform
java.lang.Object
net.minecraft.client.gl.Uniform
net.minecraft.client.gl.GlUniform
- All Implemented Interfaces:
AutoCloseable
Represents a uniform variable.
- See Also:
- Mappings:
Namespace Name intermediary net/minecraft/class_284official ehsnamed net/minecraft/client/gl/GlUniform
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intprivate static final booleanprivate final FloatBufferprivate final IntBufferprivate intprivate static final Loggerprivate final Stringprivate final ShaderProgramSetupViewprivate boolean -
Constructor Summary
ConstructorsConstructorDescriptionGlUniform(String name, int dataType, int count, ShaderProgramSetupView program) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbindAttribLocation(int program, int index, CharSequence name) voidclose()static intgetAttribLocation(int program, CharSequence name) intgetCount()intintgetName()static intgetTypeIndex(String typeName) static intgetUniformLocation(int program, CharSequence name) private voidfinal voidmethod_35653(float value1, float value2, float value3, float value4, float value5, float value6) final voidmethod_35654(float value1, float value2, float value3, float value4, float value5, float value6, float value7, float value8) final voidmethod_35655(float value1, float value2, float value3, float value4, float value5, float value6, float value7, float value8, float value9, float value10, float value11, float value12) final voidset(float value1) final voidset(float[] values) final voidset(float value1, float value2) final voidset(float value1, float value2, float value3) final voidset(float value1, float value2, float value3, float value4) final voidset(float value1, float value2, float value3, float value4, float value5, float value6) final voidset(float value1, float value2, float value3, float value4, float value5, float value6, float value7, float value8) final voidset(float value1, float value2, float value3, float value4, float value5, float value6, float value7, float value8, float value9) final voidset(float value1, float value2, float value3, float value4, float value5, float value6, float value7, float value8, float value9, float value10, float value11, float value12) final voidset(float value1, float value2, float value3, float value4, float value5, float value6, float value7, float value8, float value9, float value10, float value11, float value12, float value13, float value14, float value15, float value16) final voidset(int value) final voidset(int index, float value) final voidset(int value1, int value2) final voidset(int value1, int value2, int value3) final voidset(int value1, int value2, int value3, int value4) final voidfinal voidfinal voidfinal voidfinal voidsetAndFlip(float value1, float value2, float value3, float value4) final voidsetForDataType(float value1, float value2, float value3, float value4) final voidsetForDataType(int value1, int value2, int value3, int value4) voidsetLocation(int location) static voiduniform1(int location, int value) voidupload()private voidprivate voidprivate void
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector intermediary field_1548Lnet/minecraft/class_284;field_1548:Lorg/slf4j/Logger;official lLehs;l:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/client/gl/GlUniform;LOGGER:Lorg/slf4j/Logger;
-
field_32038
public static final int field_32038- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32038Lnet/minecraft/class_284;field_32038:Iofficial aLehs;a:Inamed field_32038Lnet/minecraft/client/gl/GlUniform;field_32038:I
-
field_32039
public static final int field_32039- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32039Lnet/minecraft/class_284;field_32039:Iofficial bLehs;b:Inamed field_32039Lnet/minecraft/client/gl/GlUniform;field_32039:I
-
field_32040
public static final int field_32040- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32040Lnet/minecraft/class_284;field_32040:Iofficial cLehs;c:Inamed field_32040Lnet/minecraft/client/gl/GlUniform;field_32040:I
-
field_32041
public static final int field_32041- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32041Lnet/minecraft/class_284;field_32041:Iofficial dLehs;d:Inamed field_32041Lnet/minecraft/client/gl/GlUniform;field_32041:I
-
field_32042
public static final int field_32042- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32042Lnet/minecraft/class_284;field_32042:Iofficial eLehs;e:Inamed field_32042Lnet/minecraft/client/gl/GlUniform;field_32042:I
-
field_32043
public static final int field_32043- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32043Lnet/minecraft/class_284;field_32043:Iofficial fLehs;f:Inamed field_32043Lnet/minecraft/client/gl/GlUniform;field_32043:I
-
field_32044
public static final int field_32044- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32044Lnet/minecraft/class_284;field_32044:Iofficial gLehs;g:Inamed field_32044Lnet/minecraft/client/gl/GlUniform;field_32044:I
-
field_32045
public static final int field_32045- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32045Lnet/minecraft/class_284;field_32045:Iofficial hLehs;h:Inamed field_32045Lnet/minecraft/client/gl/GlUniform;field_32045:I
-
field_32046
public static final int field_32046- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32046Lnet/minecraft/class_284;field_32046:Iofficial iLehs;i:Inamed field_32046Lnet/minecraft/client/gl/GlUniform;field_32046:I
-
field_32047
public static final int field_32047- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32047Lnet/minecraft/class_284;field_32047:Iofficial jLehs;j:Inamed field_32047Lnet/minecraft/client/gl/GlUniform;field_32047:I
-
field_32048
public static final int field_32048- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32048Lnet/minecraft/class_284;field_32048:Iofficial kLehs;k:Inamed field_32048Lnet/minecraft/client/gl/GlUniform;field_32048:I
-
field_32049
private static final boolean field_32049- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32049Lnet/minecraft/class_284;field_32049:Zofficial mLehs;m:Znamed field_32049Lnet/minecraft/client/gl/GlUniform;field_32049:Z
-
location
private int location- Mappings:
Namespace Name Mixin selector intermediary field_1545Lnet/minecraft/class_284;field_1545:Iofficial nLehs;n:Inamed locationLnet/minecraft/client/gl/GlUniform;location:I
-
count
private final int count- Mappings:
Namespace Name Mixin selector intermediary field_1544Lnet/minecraft/class_284;field_1544:Iofficial oLehs;o:Inamed countLnet/minecraft/client/gl/GlUniform;count:I
-
dataType
private final int dataType- Mappings:
Namespace Name Mixin selector intermediary field_1543Lnet/minecraft/class_284;field_1543:Iofficial pLehs;p:Inamed dataTypeLnet/minecraft/client/gl/GlUniform;dataType:I
-
intData
- Mappings:
Namespace Name Mixin selector intermediary field_1547Lnet/minecraft/class_284;field_1547:Ljava/nio/IntBuffer;official qLehs;q:Ljava/nio/IntBuffer;named intDataLnet/minecraft/client/gl/GlUniform;intData:Ljava/nio/IntBuffer;
-
floatData
- Mappings:
Namespace Name Mixin selector intermediary field_1549Lnet/minecraft/class_284;field_1549:Ljava/nio/FloatBuffer;official rLehs;r:Ljava/nio/FloatBuffer;named floatDataLnet/minecraft/client/gl/GlUniform;floatData:Ljava/nio/FloatBuffer;
-
name
- Mappings:
Namespace Name Mixin selector intermediary field_1546Lnet/minecraft/class_284;field_1546:Ljava/lang/String;official sLehs;s:Ljava/lang/String;named nameLnet/minecraft/client/gl/GlUniform;name:Ljava/lang/String;
-
stateDirty
private boolean stateDirty- Mappings:
Namespace Name Mixin selector intermediary field_1542Lnet/minecraft/class_284;field_1542:Zofficial tLehs;t:Znamed stateDirtyLnet/minecraft/client/gl/GlUniform;stateDirty:Z
-
program
- Mappings:
Namespace Name Mixin selector intermediary field_1541Lnet/minecraft/class_284;field_1541:Lnet/minecraft/class_3679;official uLehs;u:Lehr;named programLnet/minecraft/client/gl/GlUniform;program:Lnet/minecraft/client/gl/ShaderProgramSetupView;
-
-
Constructor Details
-
GlUniform
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_284;<init>(Ljava/lang/String;IILnet/minecraft/class_3679;)Vofficial <init>Lehs;<init>(Ljava/lang/String;IILehr;)Vnamed <init>Lnet/minecraft/client/gl/GlUniform;<init>(Ljava/lang/String;IILnet/minecraft/client/gl/ShaderProgramSetupView;)V
-
-
Method Details
-
getUniformLocation
- Mappings:
Namespace Name Mixin selector intermediary method_22096Lnet/minecraft/class_284;method_22096(ILjava/lang/CharSequence;)Iofficial aLehs;a(ILjava/lang/CharSequence;)Inamed getUniformLocationLnet/minecraft/client/gl/GlUniform;getUniformLocation(ILjava/lang/CharSequence;)I
-
uniform1
public static void uniform1(int location, int value) - Mappings:
Namespace Name Mixin selector intermediary method_22095Lnet/minecraft/class_284;method_22095(II)Vofficial bLehs;b(II)Vnamed uniform1Lnet/minecraft/client/gl/GlUniform;uniform1(II)V
-
getAttribLocation
- Mappings:
Namespace Name Mixin selector intermediary method_22097Lnet/minecraft/class_284;method_22097(ILjava/lang/CharSequence;)Iofficial bLehs;b(ILjava/lang/CharSequence;)Inamed getAttribLocationLnet/minecraft/client/gl/GlUniform;getAttribLocation(ILjava/lang/CharSequence;)I
-
bindAttribLocation
- Mappings:
Namespace Name Mixin selector intermediary method_34419Lnet/minecraft/class_284;method_34419(IILjava/lang/CharSequence;)Vofficial aLehs;a(IILjava/lang/CharSequence;)Vnamed bindAttribLocationLnet/minecraft/client/gl/GlUniform;bindAttribLocation(IILjava/lang/CharSequence;)V
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
markStateDirty
private void markStateDirty()- Mappings:
Namespace Name Mixin selector intermediary method_1302Lnet/minecraft/class_284;method_1302()Vofficial hLehs;h()Vnamed markStateDirtyLnet/minecraft/client/gl/GlUniform;markStateDirty()V
-
getTypeIndex
- Mappings:
Namespace Name Mixin selector intermediary method_1299Lnet/minecraft/class_284;method_1299(Ljava/lang/String;)Iofficial aLehs;a(Ljava/lang/String;)Inamed getTypeIndexLnet/minecraft/client/gl/GlUniform;getTypeIndex(Ljava/lang/String;)I
-
setLocation
public void setLocation(int location) - Mappings:
Namespace Name Mixin selector intermediary method_1297Lnet/minecraft/class_284;method_1297(I)Vofficial bLehs;b(I)Vnamed setLocationLnet/minecraft/client/gl/GlUniform;setLocation(I)V
-
getName
- Mappings:
Namespace Name Mixin selector intermediary method_1298Lnet/minecraft/class_284;method_1298()Ljava/lang/String;official aLehs;a()Ljava/lang/String;named getNameLnet/minecraft/client/gl/GlUniform;getName()Ljava/lang/String;
-
set
public final void set(float value1) -
set
public final void set(float value1, float value2) -
set
public final void set(int index, float value) - Mappings:
Namespace Name Mixin selector intermediary method_35659Lnet/minecraft/class_284;method_35659(IF)Vofficial aLehs;a(IF)Vnamed setLnet/minecraft/client/gl/GlUniform;set(IF)V
-
set
public final void set(float value1, float value2, float value3) -
set
-
setAndFlip
public final void setAndFlip(float value1, float value2, float value3, float value4) - Overrides:
setAndFlipin classUniform- Mappings:
Namespace Name Mixin selector intermediary method_1254Lnet/minecraft/class_278;method_1254(FFFF)Vofficial aLehk;a(FFFF)Vnamed setAndFlipLnet/minecraft/client/gl/Uniform;setAndFlip(FFFF)V
-
set
-
setForDataType
public final void setForDataType(float value1, float value2, float value3, float value4) - Overrides:
setForDataTypein classUniform- Mappings:
Namespace Name Mixin selector intermediary method_1252Lnet/minecraft/class_278;method_1252(FFFF)Vofficial bLehk;b(FFFF)Vnamed setForDataTypeLnet/minecraft/client/gl/Uniform;setForDataType(FFFF)V
-
setForDataType
public final void setForDataType(int value1, int value2, int value3, int value4) - Overrides:
setForDataTypein classUniform- Mappings:
Namespace Name Mixin selector intermediary method_1248Lnet/minecraft/class_278;method_1248(IIII)Vofficial aLehk;a(IIII)Vnamed setForDataTypeLnet/minecraft/client/gl/Uniform;setForDataType(IIII)V
-
set
public final void set(int value) -
set
public final void set(int value1, int value2) -
set
public final void set(int value1, int value2, int value3) -
set
public final void set(int value1, int value2, int value3, int value4) -
set
public final void set(float[] values) -
set
public final void set(float value1, float value2, float value3, float value4) -
set
public final void set(float value1, float value2, float value3, float value4, float value5, float value6) -
set
public final void set(float value1, float value2, float value3, float value4, float value5, float value6, float value7, float value8) -
method_35653
public final void method_35653(float value1, float value2, float value3, float value4, float value5, float value6) - Overrides:
method_35653in classUniform- Mappings:
Namespace Name Mixin selector intermediary method_35653Lnet/minecraft/class_278;method_35653(FFFFFF)Vofficial bLehk;b(FFFFFF)Vnamed method_35653Lnet/minecraft/client/gl/Uniform;method_35653(FFFFFF)V
-
set
public final void set(float value1, float value2, float value3, float value4, float value5, float value6, float value7, float value8, float value9) -
set
public final void set(float value1, float value2, float value3, float value4, float value5, float value6, float value7, float value8, float value9, float value10, float value11, float value12) -
method_35654
public final void method_35654(float value1, float value2, float value3, float value4, float value5, float value6, float value7, float value8) - Overrides:
method_35654in classUniform- Mappings:
Namespace Name Mixin selector intermediary method_35654Lnet/minecraft/class_278;method_35654(FFFFFFFF)Vofficial bLehk;b(FFFFFFFF)Vnamed method_35654Lnet/minecraft/client/gl/Uniform;method_35654(FFFFFFFF)V
-
method_35655
public final void method_35655(float value1, float value2, float value3, float value4, float value5, float value6, float value7, float value8, float value9, float value10, float value11, float value12) - Overrides:
method_35655in classUniform- Mappings:
Namespace Name Mixin selector intermediary method_35655Lnet/minecraft/class_278;method_35655(FFFFFFFFFFFF)Vofficial bLehk;b(FFFFFFFFFFFF)Vnamed method_35655Lnet/minecraft/client/gl/Uniform;method_35655(FFFFFFFFFFFF)V
-
set
public final void set(float value1, float value2, float value3, float value4, float value5, float value6, float value7, float value8, float value9, float value10, float value11, float value12, float value13, float value14, float value15, float value16) -
set
-
set
-
upload
public void upload()- Mappings:
Namespace Name Mixin selector intermediary method_1300Lnet/minecraft/class_284;method_1300()Vofficial bLehs;b()Vnamed uploadLnet/minecraft/client/gl/GlUniform;upload()V
-
uploadInts
private void uploadInts()- Mappings:
Namespace Name Mixin selector intermediary method_1303Lnet/minecraft/class_284;method_1303()Vofficial iLehs;i()Vnamed uploadIntsLnet/minecraft/client/gl/GlUniform;uploadInts()V
-
uploadFloats
private void uploadFloats()- Mappings:
Namespace Name Mixin selector intermediary method_1301Lnet/minecraft/class_284;method_1301()Vofficial jLehs;j()Vnamed uploadFloatsLnet/minecraft/client/gl/GlUniform;uploadFloats()V
-
uploadMatrix
private void uploadMatrix()- Mappings:
Namespace Name Mixin selector intermediary method_1296Lnet/minecraft/class_284;method_1296()Vofficial kLehs;k()Vnamed uploadMatrixLnet/minecraft/client/gl/GlUniform;uploadMatrix()V
-
getLocation
public int getLocation()- Mappings:
Namespace Name Mixin selector intermediary method_35660Lnet/minecraft/class_284;method_35660()Iofficial cLehs;c()Inamed getLocationLnet/minecraft/client/gl/GlUniform;getLocation()I
-
getCount
public int getCount()- Mappings:
Namespace Name Mixin selector intermediary method_35661Lnet/minecraft/class_284;method_35661()Iofficial dLehs;d()Inamed getCountLnet/minecraft/client/gl/GlUniform;getCount()I
-
getDataType
public int getDataType()- Mappings:
Namespace Name Mixin selector intermediary method_35662Lnet/minecraft/class_284;method_35662()Iofficial eLehs;e()Inamed getDataTypeLnet/minecraft/client/gl/GlUniform;getDataType()I
-
getIntData
- Mappings:
Namespace Name Mixin selector intermediary method_35663Lnet/minecraft/class_284;method_35663()Ljava/nio/IntBuffer;official fLehs;f()Ljava/nio/IntBuffer;named getIntDataLnet/minecraft/client/gl/GlUniform;getIntData()Ljava/nio/IntBuffer;
-
getFloatData
- Mappings:
Namespace Name Mixin selector intermediary method_35664Lnet/minecraft/class_284;method_35664()Ljava/nio/FloatBuffer;official gLehs;g()Ljava/nio/FloatBuffer;named getFloatDataLnet/minecraft/client/gl/GlUniform;getFloatData()Ljava/nio/FloatBuffer;
-