Package net.minecraft.client.gl
Record Class ShaderProgramKey
java.lang.Object
java.lang.Record
net.minecraft.client.gl.ShaderProgramKey
- Record Components:
configId
-vertexFormat
-defines
-
@Environment(CLIENT)
public record ShaderProgramKey(Identifier configId, VertexFormat vertexFormat, Defines defines)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/gl/ShaderProgramKey
intermediary net/minecraft/class_10156
official gmc
named configId
intermediary comp_3113
official a
named vertexFormat
intermediary comp_3114
official b
named defines
intermediary comp_3115
official c
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Identifier
The field for theconfigId
record component.private final Defines
The field for thedefines
record component.private final VertexFormat
The field for thevertexFormat
record component. -
Constructor Summary
ConstructorDescriptionShaderProgramKey
(Identifier identifier, VertexFormat vertexFormat, Defines defines) -
Method Summary
Modifier and TypeMethodDescriptionconfigId()
Returns the value of theconfigId
record component.defines()
Returns the value of thedefines
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.toString()
Returns a string representation of this record class.Returns the value of thevertexFormat
record component.
-
Field Details
-
configId
The field for theconfigId
record component. -
vertexFormat
The field for thevertexFormat
record component. -
defines
The field for thedefines
record component.
-
-
Constructor Details
-
ShaderProgramKey
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
configId
Returns the value of theconfigId
record component.- Returns:
- the value of the
configId
record component
-
vertexFormat
Returns the value of thevertexFormat
record component.- Returns:
- the value of the
vertexFormat
record component
-
defines
Returns the value of thedefines
record component.- Returns:
- the value of the
defines
record component
-