Render Context
public interface RenderContext
Content copied to clipboard
This defines the instance made available to models for buffering vertex data at render time.
Only the renderer should implement or extend this interface.
Types
QuadTransform
Link copied to clipboard
public interface QuadTransform
Content copied to clipboard
Functions
fallbackConsumer
Link copied to clipboard
getEmitter
Link copied to clipboard
meshConsumer
Link copied to clipboard
Used by models to send vertex data previously baked via MeshBuilder.The fastest option and preferred whenever feasible.
popTransform
Link copied to clipboard
abstract void popTransform()
Content copied to clipboard
Removes the transformation added by the last call to pushTransform.
pushTransform
Link copied to clipboard
Causes all models/quads/meshes sent to this consumer to be transformed by the provided QuadTransform that edits each quad before buffering.
Sources
jvm source
Link copied to clipboard