Package net.minecraft.client.render
Record Class BuiltBuffer.SortState
java.lang.Object
java.lang.Record
net.minecraft.client.render.BuiltBuffer.SortState
- Record Components:
centroids-indexType-
- Enclosing class:
BuiltBuffer
@Environment(CLIENT)
public static record BuiltBuffer.SortState(Vector3f[] centroids, VertexFormat.IndexType indexType)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/BuiltBuffer$SortStateintermediary net/minecraft/class_9801$class_9802official fbh$bnamed centroidsintermediary comp_2840official anamed indexTypeintermediary comp_2841official b
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVector3f[]Returns the value of thecentroidsrecord component.final booleanIndicates whether some other object is "equal to" this one.private IntConsumergetStorer(long pointer, VertexFormat.IndexType indexTyp) final inthashCode()Returns a hash code value for this object.Returns the value of theindexTyperecord component.sortAndStore(BufferAllocator allocator, VertexSorter sorter) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
SortState
-
-
Method Details
-
sortAndStore
@Nullable public BufferAllocator.CloseableBuffer sortAndStore(BufferAllocator allocator, VertexSorter sorter) - Mappings:
Namespace Name Mixin selector named sortAndStoreLnet/minecraft/client/render/BuiltBuffer$SortState;sortAndStore(Lnet/minecraft/client/util/BufferAllocator;Lcom/mojang/blaze3d/systems/VertexSorter;)Lnet/minecraft/client/util/BufferAllocator$CloseableBuffer;intermediary method_60824Lnet/minecraft/class_9801$class_9802;method_60824(Lnet/minecraft/class_9799;Lnet/minecraft/class_8251;)Lnet/minecraft/class_9799$class_9800;official aLfbh$b;a(Lfbf;Lfbq;)Lfbf$a;
-
getStorer
- Mappings:
Namespace Name Mixin selector named getStorerLnet/minecraft/client/render/BuiltBuffer$SortState;getStorer(JLnet/minecraft/client/render/VertexFormat$IndexType;)Lit/unimi/dsi/fastutil/ints/IntConsumer;intermediary method_60823Lnet/minecraft/class_9801$class_9802;method_60823(JLnet/minecraft/class_293$class_5595;)Lit/unimi/dsi/fastutil/ints/IntConsumer;official aLfbh$b;a(JLfbn$b;)Lit/unimi/dsi/fastutil/ints/IntConsumer;
-
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). -
centroids
Returns the value of thecentroidsrecord component.- Returns:
- the value of the
centroidsrecord component
-
indexType
Returns the value of theindexTyperecord component.- Returns:
- the value of the
indexTyperecord component
-