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 named net/minecraft/client/gl/GlUniformintermediary net/minecraft/class_284official faz
-
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 named LOGGERLnet/minecraft/client/gl/GlUniform;LOGGER:Lorg/slf4j/Logger;intermediary field_1548Lnet/minecraft/class_284;field_1548:Lorg/slf4j/Logger;official lLfaz;l:Lorg/slf4j/Logger;
-
field_32038
public static final int field_32038- See Also:
- Mappings:
Namespace Name Mixin selector named field_32038Lnet/minecraft/client/gl/GlUniform;field_32038:Iintermediary field_32038Lnet/minecraft/class_284;field_32038:Iofficial aLfaz;a:I
-
field_32039
public static final int field_32039- See Also:
- Mappings:
Namespace Name Mixin selector named field_32039Lnet/minecraft/client/gl/GlUniform;field_32039:Iintermediary field_32039Lnet/minecraft/class_284;field_32039:Iofficial bLfaz;b:I
-
field_32040
public static final int field_32040- See Also:
- Mappings:
Namespace Name Mixin selector named field_32040Lnet/minecraft/client/gl/GlUniform;field_32040:Iintermediary field_32040Lnet/minecraft/class_284;field_32040:Iofficial cLfaz;c:I
-
field_32041
public static final int field_32041- See Also:
- Mappings:
Namespace Name Mixin selector named field_32041Lnet/minecraft/client/gl/GlUniform;field_32041:Iintermediary field_32041Lnet/minecraft/class_284;field_32041:Iofficial dLfaz;d:I
-
field_32042
public static final int field_32042- See Also:
- Mappings:
Namespace Name Mixin selector named field_32042Lnet/minecraft/client/gl/GlUniform;field_32042:Iintermediary field_32042Lnet/minecraft/class_284;field_32042:Iofficial eLfaz;e:I
-
field_32043
public static final int field_32043- See Also:
- Mappings:
Namespace Name Mixin selector named field_32043Lnet/minecraft/client/gl/GlUniform;field_32043:Iintermediary field_32043Lnet/minecraft/class_284;field_32043:Iofficial fLfaz;f:I
-
field_32044
public static final int field_32044- See Also:
- Mappings:
Namespace Name Mixin selector named field_32044Lnet/minecraft/client/gl/GlUniform;field_32044:Iintermediary field_32044Lnet/minecraft/class_284;field_32044:Iofficial gLfaz;g:I
-
field_32045
public static final int field_32045- See Also:
- Mappings:
Namespace Name Mixin selector named field_32045Lnet/minecraft/client/gl/GlUniform;field_32045:Iintermediary field_32045Lnet/minecraft/class_284;field_32045:Iofficial hLfaz;h:I
-
field_32046
public static final int field_32046- See Also:
- Mappings:
Namespace Name Mixin selector named field_32046Lnet/minecraft/client/gl/GlUniform;field_32046:Iintermediary field_32046Lnet/minecraft/class_284;field_32046:Iofficial iLfaz;i:I
-
field_32047
public static final int field_32047- See Also:
- Mappings:
Namespace Name Mixin selector named field_32047Lnet/minecraft/client/gl/GlUniform;field_32047:Iintermediary field_32047Lnet/minecraft/class_284;field_32047:Iofficial jLfaz;j:I
-
field_32048
public static final int field_32048- See Also:
- Mappings:
Namespace Name Mixin selector named field_32048Lnet/minecraft/client/gl/GlUniform;field_32048:Iintermediary field_32048Lnet/minecraft/class_284;field_32048:Iofficial kLfaz;k:I
-
field_32049
private static final boolean field_32049- See Also:
- Mappings:
Namespace Name Mixin selector named field_32049Lnet/minecraft/client/gl/GlUniform;field_32049:Zintermediary field_32049Lnet/minecraft/class_284;field_32049:Zofficial mLfaz;m:Z
-
location
private int location- Mappings:
Namespace Name Mixin selector named locationLnet/minecraft/client/gl/GlUniform;location:Iintermediary field_1545Lnet/minecraft/class_284;field_1545:Iofficial nLfaz;n:I
-
count
private final int count- Mappings:
Namespace Name Mixin selector named countLnet/minecraft/client/gl/GlUniform;count:Iintermediary field_1544Lnet/minecraft/class_284;field_1544:Iofficial oLfaz;o:I
-
dataType
private final int dataType- Mappings:
Namespace Name Mixin selector named dataTypeLnet/minecraft/client/gl/GlUniform;dataType:Iintermediary field_1543Lnet/minecraft/class_284;field_1543:Iofficial pLfaz;p:I
-
intData
- Mappings:
Namespace Name Mixin selector named intDataLnet/minecraft/client/gl/GlUniform;intData:Ljava/nio/IntBuffer;intermediary field_1547Lnet/minecraft/class_284;field_1547:Ljava/nio/IntBuffer;official qLfaz;q:Ljava/nio/IntBuffer;
-
floatData
- Mappings:
Namespace Name Mixin selector named floatDataLnet/minecraft/client/gl/GlUniform;floatData:Ljava/nio/FloatBuffer;intermediary field_1549Lnet/minecraft/class_284;field_1549:Ljava/nio/FloatBuffer;official rLfaz;r:Ljava/nio/FloatBuffer;
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/client/gl/GlUniform;name:Ljava/lang/String;intermediary field_1546Lnet/minecraft/class_284;field_1546:Ljava/lang/String;official sLfaz;s:Ljava/lang/String;
-
stateDirty
private boolean stateDirty- Mappings:
Namespace Name Mixin selector named stateDirtyLnet/minecraft/client/gl/GlUniform;stateDirty:Zintermediary field_1542Lnet/minecraft/class_284;field_1542:Zofficial tLfaz;t:Z
-
program
- Mappings:
Namespace Name Mixin selector named programLnet/minecraft/client/gl/GlUniform;program:Lnet/minecraft/client/gl/ShaderProgramSetupView;intermediary field_1541Lnet/minecraft/class_284;field_1541:Lnet/minecraft/class_3679;official uLfaz;u:Lfay;
-
-
Constructor Details
-
GlUniform
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gl/GlUniform;<init>(Ljava/lang/String;IILnet/minecraft/client/gl/ShaderProgramSetupView;)Vintermediary <init>Lnet/minecraft/class_284;<init>(Ljava/lang/String;IILnet/minecraft/class_3679;)Vofficial <init>Lfaz;<init>(Ljava/lang/String;IILfay;)V
-
-
Method Details
-
getUniformLocation
- Mappings:
Namespace Name Mixin selector named getUniformLocationLnet/minecraft/client/gl/GlUniform;getUniformLocation(ILjava/lang/CharSequence;)Iintermediary method_22096Lnet/minecraft/class_284;method_22096(ILjava/lang/CharSequence;)Iofficial aLfaz;a(ILjava/lang/CharSequence;)I
-
uniform1
public static void uniform1(int location, int value) - Mappings:
Namespace Name Mixin selector named uniform1Lnet/minecraft/client/gl/GlUniform;uniform1(II)Vintermediary method_22095Lnet/minecraft/class_284;method_22095(II)Vofficial bLfaz;b(II)V
-
getAttribLocation
- Mappings:
Namespace Name Mixin selector named getAttribLocationLnet/minecraft/client/gl/GlUniform;getAttribLocation(ILjava/lang/CharSequence;)Iintermediary method_22097Lnet/minecraft/class_284;method_22097(ILjava/lang/CharSequence;)Iofficial bLfaz;b(ILjava/lang/CharSequence;)I
-
bindAttribLocation
- Mappings:
Namespace Name Mixin selector named bindAttribLocationLnet/minecraft/client/gl/GlUniform;bindAttribLocation(IILjava/lang/CharSequence;)Vintermediary method_34419Lnet/minecraft/class_284;method_34419(IILjava/lang/CharSequence;)Vofficial aLfaz;a(IILjava/lang/CharSequence;)V
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
markStateDirty
private void markStateDirty()- Mappings:
Namespace Name Mixin selector named markStateDirtyLnet/minecraft/client/gl/GlUniform;markStateDirty()Vintermediary method_1302Lnet/minecraft/class_284;method_1302()Vofficial hLfaz;h()V
-
getTypeIndex
- Mappings:
Namespace Name Mixin selector named getTypeIndexLnet/minecraft/client/gl/GlUniform;getTypeIndex(Ljava/lang/String;)Iintermediary method_1299Lnet/minecraft/class_284;method_1299(Ljava/lang/String;)Iofficial aLfaz;a(Ljava/lang/String;)I
-
setLocation
public void setLocation(int location) - Mappings:
Namespace Name Mixin selector named setLocationLnet/minecraft/client/gl/GlUniform;setLocation(I)Vintermediary method_1297Lnet/minecraft/class_284;method_1297(I)Vofficial bLfaz;b(I)V
-
getName
- Mappings:
Namespace Name Mixin selector named getNameLnet/minecraft/client/gl/GlUniform;getName()Ljava/lang/String;intermediary method_1298Lnet/minecraft/class_284;method_1298()Ljava/lang/String;official aLfaz;a()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 named setLnet/minecraft/client/gl/GlUniform;set(IF)Vintermediary method_35659Lnet/minecraft/class_284;method_35659(IF)Vofficial aLfaz;a(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 named setAndFlipLnet/minecraft/client/gl/Uniform;setAndFlip(FFFF)Vintermediary method_1254Lnet/minecraft/class_278;method_1254(FFFF)Vofficial aLfar;a(FFFF)V
-
set
-
setForDataType
public final void setForDataType(float value1, float value2, float value3, float value4) - Overrides:
setForDataTypein classUniform- Mappings:
Namespace Name Mixin selector named setForDataTypeLnet/minecraft/client/gl/Uniform;setForDataType(FFFF)Vintermediary method_1252Lnet/minecraft/class_278;method_1252(FFFF)Vofficial bLfar;b(FFFF)V
-
setForDataType
public final void setForDataType(int value1, int value2, int value3, int value4) - Overrides:
setForDataTypein classUniform- Mappings:
Namespace Name Mixin selector named setForDataTypeLnet/minecraft/client/gl/Uniform;setForDataType(IIII)Vintermediary method_1248Lnet/minecraft/class_278;method_1248(IIII)Vofficial aLfar;a(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 named method_35653Lnet/minecraft/client/gl/Uniform;method_35653(FFFFFF)Vintermediary method_35653Lnet/minecraft/class_278;method_35653(FFFFFF)Vofficial bLfar;b(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 named method_35654Lnet/minecraft/client/gl/Uniform;method_35654(FFFFFFFF)Vintermediary method_35654Lnet/minecraft/class_278;method_35654(FFFFFFFF)Vofficial bLfar;b(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 named method_35655Lnet/minecraft/client/gl/Uniform;method_35655(FFFFFFFFFFFF)Vintermediary method_35655Lnet/minecraft/class_278;method_35655(FFFFFFFFFFFF)Vofficial bLfar;b(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 named uploadLnet/minecraft/client/gl/GlUniform;upload()Vintermediary method_1300Lnet/minecraft/class_284;method_1300()Vofficial bLfaz;b()V
-
uploadInts
private void uploadInts()- Mappings:
Namespace Name Mixin selector named uploadIntsLnet/minecraft/client/gl/GlUniform;uploadInts()Vintermediary method_1303Lnet/minecraft/class_284;method_1303()Vofficial iLfaz;i()V
-
uploadFloats
private void uploadFloats()- Mappings:
Namespace Name Mixin selector named uploadFloatsLnet/minecraft/client/gl/GlUniform;uploadFloats()Vintermediary method_1301Lnet/minecraft/class_284;method_1301()Vofficial jLfaz;j()V
-
uploadMatrix
private void uploadMatrix()- Mappings:
Namespace Name Mixin selector named uploadMatrixLnet/minecraft/client/gl/GlUniform;uploadMatrix()Vintermediary method_1296Lnet/minecraft/class_284;method_1296()Vofficial kLfaz;k()V
-
getLocation
public int getLocation()- Mappings:
Namespace Name Mixin selector named getLocationLnet/minecraft/client/gl/GlUniform;getLocation()Iintermediary method_35660Lnet/minecraft/class_284;method_35660()Iofficial cLfaz;c()I
-
getCount
public int getCount()- Mappings:
Namespace Name Mixin selector named getCountLnet/minecraft/client/gl/GlUniform;getCount()Iintermediary method_35661Lnet/minecraft/class_284;method_35661()Iofficial dLfaz;d()I
-
getDataType
public int getDataType()- Mappings:
Namespace Name Mixin selector named getDataTypeLnet/minecraft/client/gl/GlUniform;getDataType()Iintermediary method_35662Lnet/minecraft/class_284;method_35662()Iofficial eLfaz;e()I
-
getIntData
- Mappings:
Namespace Name Mixin selector named getIntDataLnet/minecraft/client/gl/GlUniform;getIntData()Ljava/nio/IntBuffer;intermediary method_35663Lnet/minecraft/class_284;method_35663()Ljava/nio/IntBuffer;official fLfaz;f()Ljava/nio/IntBuffer;
-
getFloatData
- Mappings:
Namespace Name Mixin selector named getFloatDataLnet/minecraft/client/gl/GlUniform;getFloatData()Ljava/nio/FloatBuffer;intermediary method_35664Lnet/minecraft/class_284;method_35664()Ljava/nio/FloatBuffer;official gLfaz;g()Ljava/nio/FloatBuffer;
-