Mesh

public interface Mesh

A bundle of one or more QuadView instances encoded by the renderer, typically via meshBuilder.

Similar in purpose to the {@code List} instances returned by BakedModel, but affords the renderer the ability to optimize the format for performance and memory allocation.

Only the renderer should implement or extend this interface.

Functions

forEach
Link copied to clipboard
abstract void forEach(Consumer<QuadView> consumer)
Use to access all of the quads encoded in this mesh.

Sources

jvm source
Link copied to clipboard