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$Definitions
intermediary net/minecraft/class_10151$class_10153
official gmb$c
named programs
intermediary comp_3105
official b
named shaderSources
intermediary comp_3106
official c
named postChains
intermediary comp_3107
official d
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ShaderLoader.Definitions
private final Map
<Identifier, PostEffectPipeline> The field for thepostChains
record component.private final Map
<Identifier, ShaderProgramDefinition> The field for theprograms
record component.private final Map
<ShaderLoader.ShaderSourceKey, String> The field for theshaderSources
record component. -
Constructor Summary
ConstructorDescriptionDefinitions
(Map<Identifier, ShaderProgramDefinition> map, Map<ShaderLoader.ShaderSourceKey, String> map2, Map<Identifier, PostEffectPipeline> map3) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of thepostChains
record component.programs()
Returns the value of theprograms
record component.Returns the value of theshaderSources
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
programs
The field for theprograms
record component. -
shaderSources
The field for theshaderSources
record component. -
postChains
The field for thepostChains
record component. -
EMPTY
- Mappings:
Namespace Name Mixin selector named EMPTY
Lnet/minecraft/client/gl/ShaderLoader$Definitions;EMPTY:Lnet/minecraft/client/gl/ShaderLoader$Definitions;
intermediary field_53948
Lnet/minecraft/class_10151$class_10153;field_53948:Lnet/minecraft/class_10151$class_10153;
official a
Lgmb$c;a:Lgmb$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 theprograms
record component.- Returns:
- the value of the
programs
record component
-
shaderSources
Returns the value of theshaderSources
record component.- Returns:
- the value of the
shaderSources
record component
-
postChains
Returns the value of thepostChains
record component.- Returns:
- the value of the
postChains
record component
-