Record Class OitPipelineSet
java.lang.Object
java.lang.Record
net.minecraft.client.renderer.oit.OitPipelineSet
public record OitPipelineSet(RenderPipeline depthBoundsPipeline, RenderPipeline transmittancePipeline, RenderPipeline accumulatePipeline)
extends Record
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RenderPipelineThe field for theaccumulatePipelinerecord component.private final RenderPipelineThe field for thedepthBoundsPipelinerecord component.private final RenderPipelineThe field for thetransmittancePipelinerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionOitPipelineSet(RenderPipeline depthBoundsPipeline, RenderPipeline transmittancePipeline, RenderPipeline accumulatePipeline) Creates an instance of aOitPipelineSetrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccumulatePipelinerecord component.static OitPipelineSet.Builderbuilder(String locationSuffix, RenderPipeline.Builder builder) Deprecated.static OitPipelineSet.Builderbuilder(Identifier locationSuffix, RenderPipeline.Builder builder) Returns the value of thedepthBoundsPipelinerecord component.final booleanIndicates whether some other object is "equal to" this one.getPipeline(OitStage stage) final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Returns the value of thetransmittancePipelinerecord component.
-
Field Details
-
depthBoundsPipeline
The field for thedepthBoundsPipelinerecord component. -
transmittancePipeline
The field for thetransmittancePipelinerecord component. -
accumulatePipeline
The field for theaccumulatePipelinerecord component.
-
-
Constructor Details
-
OitPipelineSet
public OitPipelineSet(RenderPipeline depthBoundsPipeline, RenderPipeline transmittancePipeline, RenderPipeline accumulatePipeline) Creates an instance of aOitPipelineSetrecord class.- Parameters:
depthBoundsPipeline- the value for thedepthBoundsPipelinerecord componenttransmittancePipeline- the value for thetransmittancePipelinerecord componentaccumulatePipeline- the value for theaccumulatePipelinerecord component
-
-
Method Details
-
getPipeline
-
builder
@Deprecated public static OitPipelineSet.Builder builder(String locationSuffix, RenderPipeline.Builder builder) Deprecated.Neo: usebuilder(net.minecraft.resources.Identifier, RenderPipeline.Builder)instead -
builder
public static OitPipelineSet.Builder builder(Identifier locationSuffix, RenderPipeline.Builder builder) -
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). -
depthBoundsPipeline
Returns the value of thedepthBoundsPipelinerecord component.- Returns:
- the value of the
depthBoundsPipelinerecord component
-
transmittancePipeline
Returns the value of thetransmittancePipelinerecord component.- Returns:
- the value of the
transmittancePipelinerecord component
-
accumulatePipeline
Returns the value of theaccumulatePipelinerecord component.- Returns:
- the value of the
accumulatePipelinerecord component
-
builder(net.minecraft.resources.Identifier, RenderPipeline.Builder)instead