Package net.minecraft.client.gl
Record Class ShaderLoader.Definitions
java.lang.Object
java.lang.Record
net.minecraft.client.gl.ShaderLoader.Definitions
- Record Components:
programs-shaderSources-postChains-
- Enclosing class:
ShaderLoader
@Environment(CLIENT)
public static record ShaderLoader.Definitions(Map<Identifier,ShaderProgramDefinition> programs, Map<ShaderLoader.ShaderSourceKey,String> shaderSources, Map<Identifier,PostEffectPipeline> postChains)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/gl/ShaderLoader$Definitionsintermediary net/minecraft/class_10151$class_10153official gmq$cnamed programsintermediary comp_3105official bnamed shaderSourcesintermediary comp_3106official cnamed postChainsintermediary comp_3107official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ShaderLoader.Definitionsprivate final Map<Identifier, PostEffectPipeline> The field for thepostChainsrecord component.private final Map<Identifier, ShaderProgramDefinition> The field for theprogramsrecord component.private final Map<ShaderLoader.ShaderSourceKey, String> The field for theshaderSourcesrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionDefinitions(Map<Identifier, ShaderProgramDefinition> map, Map<ShaderLoader.ShaderSourceKey, String> map2, Map<Identifier, PostEffectPipeline> map3) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepostChainsrecord component.programs()Returns the value of theprogramsrecord component.Returns the value of theshaderSourcesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
programs
The field for theprogramsrecord component. -
shaderSources
The field for theshaderSourcesrecord component. -
postChains
The field for thepostChainsrecord component. -
EMPTY
- Mappings:
Namespace Name Mixin selector named EMPTYLnet/minecraft/client/gl/ShaderLoader$Definitions;EMPTY:Lnet/minecraft/client/gl/ShaderLoader$Definitions;intermediary field_53948Lnet/minecraft/class_10151$class_10153;field_53948:Lnet/minecraft/class_10151$class_10153;official aLgmq$c;a:Lgmq$c;
-
-
Constructor Details
-
Definitions
public Definitions(Map<Identifier, ShaderProgramDefinition> map, Map<ShaderLoader.ShaderSourceKey, String> map2, Map<Identifier, PostEffectPipeline> map3)
-
-
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). -
programs
Returns the value of theprogramsrecord component.- Returns:
- the value of the
programsrecord component
-
shaderSources
Returns the value of theshaderSourcesrecord component.- Returns:
- the value of the
shaderSourcesrecord component
-
postChains
Returns the value of thepostChainsrecord component.- Returns:
- the value of the
postChainsrecord component
-