Record Class ShaderManager.PendingResults
java.lang.Object
java.lang.Record
net.minecraft.client.renderer.ShaderManager.PendingResults
- Enclosing class:
ShaderManager
private static record ShaderManager.PendingResults(ShaderManager.Configs configs, List<RenderPipeline> requiredPipelines, List<RenderPipeline> optionalPipelines, List<@Nullable CompiledRenderPipeline> compiledRequiredPipelines, List<@Nullable CompiledRenderPipeline> compiledOptionalPipelines)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<@Nullable CompiledRenderPipeline> The field for thecompiledOptionalPipelinesrecord component.private final List<@Nullable CompiledRenderPipeline> The field for thecompiledRequiredPipelinesrecord component.private final ShaderManager.ConfigsThe field for theconfigsrecord component.private final List<RenderPipeline> The field for theoptionalPipelinesrecord component.private final List<RenderPipeline> The field for therequiredPipelinesrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePendingResults(ShaderManager.Configs configs, List<RenderPipeline> requiredPipelines, List<RenderPipeline> optionalPipelines, List<@Nullable CompiledRenderPipeline> compiledRequiredPipelines, List<@Nullable CompiledRenderPipeline> compiledOptionalPipelines) Creates an instance of aPendingResultsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecompiledOptionalPipelinesrecord component.Returns the value of thecompiledRequiredPipelinesrecord component.configs()Returns the value of theconfigsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theoptionalPipelinesrecord component.Returns the value of therequiredPipelinesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
configs
The field for theconfigsrecord component. -
requiredPipelines
The field for therequiredPipelinesrecord component. -
optionalPipelines
The field for theoptionalPipelinesrecord component. -
compiledRequiredPipelines
The field for thecompiledRequiredPipelinesrecord component. -
compiledOptionalPipelines
The field for thecompiledOptionalPipelinesrecord component.
-
-
Constructor Details
-
PendingResults
private PendingResults(ShaderManager.Configs configs, List<RenderPipeline> requiredPipelines, List<RenderPipeline> optionalPipelines, List<@Nullable CompiledRenderPipeline> compiledRequiredPipelines, List<@Nullable CompiledRenderPipeline> compiledOptionalPipelines) Creates an instance of aPendingResultsrecord class.- Parameters:
configs- the value for theconfigsrecord componentrequiredPipelines- the value for therequiredPipelinesrecord componentoptionalPipelines- the value for theoptionalPipelinesrecord componentcompiledRequiredPipelines- the value for thecompiledRequiredPipelinesrecord componentcompiledOptionalPipelines- the value for thecompiledOptionalPipelinesrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
configs
Returns the value of theconfigsrecord component.- Returns:
- the value of the
configsrecord component
-
requiredPipelines
Returns the value of therequiredPipelinesrecord component.- Returns:
- the value of the
requiredPipelinesrecord component
-
optionalPipelines
Returns the value of theoptionalPipelinesrecord component.- Returns:
- the value of the
optionalPipelinesrecord component
-
compiledRequiredPipelines
Returns the value of thecompiledRequiredPipelinesrecord component.- Returns:
- the value of the
compiledRequiredPipelinesrecord component
-
compiledOptionalPipelines
Returns the value of thecompiledOptionalPipelinesrecord component.- Returns:
- the value of the
compiledOptionalPipelinesrecord component
-