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 official ehsintermediary net/minecraft/class_284named 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 official lLehs;l:Lorg/slf4j/Logger;intermediary field_1548Lnet/minecraft/class_284;field_1548: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 official aLehs;a:Iintermediary field_32038Lnet/minecraft/class_284;field_32038: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 official bLehs;b:Iintermediary field_32039Lnet/minecraft/class_284;field_32039: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 official cLehs;c:Iintermediary field_32040Lnet/minecraft/class_284;field_32040: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 official dLehs;d:Iintermediary field_32041Lnet/minecraft/class_284;field_32041: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 official eLehs;e:Iintermediary field_32042Lnet/minecraft/class_284;field_32042: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 official fLehs;f:Iintermediary field_32043Lnet/minecraft/class_284;field_32043: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 official gLehs;g:Iintermediary field_32044Lnet/minecraft/class_284;field_32044: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 official hLehs;h:Iintermediary field_32045Lnet/minecraft/class_284;field_32045: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 official iLehs;i:Iintermediary field_32046Lnet/minecraft/class_284;field_32046: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 official jLehs;j:Iintermediary field_32047Lnet/minecraft/class_284;field_32047: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 official kLehs;k:Iintermediary field_32048Lnet/minecraft/class_284;field_32048: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 official mLehs;m:Zintermediary field_32049Lnet/minecraft/class_284;field_32049:Znamed field_32049Lnet/minecraft/client/gl/GlUniform;field_32049:Z
-
location
private int location- Mappings:
Namespace Name Mixin selector official nLehs;n:Iintermediary field_1545Lnet/minecraft/class_284;field_1545:Inamed locationLnet/minecraft/client/gl/GlUniform;location:I
-
count
private final int count- Mappings:
Namespace Name Mixin selector official oLehs;o:Iintermediary field_1544Lnet/minecraft/class_284;field_1544:Inamed countLnet/minecraft/client/gl/GlUniform;count:I
-
dataType
private final int dataType- Mappings:
Namespace Name Mixin selector official pLehs;p:Iintermediary field_1543Lnet/minecraft/class_284;field_1543:Inamed dataTypeLnet/minecraft/client/gl/GlUniform;dataType:I
-
intData
- Mappings:
Namespace Name Mixin selector official qLehs;q:Ljava/nio/IntBuffer;intermediary field_1547Lnet/minecraft/class_284;field_1547:Ljava/nio/IntBuffer;named intDataLnet/minecraft/client/gl/GlUniform;intData:Ljava/nio/IntBuffer;
-
floatData
- Mappings:
Namespace Name Mixin selector official rLehs;r:Ljava/nio/FloatBuffer;intermediary field_1549Lnet/minecraft/class_284;field_1549:Ljava/nio/FloatBuffer;named floatDataLnet/minecraft/client/gl/GlUniform;floatData:Ljava/nio/FloatBuffer;
-
name
- Mappings:
Namespace Name Mixin selector official sLehs;s:Ljava/lang/String;intermediary field_1546Lnet/minecraft/class_284;field_1546:Ljava/lang/String;named nameLnet/minecraft/client/gl/GlUniform;name:Ljava/lang/String;
-
stateDirty
private boolean stateDirty- Mappings:
Namespace Name Mixin selector official tLehs;t:Zintermediary field_1542Lnet/minecraft/class_284;field_1542:Znamed stateDirtyLnet/minecraft/client/gl/GlUniform;stateDirty:Z
-
program
- Mappings:
Namespace Name Mixin selector official uLehs;u:Lehr;intermediary field_1541Lnet/minecraft/class_284;field_1541:Lnet/minecraft/class_3679;named programLnet/minecraft/client/gl/GlUniform;program:Lnet/minecraft/client/gl/ShaderProgramSetupView;
-
-
Constructor Details
-
GlUniform
- Mappings:
Namespace Name Mixin selector official <init>Lehs;<init>(Ljava/lang/String;IILehr;)Vintermediary <init>Lnet/minecraft/class_284;<init>(Ljava/lang/String;IILnet/minecraft/class_3679;)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 official aLehs;a(ILjava/lang/CharSequence;)Iintermediary method_22096Lnet/minecraft/class_284;method_22096(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 official bLehs;b(II)Vintermediary method_22095Lnet/minecraft/class_284;method_22095(II)Vnamed uniform1Lnet/minecraft/client/gl/GlUniform;uniform1(II)V
-
getAttribLocation
- Mappings:
Namespace Name Mixin selector official bLehs;b(ILjava/lang/CharSequence;)Iintermediary method_22097Lnet/minecraft/class_284;method_22097(ILjava/lang/CharSequence;)Inamed getAttribLocationLnet/minecraft/client/gl/GlUniform;getAttribLocation(ILjava/lang/CharSequence;)I
-
bindAttribLocation
- Mappings:
Namespace Name Mixin selector official aLehs;a(IILjava/lang/CharSequence;)Vintermediary method_34419Lnet/minecraft/class_284;method_34419(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 official hLehs;h()Vintermediary method_1302Lnet/minecraft/class_284;method_1302()Vnamed markStateDirtyLnet/minecraft/client/gl/GlUniform;markStateDirty()V
-
getTypeIndex
- Mappings:
Namespace Name Mixin selector official aLehs;a(Ljava/lang/String;)Iintermediary method_1299Lnet/minecraft/class_284;method_1299(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 official bLehs;b(I)Vintermediary method_1297Lnet/minecraft/class_284;method_1297(I)Vnamed setLocationLnet/minecraft/client/gl/GlUniform;setLocation(I)V
-
getName
- Mappings:
Namespace Name Mixin selector official aLehs;a()Ljava/lang/String;intermediary method_1298Lnet/minecraft/class_284;method_1298()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 official aLehs;a(IF)Vintermediary method_35659Lnet/minecraft/class_284;method_35659(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 official aLehk;a(FFFF)Vintermediary method_1254Lnet/minecraft/class_278;method_1254(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 official bLehk;b(FFFF)Vintermediary method_1252Lnet/minecraft/class_278;method_1252(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 official aLehk;a(IIII)Vintermediary method_1248Lnet/minecraft/class_278;method_1248(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 official bLehk;b(FFFFFF)Vintermediary method_35653Lnet/minecraft/class_278;method_35653(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 official bLehk;b(FFFFFFFF)Vintermediary method_35654Lnet/minecraft/class_278;method_35654(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 official bLehk;b(FFFFFFFFFFFF)Vintermediary method_35655Lnet/minecraft/class_278;method_35655(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 official bLehs;b()Vintermediary method_1300Lnet/minecraft/class_284;method_1300()Vnamed uploadLnet/minecraft/client/gl/GlUniform;upload()V
-
uploadInts
private void uploadInts()- Mappings:
Namespace Name Mixin selector official iLehs;i()Vintermediary method_1303Lnet/minecraft/class_284;method_1303()Vnamed uploadIntsLnet/minecraft/client/gl/GlUniform;uploadInts()V
-
uploadFloats
private void uploadFloats()- Mappings:
Namespace Name Mixin selector official jLehs;j()Vintermediary method_1301Lnet/minecraft/class_284;method_1301()Vnamed uploadFloatsLnet/minecraft/client/gl/GlUniform;uploadFloats()V
-
uploadMatrix
private void uploadMatrix()- Mappings:
Namespace Name Mixin selector official kLehs;k()Vintermediary method_1296Lnet/minecraft/class_284;method_1296()Vnamed uploadMatrixLnet/minecraft/client/gl/GlUniform;uploadMatrix()V
-
getLocation
public int getLocation()- Mappings:
Namespace Name Mixin selector official cLehs;c()Iintermediary method_35660Lnet/minecraft/class_284;method_35660()Inamed getLocationLnet/minecraft/client/gl/GlUniform;getLocation()I
-
getCount
public int getCount()- Mappings:
Namespace Name Mixin selector official dLehs;d()Iintermediary method_35661Lnet/minecraft/class_284;method_35661()Inamed getCountLnet/minecraft/client/gl/GlUniform;getCount()I
-
getDataType
public int getDataType()- Mappings:
Namespace Name Mixin selector official eLehs;e()Iintermediary method_35662Lnet/minecraft/class_284;method_35662()Inamed getDataTypeLnet/minecraft/client/gl/GlUniform;getDataType()I
-
getIntData
- Mappings:
Namespace Name Mixin selector official fLehs;f()Ljava/nio/IntBuffer;intermediary method_35663Lnet/minecraft/class_284;method_35663()Ljava/nio/IntBuffer;named getIntDataLnet/minecraft/client/gl/GlUniform;getIntData()Ljava/nio/IntBuffer;
-
getFloatData
- Mappings:
Namespace Name Mixin selector official gLehs;g()Ljava/nio/FloatBuffer;intermediary method_35664Lnet/minecraft/class_284;method_35664()Ljava/nio/FloatBuffer;named getFloatDataLnet/minecraft/client/gl/GlUniform;getFloatData()Ljava/nio/FloatBuffer;
-