Package net.minecraft.client.gl
Record Class GlBackend.ShaderKey
java.lang.Object
java.lang.Record
net.minecraft.client.gl.GlBackend.ShaderKey
- Record Components:
id-type-defines-
- Enclosing class:
GlBackend
@Environment(CLIENT)
private static record GlBackend.ShaderKey(Identifier id, ShaderType type, Defines defines)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/gl/GlBackend$ShaderKeyintermediary net/minecraft/class_10865$class_10154official fjg$anamed idintermediary comp_3108official anamed typeintermediary comp_3109official bnamed definesintermediary comp_3110official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DefinesThe field for thedefinesrecord component.private final IdentifierThe field for theidrecord component.private final ShaderTypeThe field for thetyperecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefines()Returns the value of thedefinesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.toString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Field Details
-
Constructor Details
-
ShaderKey
ShaderKey(Identifier identifier, ShaderType shaderType, Defines defines)
-
-
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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
defines
Returns the value of thedefinesrecord component.- Returns:
- the value of the
definesrecord component
-