Package net.runelite.client.callback
Interface Hooks.RenderableDrawListener
-
- All Superinterfaces:
RenderCallback
- Enclosing class:
- Hooks
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface @Deprecated public static interface Hooks.RenderableDrawListener extends RenderCallback
Deprecated.useRenderCallbackManagerinstead
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default booleanaddEntity(Renderable renderable, boolean ui)Deprecated.Tests if an entity should be added to the scene.booleandraw(Renderable renderable, boolean ui)Deprecated.-
Methods inherited from interface net.runelite.client.callback.RenderCallback
drawObject, drawTile
-
-
-
-
Method Detail
-
draw
boolean draw(Renderable renderable, boolean ui)
Deprecated.
-
addEntity
default boolean addEntity(Renderable renderable, boolean ui)
Deprecated.Description copied from interface:RenderCallbackTests if an entity should be added to the scene. This is called multiple times per frame from the client thread. Entities are temporary entities (players, npcs, projectiles, spotanims, etc). Preventing an entity from being added removes their clickbox and also allows other entities which would have been hidden to be added.- Specified by:
addEntityin interfaceRenderCallback- Parameters:
renderable- the entityui- true if this test is for drawing the ui (hitbars etc)- Returns:
-
-