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$Triangulator- intermediary - com/mojang/blaze3d/systems/RenderSystem$class_5590$class_5591- official - com/mojang/blaze3d/systems/RenderSystem$a$a
- 
Method SummaryModifier and TypeMethodDescriptionvoidaccept(IntConsumer indexConsumer, int firstVertexIndex) Decomposes a shape into triangles.
- 
Method Details- 
acceptDecomposes a shape into triangles.- Parameters:
- indexConsumer- the consumer that accepts triangles
- firstVertexIndex- the index of the first vertex in the input shape
- Mappings:
- Namespace - Name - Mixin selector - named - accept- Lcom/mojang/blaze3d/systems/RenderSystem$ShapeIndexBuffer$Triangulator;accept(Lit/unimi/dsi/fastutil/ints/IntConsumer;I)V- intermediary - accept- Lcom/mojang/blaze3d/systems/RenderSystem$class_5590$class_5591;accept(Lit/unimi/dsi/fastutil/ints/IntConsumer;I)V- official - accept- Lcom/mojang/blaze3d/systems/RenderSystem$a$a;accept(Lit/unimi/dsi/fastutil/ints/IntConsumer;I)V
 
 
-