Record Class RenderPassDescriptor.Attachment<T>
java.lang.Object
java.lang.Record
com.mojang.blaze3d.systems.RenderPassDescriptor.Attachment<T>
- Enclosing class:
RenderPassDescriptor
public static record RenderPassDescriptor.Attachment<T>(GpuTextureView textureView, T clearValue)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TThe field for theclearValuerecord component.private final GpuTextureViewThe field for thetextureViewrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionAttachment(GpuTextureView textureView, T clearValue) Creates an instance of aAttachmentrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclearValuerecord 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 thetextureViewrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
textureView
The field for thetextureViewrecord component. -
clearValue
The field for theclearValuerecord component.
-
-
Constructor Details
-
Attachment
Creates an instance of aAttachmentrecord class.- Parameters:
textureView- the value for thetextureViewrecord componentclearValue- the value for theclearValuerecord 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). -
textureView
Returns the value of thetextureViewrecord component.- Returns:
- the value of the
textureViewrecord component
-
clearValue
Returns the value of theclearValuerecord component.- Returns:
- the value of the
clearValuerecord component
-