Record Class SectionRenderDispatcher.SectionUberBuffers
java.lang.Object
java.lang.Record
net.minecraft.client.renderer.chunk.SectionRenderDispatcher.SectionUberBuffers
- Enclosing class:
SectionRenderDispatcher
private static record SectionRenderDispatcher.SectionUberBuffers(UberGpuBuffer<SectionMesh> vertexBuffer, @Nullable UberGpuBuffer<SectionMesh> indexBuffer)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable UberGpuBuffer<SectionMesh> The field for theindexBufferrecord component.private final UberGpuBuffer<SectionMesh> The field for thevertexBufferrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSectionUberBuffers(UberGpuBuffer<SectionMesh> vertexBuffer, @Nullable UberGpuBuffer<SectionMesh> indexBuffer) Creates an instance of aSectionUberBuffersrecord 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.@Nullable UberGpuBuffer<SectionMesh> Returns the value of theindexBufferrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevertexBufferrecord component.
-
Field Details
-
vertexBuffer
The field for thevertexBufferrecord component. -
indexBuffer
The field for theindexBufferrecord component.
-
-
Constructor Details
-
SectionUberBuffers
private SectionUberBuffers(UberGpuBuffer<SectionMesh> vertexBuffer, @Nullable UberGpuBuffer<SectionMesh> indexBuffer) Creates an instance of aSectionUberBuffersrecord class.- Parameters:
vertexBuffer- the value for thevertexBufferrecord componentindexBuffer- the value for theindexBufferrecord 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). -
vertexBuffer
Returns the value of thevertexBufferrecord component.- Returns:
- the value of the
vertexBufferrecord component
-
indexBuffer
Returns the value of theindexBufferrecord component.- Returns:
- the value of the
indexBufferrecord component
-