Record Class GlRenderPass.TextureViewAndSampler
java.lang.Object
java.lang.Record
com.mojang.blaze3d.opengl.GlRenderPass.TextureViewAndSampler
- Enclosing class:
GlRenderPass
protected static record GlRenderPass.TextureViewAndSampler(GlTextureView view, GlSampler sampler)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final GlSamplerThe field for thesamplerrecord component.private final GlTextureViewThe field for theviewrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTextureViewAndSampler(GlTextureView view, GlSampler sampler) Creates an instance of aTextureViewAndSamplerrecord 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.final StringtoString()Returns a string representation of this record class.view()Returns the value of theviewrecord component.
-
Field Details
-
view
The field for theviewrecord component. -
sampler
The field for thesamplerrecord component.
-
-
Constructor Details
-
TextureViewAndSampler
Creates an instance of aTextureViewAndSamplerrecord class.- Parameters:
view- 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). -
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
-