Package net.runelite.client.plugins.gpu
Class GpuPlugin
- java.lang.Object
-
- net.runelite.client.plugins.Plugin
-
- net.runelite.client.plugins.gpu.GpuPlugin
-
- All Implemented Interfaces:
com.google.inject.Module,net.runelite.api.hooks.DrawCallbacks
@PluginDescriptor(name="GPU", description="Utilizes the GPU", enabledByDefault=false, tags={"fog","draw distance"}, loadInSafeMode=false) public class GpuPlugin extends Plugin implements net.runelite.api.hooks.DrawCallbacks
-
-
Constructor Summary
Constructors Constructor Description GpuPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidanimate(net.runelite.api.Texture texture, int diff)voiddraw(int overlayColor)voiddraw(net.runelite.api.Projection projection, net.runelite.api.Scene scene, net.runelite.api.Renderable renderable, int orientation, int x, int y, int z, long hash)Draw a renderable in the scenevoiddrawScene(double cameraX, double cameraY, double cameraZ, double cameraPitch, double cameraYaw, int plane)voiddrawScenePaint(net.runelite.api.Scene scene, net.runelite.api.SceneTilePaint paint, int plane, int tileX, int tileY)voiddrawSceneTileModel(net.runelite.api.Scene scene, net.runelite.api.SceneTileModel model, int tileX, int tileY)voidloadScene(net.runelite.api.Scene scene)voidonConfigChanged(ConfigChanged configChanged)voidonGameStateChanged(net.runelite.api.events.GameStateChanged gameStateChanged)voidpostDrawScene()protected voidshutDown()protected voidstartUp()voidswapScene(net.runelite.api.Scene scene)booleantileInFrustum(net.runelite.api.Scene scene, float pitchSin, float pitchCos, float yawSin, float yawCos, int cameraX, int cameraY, int cameraZ, int plane, int msx, int msy)-
Methods inherited from class net.runelite.client.plugins.Plugin
configure, equals, getInjector, getName, hashCode, resetConfiguration
-
-
-
-
Method Detail
-
onConfigChanged
@Subscribe public void onConfigChanged(ConfigChanged configChanged)
-
drawScene
public void drawScene(double cameraX, double cameraY, double cameraZ, double cameraPitch, double cameraYaw, int plane)- Specified by:
drawScenein interfacenet.runelite.api.hooks.DrawCallbacks
-
postDrawScene
public void postDrawScene()
- Specified by:
postDrawScenein interfacenet.runelite.api.hooks.DrawCallbacks
-
drawScenePaint
public void drawScenePaint(net.runelite.api.Scene scene, net.runelite.api.SceneTilePaint paint, int plane, int tileX, int tileY)- Specified by:
drawScenePaintin interfacenet.runelite.api.hooks.DrawCallbacks
-
drawSceneTileModel
public void drawSceneTileModel(net.runelite.api.Scene scene, net.runelite.api.SceneTileModel model, int tileX, int tileY)- Specified by:
drawSceneTileModelin interfacenet.runelite.api.hooks.DrawCallbacks
-
draw
public void draw(int overlayColor)
- Specified by:
drawin interfacenet.runelite.api.hooks.DrawCallbacks
-
animate
public void animate(net.runelite.api.Texture texture, int diff)- Specified by:
animatein interfacenet.runelite.api.hooks.DrawCallbacks
-
onGameStateChanged
@Subscribe public void onGameStateChanged(net.runelite.api.events.GameStateChanged gameStateChanged)
-
loadScene
public void loadScene(net.runelite.api.Scene scene)
- Specified by:
loadScenein interfacenet.runelite.api.hooks.DrawCallbacks
-
swapScene
public void swapScene(net.runelite.api.Scene scene)
- Specified by:
swapScenein interfacenet.runelite.api.hooks.DrawCallbacks
-
tileInFrustum
public boolean tileInFrustum(net.runelite.api.Scene scene, float pitchSin, float pitchCos, float yawSin, float yawCos, int cameraX, int cameraY, int cameraZ, int plane, int msx, int msy)- Specified by:
tileInFrustumin interfacenet.runelite.api.hooks.DrawCallbacks
-
draw
public void draw(net.runelite.api.Projection projection, net.runelite.api.Scene scene, net.runelite.api.Renderable renderable, int orientation, int x, int y, int z, long hash)Draw a renderable in the scene- Specified by:
drawin interfacenet.runelite.api.hooks.DrawCallbacks
-
-