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/GlUniform
intermediary net/minecraft/class_284
official fgi
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
private static final boolean
private final FloatBuffer
private final IntBuffer
private int
private static final Logger
private final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
int
getCount()
int
int
getName()
static int
getTypeIndex
(String typeName) static int
getUniformLocation
(int program, CharSequence name) private void
final void
method_35653
(float value1, float value2, float value3, float value4, float value5, float value6) final void
method_35654
(float value1, float value2, float value3, float value4, float value5, float value6, float value7, float value8) 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) final void
set
(float value1) final void
set
(float[] values) final void
set
(float value1, float value2) final void
set
(float value1, float value2, float value3) final void
set
(float value1, float value2, float value3, float value4) final void
set
(float value1, float value2, float value3, float value4, float value5, float value6) final void
set
(float value1, float value2, float value3, float value4, float value5, float value6, float value7, float value8) final void
set
(float value1, float value2, float value3, float value4, float value5, float value6, float value7, float value8, float value9) 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) 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) final void
set
(int value) final void
set
(int index, float value) final void
set
(int value1, int value2) final void
set
(int value1, int value2, int value3) final void
set
(int value1, int value2, int value3, int value4) void
void
set
(ShaderProgramDefinition.Uniform uniform) final void
final void
final void
final void
final void
setAndFlip
(float value1, float value2, float value3, float value4) final void
setForDataType
(float value1, float value2, float value3, float value4) final void
setForDataType
(int value1, int value2, int value3, int value4) void
setLocation
(int location) static void
uniform1
(int location, int value) void
upload()
private void
private void
private void
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/client/gl/GlUniform;LOGGER:Lorg/slf4j/Logger;
intermediary field_1548
Lnet/minecraft/class_284;field_1548:Lorg/slf4j/Logger;
official l
Lfgi;l:Lorg/slf4j/Logger;
-
field_32038
public static final int field_32038- See Also:
- Mappings:
Namespace Name Mixin selector named field_32038
Lnet/minecraft/client/gl/GlUniform;field_32038:I
intermediary field_32038
Lnet/minecraft/class_284;field_32038:I
official a
Lfgi;a:I
-
field_32039
public static final int field_32039- See Also:
- Mappings:
Namespace Name Mixin selector named field_32039
Lnet/minecraft/client/gl/GlUniform;field_32039:I
intermediary field_32039
Lnet/minecraft/class_284;field_32039:I
official b
Lfgi;b:I
-
field_32040
public static final int field_32040- See Also:
- Mappings:
Namespace Name Mixin selector named field_32040
Lnet/minecraft/client/gl/GlUniform;field_32040:I
intermediary field_32040
Lnet/minecraft/class_284;field_32040:I
official c
Lfgi;c:I
-
field_32041
public static final int field_32041- See Also:
- Mappings:
Namespace Name Mixin selector named field_32041
Lnet/minecraft/client/gl/GlUniform;field_32041:I
intermediary field_32041
Lnet/minecraft/class_284;field_32041:I
official d
Lfgi;d:I
-
field_32042
public static final int field_32042- See Also:
- Mappings:
Namespace Name Mixin selector named field_32042
Lnet/minecraft/client/gl/GlUniform;field_32042:I
intermediary field_32042
Lnet/minecraft/class_284;field_32042:I
official e
Lfgi;e:I
-
field_32043
public static final int field_32043- See Also:
- Mappings:
Namespace Name Mixin selector named field_32043
Lnet/minecraft/client/gl/GlUniform;field_32043:I
intermediary field_32043
Lnet/minecraft/class_284;field_32043:I
official f
Lfgi;f:I
-
field_32044
public static final int field_32044- See Also:
- Mappings:
Namespace Name Mixin selector named field_32044
Lnet/minecraft/client/gl/GlUniform;field_32044:I
intermediary field_32044
Lnet/minecraft/class_284;field_32044:I
official g
Lfgi;g:I
-
field_32045
public static final int field_32045- See Also:
- Mappings:
Namespace Name Mixin selector named field_32045
Lnet/minecraft/client/gl/GlUniform;field_32045:I
intermediary field_32045
Lnet/minecraft/class_284;field_32045:I
official h
Lfgi;h:I
-
field_32046
public static final int field_32046- See Also:
- Mappings:
Namespace Name Mixin selector named field_32046
Lnet/minecraft/client/gl/GlUniform;field_32046:I
intermediary field_32046
Lnet/minecraft/class_284;field_32046:I
official i
Lfgi;i:I
-
field_32047
public static final int field_32047- See Also:
- Mappings:
Namespace Name Mixin selector named field_32047
Lnet/minecraft/client/gl/GlUniform;field_32047:I
intermediary field_32047
Lnet/minecraft/class_284;field_32047:I
official j
Lfgi;j:I
-
field_32048
public static final int field_32048- See Also:
- Mappings:
Namespace Name Mixin selector named field_32048
Lnet/minecraft/client/gl/GlUniform;field_32048:I
intermediary field_32048
Lnet/minecraft/class_284;field_32048:I
official k
Lfgi;k:I
-
field_32049
private static final boolean field_32049- See Also:
- Mappings:
Namespace Name Mixin selector named field_32049
Lnet/minecraft/client/gl/GlUniform;field_32049:Z
intermediary field_32049
Lnet/minecraft/class_284;field_32049:Z
official m
Lfgi;m:Z
-
location
private int location- Mappings:
Namespace Name Mixin selector named location
Lnet/minecraft/client/gl/GlUniform;location:I
intermediary field_1545
Lnet/minecraft/class_284;field_1545:I
official n
Lfgi;n:I
-
count
private final int count- Mappings:
Namespace Name Mixin selector named count
Lnet/minecraft/client/gl/GlUniform;count:I
intermediary field_1544
Lnet/minecraft/class_284;field_1544:I
official o
Lfgi;o:I
-
dataType
private final int dataType- Mappings:
Namespace Name Mixin selector named dataType
Lnet/minecraft/client/gl/GlUniform;dataType:I
intermediary field_1543
Lnet/minecraft/class_284;field_1543:I
official p
Lfgi;p:I
-
intData
- Mappings:
Namespace Name Mixin selector named intData
Lnet/minecraft/client/gl/GlUniform;intData:Ljava/nio/IntBuffer;
intermediary field_1547
Lnet/minecraft/class_284;field_1547:Ljava/nio/IntBuffer;
official q
Lfgi;q:Ljava/nio/IntBuffer;
-
floatData
- Mappings:
Namespace Name Mixin selector named floatData
Lnet/minecraft/client/gl/GlUniform;floatData:Ljava/nio/FloatBuffer;
intermediary field_1549
Lnet/minecraft/class_284;field_1549:Ljava/nio/FloatBuffer;
official r
Lfgi;r:Ljava/nio/FloatBuffer;
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/client/gl/GlUniform;name:Ljava/lang/String;
intermediary field_1546
Lnet/minecraft/class_284;field_1546:Ljava/lang/String;
official s
Lfgi;s:Ljava/lang/String;
-
-
Constructor Details
-
GlUniform
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gl/GlUniform;<init>(Ljava/lang/String;II)V
intermediary <init>
Lnet/minecraft/class_284;<init>(Ljava/lang/String;II)V
official <init>
Lfgi;<init>(Ljava/lang/String;II)V
-
-
Method Details
-
getUniformLocation
- Mappings:
Namespace Name Mixin selector named getUniformLocation
Lnet/minecraft/client/gl/GlUniform;getUniformLocation(ILjava/lang/CharSequence;)I
intermediary method_22096
Lnet/minecraft/class_284;method_22096(ILjava/lang/CharSequence;)I
official a
Lfgi;a(ILjava/lang/CharSequence;)I
-
uniform1
public static void uniform1(int location, int value) - Mappings:
Namespace Name Mixin selector named uniform1
Lnet/minecraft/client/gl/GlUniform;uniform1(II)V
intermediary method_22095
Lnet/minecraft/class_284;method_22095(II)V
official b
Lfgi;b(II)V
-
set
- Mappings:
Namespace Name Mixin selector named set
Lnet/minecraft/client/gl/GlUniform;set(Lnet/minecraft/client/gl/ShaderProgramDefinition$Uniform;)V
intermediary method_65015
Lnet/minecraft/class_284;method_65015(Lnet/minecraft/class_10157$class_10159;)V
official a
Lfgi;a(Lgmd$b;)V
-
set
- Mappings:
Namespace Name Mixin selector named set
Lnet/minecraft/client/gl/GlUniform;set(Ljava/util/List;I)V
intermediary method_65016
Lnet/minecraft/class_284;method_65016(Ljava/util/List;I)V
official a
Lfgi;a(Ljava/util/List;I)V
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
markStateDirty
private void markStateDirty()- Mappings:
Namespace Name Mixin selector named markStateDirty
Lnet/minecraft/client/gl/GlUniform;markStateDirty()V
intermediary method_1302
Lnet/minecraft/class_284;method_1302()V
official h
Lfgi;h()V
-
getTypeIndex
- Mappings:
Namespace Name Mixin selector named getTypeIndex
Lnet/minecraft/client/gl/GlUniform;getTypeIndex(Ljava/lang/String;)I
intermediary method_1299
Lnet/minecraft/class_284;method_1299(Ljava/lang/String;)I
official a
Lfgi;a(Ljava/lang/String;)I
-
setLocation
public void setLocation(int location) - Mappings:
Namespace Name Mixin selector named setLocation
Lnet/minecraft/client/gl/GlUniform;setLocation(I)V
intermediary method_1297
Lnet/minecraft/class_284;method_1297(I)V
official b
Lfgi;b(I)V
-
getName
- Mappings:
Namespace Name Mixin selector named getName
Lnet/minecraft/client/gl/GlUniform;getName()Ljava/lang/String;
intermediary method_1298
Lnet/minecraft/class_284;method_1298()Ljava/lang/String;
official a
Lfgi;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 set
Lnet/minecraft/client/gl/GlUniform;set(IF)V
intermediary method_35659
Lnet/minecraft/class_284;method_35659(IF)V
official a
Lfgi;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:
setAndFlip
in classUniform
- Mappings:
Namespace Name Mixin selector named setAndFlip
Lnet/minecraft/client/gl/Uniform;setAndFlip(FFFF)V
intermediary method_1254
Lnet/minecraft/class_278;method_1254(FFFF)V
official a
Lfgf;a(FFFF)V
-
set
-
setForDataType
public final void setForDataType(float value1, float value2, float value3, float value4) - Overrides:
setForDataType
in classUniform
- Mappings:
Namespace Name Mixin selector named setForDataType
Lnet/minecraft/client/gl/Uniform;setForDataType(FFFF)V
intermediary method_1252
Lnet/minecraft/class_278;method_1252(FFFF)V
official b
Lfgf;b(FFFF)V
-
setForDataType
public final void setForDataType(int value1, int value2, int value3, int value4) - Overrides:
setForDataType
in classUniform
- Mappings:
Namespace Name Mixin selector named setForDataType
Lnet/minecraft/client/gl/Uniform;setForDataType(IIII)V
intermediary method_1248
Lnet/minecraft/class_278;method_1248(IIII)V
official a
Lfgf;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_35653
in classUniform
- Mappings:
Namespace Name Mixin selector named method_35653
Lnet/minecraft/client/gl/Uniform;method_35653(FFFFFF)V
intermediary method_35653
Lnet/minecraft/class_278;method_35653(FFFFFF)V
official b
Lfgf;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_35654
in classUniform
- Mappings:
Namespace Name Mixin selector named method_35654
Lnet/minecraft/client/gl/Uniform;method_35654(FFFFFFFF)V
intermediary method_35654
Lnet/minecraft/class_278;method_35654(FFFFFFFF)V
official b
Lfgf;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_35655
in classUniform
- Mappings:
Namespace Name Mixin selector named method_35655
Lnet/minecraft/client/gl/Uniform;method_35655(FFFFFFFFFFFF)V
intermediary method_35655
Lnet/minecraft/class_278;method_35655(FFFFFFFFFFFF)V
official b
Lfgf;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 upload
Lnet/minecraft/client/gl/GlUniform;upload()V
intermediary method_1300
Lnet/minecraft/class_284;method_1300()V
official b
Lfgi;b()V
-
uploadInts
private void uploadInts()- Mappings:
Namespace Name Mixin selector named uploadInts
Lnet/minecraft/client/gl/GlUniform;uploadInts()V
intermediary method_1303
Lnet/minecraft/class_284;method_1303()V
official i
Lfgi;i()V
-
uploadFloats
private void uploadFloats()- Mappings:
Namespace Name Mixin selector named uploadFloats
Lnet/minecraft/client/gl/GlUniform;uploadFloats()V
intermediary method_1301
Lnet/minecraft/class_284;method_1301()V
official j
Lfgi;j()V
-
uploadMatrix
private void uploadMatrix()- Mappings:
Namespace Name Mixin selector named uploadMatrix
Lnet/minecraft/client/gl/GlUniform;uploadMatrix()V
intermediary method_1296
Lnet/minecraft/class_284;method_1296()V
official k
Lfgi;k()V
-
getLocation
public int getLocation()- Mappings:
Namespace Name Mixin selector named getLocation
Lnet/minecraft/client/gl/GlUniform;getLocation()I
intermediary method_35660
Lnet/minecraft/class_284;method_35660()I
official c
Lfgi;c()I
-
getCount
public int getCount()- Mappings:
Namespace Name Mixin selector named getCount
Lnet/minecraft/client/gl/GlUniform;getCount()I
intermediary method_35661
Lnet/minecraft/class_284;method_35661()I
official d
Lfgi;d()I
-
getDataType
public int getDataType()- Mappings:
Namespace Name Mixin selector named getDataType
Lnet/minecraft/client/gl/GlUniform;getDataType()I
intermediary method_35662
Lnet/minecraft/class_284;method_35662()I
official e
Lfgi;e()I
-
getIntData
- Mappings:
Namespace Name Mixin selector named getIntData
Lnet/minecraft/client/gl/GlUniform;getIntData()Ljava/nio/IntBuffer;
intermediary method_35663
Lnet/minecraft/class_284;method_35663()Ljava/nio/IntBuffer;
official f
Lfgi;f()Ljava/nio/IntBuffer;
-
getFloatData
- Mappings:
Namespace Name Mixin selector named getFloatData
Lnet/minecraft/client/gl/GlUniform;getFloatData()Ljava/nio/FloatBuffer;
intermediary method_35664
Lnet/minecraft/class_284;method_35664()Ljava/nio/FloatBuffer;
official g
Lfgi;g()Ljava/nio/FloatBuffer;
-