Package net.minecraft.client.gl
Record Class PostEffectPass.class_12154
java.lang.Object
java.lang.Record
net.minecraft.client.gl.PostEffectPass.class_12154
- Record Components:
samplerName-view-sampler-
- Enclosing class:
PostEffectPass
@Environment(CLIENT)
static record PostEffectPass.class_12154(String samplerName, GpuTextureView view, GpuSampler sampler)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/gl/PostEffectPass$class_12154intermediary net/minecraft/class_283$class_12154official hjn$bnamed samplerNameintermediary comp_5066official anamed viewintermediary comp_5067official bnamed samplerintermediary comp_5068official c
-
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
ConstructorsConstructorDescriptionclass_12154(String samplerName, GpuTextureView view, GpuSampler sampler) Creates an instance of aclass_12154record 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
-
class_12154
class_12154(String samplerName, GpuTextureView view, GpuSampler sampler) Creates an instance of aclass_12154record class.- Parameters:
samplerName- the value for thesamplerNamerecord componentview- the value for theviewrecord componentsampler- the value for thesamplerrecord component
-
-
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). -
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
-