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 official com/mojang/blaze3d/systems/RenderSystem$a$a
intermediary com/mojang/blaze3d/systems/RenderSystem$class_5590$class_5591
named com/mojang/blaze3d/systems/RenderSystem$ShapeIndexBuffer$Triangulator
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(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 official accept
Lcom/mojang/blaze3d/systems/RenderSystem$a$a;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
named accept
Lcom/mojang/blaze3d/systems/RenderSystem$ShapeIndexBuffer$Triangulator;accept(Lit/unimi/dsi/fastutil/ints/IntConsumer;I)V
-