Interface RendererAccess
public interface RendererAccess
Registration and access for rendering extensions.
-
Field Summary
Fields Modifier and Type Field Description static RendererAccess
INSTANCE
-
Method Summary
Modifier and Type Method Description @Nullable Renderer
getRenderer()
Access to the currentRenderer
for creating and retrieving model builders and materials.boolean
hasRenderer()
Performant test forgetRenderer()
!= null.void
registerRenderer(Renderer plugin)
Rendering extension mods must implementRenderer
and call this method during initialization.
-
Field Details
-
INSTANCE
-
-
Method Details
-
registerRenderer
-
getRenderer
Access to the currentRenderer
for creating and retrieving model builders and materials. Will return null if no render plug in is active. -
hasRenderer
boolean hasRenderer()Performant test forgetRenderer()
!= null.
-