Package com.mojang.blaze3d.systems
Interface RenderSystem.ShapeIndexBuffer.Triangulator
- Enclosing class:
RenderSystem.ShapeIndexBuffer
A functional interface that decomposes a shape into triangles.
The input shape is represented by the index of the first vertex in the shape. An output triangle is represented by the indices of the vertices in the triangle.
- See Also:
- Mappings:
Namespace Name named com/mojang/blaze3d/systems/RenderSystem$ShapeIndexBuffer$Triangulatorintermediary com/mojang/blaze3d/systems/RenderSystem$class_5590$class_5591official com/mojang/blaze3d/systems/RenderSystem$a$a
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(IntConsumer indexConsumer, int firstVertexIndex) Decomposes a shape into triangles.
-
Method Details
-
accept
Decomposes a shape into triangles.- Parameters:
indexConsumer- the consumer that accepts trianglesfirstVertexIndex- the index of the first vertex in the input shape- Mappings:
Namespace Name Mixin selector named acceptLcom/mojang/blaze3d/systems/RenderSystem$ShapeIndexBuffer$Triangulator;accept(Lit/unimi/dsi/fastutil/ints/IntConsumer;I)Vintermediary acceptLcom/mojang/blaze3d/systems/RenderSystem$class_5590$class_5591;accept(Lit/unimi/dsi/fastutil/ints/IntConsumer;I)Vofficial acceptLcom/mojang/blaze3d/systems/RenderSystem$a$a;accept(Lit/unimi/dsi/fastutil/ints/IntConsumer;I)V
-