Interface RendererAccess
public interface RendererAccess
Registration and access for rendering extensions.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable Renderer
Access to the currentRenderer
for creating and retrieving model builders and materials.boolean
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.
-