Record Class PostPass.InputTexture
java.lang.Object
java.lang.Record
net.minecraft.client.renderer.PostPass.InputTexture
- Enclosing class:
PostPass
static record PostPass.InputTexture(String samplerName, GpuTextureView view, GpuSampler sampler)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final GpuSamplerThe field for thesamplerrecord component.private final StringThe field for thesamplerNamerecord component.private final GpuTextureViewThe field for theviewrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionInputTexture(String samplerName, GpuTextureView view, GpuSampler sampler) Creates an instance of aInputTexturerecord class. -
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.sampler()Returns the value of thesamplerrecord component.Returns the value of thesamplerNamerecord component.final StringtoString()Returns a string representation of this record class.view()Returns the value of theviewrecord component.
-
Field Details
-
samplerName
The field for thesamplerNamerecord component. -
view
The field for theviewrecord component. -
sampler
The field for thesamplerrecord component.
-
-
Constructor Details
-
InputTexture
InputTexture(String samplerName, GpuTextureView view, GpuSampler sampler) Creates an instance of aInputTexturerecord class.- Parameters:
samplerName- the value for thesamplerNamerecord componentview- the value for theviewrecord componentsampler- the value for thesamplerrecord 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). -
samplerName
Returns the value of thesamplerNamerecord component.- Returns:
- the value of the
samplerNamerecord component
-
view
Returns the value of theviewrecord component.- Returns:
- the value of the
viewrecord component
-
sampler
Returns the value of thesamplerrecord component.- Returns:
- the value of the
samplerrecord component
-