AbstractMeshConsumer

public abstract class AbstractMeshConsumer extends AbstractQuadRenderer implements Consumer<Mesh>

Consumer for pre-baked meshes. Works by copying the mesh data to a "editor" quad held in the instance, where all transformations are applied before buffering.

Functions

accept
Link copied to clipboard
abstract void accept(T p)
void accept(Mesh mesh)
andThen
Link copied to clipboard
Consumer<TandThen(Consumer<? extends Object> after)
bufferQuad
Link copied to clipboard
static void bufferQuad(VertexConsumer buff, MutableQuadViewImpl quad, Matrix4f matrix, int overlay, Matrix3f normalMatrix, Vec3f normalVec)
getEmitter
Link copied to clipboard
QuadEmitter getEmitter()

Sources

jvm source
Link copied to clipboard