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 - gmr- named - configId- intermediary - comp_3113- official - a- named - vertexFormat- intermediary - comp_3114- official - b- named - defines- intermediary - comp_3115- official - c
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final IdentifierThe field for theconfigIdrecord component.private final DefinesThe field for thedefinesrecord component.private final VertexFormatThe field for thevertexFormatrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionShaderProgramKey(Identifier identifier, VertexFormat vertexFormat, Defines defines) 
- 
Method SummaryModifier and TypeMethodDescriptionconfigId()Returns the value of theconfigIdrecord component.defines()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.toString()Returns a string representation of this record class.Returns the value of thevertexFormatrecord component.
- 
Field Details- 
configIdThe field for theconfigIdrecord component.
- 
vertexFormatThe field for thevertexFormatrecord component.
- 
definesThe field for thedefinesrecord component.
 
- 
- 
Constructor Details- 
ShaderProgramKey
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
configIdReturns the value of theconfigIdrecord component.- Returns:
- the value of the configIdrecord component
 
- 
vertexFormatReturns the value of thevertexFormatrecord component.- Returns:
- the value of the vertexFormatrecord component
 
- 
definesReturns the value of thedefinesrecord component.- Returns:
- the value of the definesrecord component
 
 
-