Class GpuPlugin

    • Field Summary

    • Constructor Summary

      Constructors 
      Constructor Description
      GpuPlugin()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void animate​(net.runelite.api.Texture texture, int diff)  
      void draw​(int overlayColor)  
      void draw​(net.runelite.api.Renderable renderable, int orientation, int pitchSin, int pitchCos, int yawSin, int yawCos, int x, int y, int z, long hash)
      Draw a renderable in the scene
      boolean drawFace​(net.runelite.api.Model model, int face)  
      void drawScene​(int cameraX, int cameraY, int cameraZ, int cameraPitch, int cameraYaw, int plane)  
      void drawSceneModel​(int orientation, int pitchSin, int pitchCos, int yawSin, int yawCos, int x, int y, int z, net.runelite.api.SceneTileModel model, int tileZ, int tileX, int tileY, int zoom, int centerX, int centerY)  
      void drawScenePaint​(int orientation, int pitchSin, int pitchCos, int yawSin, int yawCos, int x, int y, int z, net.runelite.api.SceneTilePaint paint, int tileZ, int tileX, int tileY, int zoom, int centerX, int centerY)  
      void onGameStateChanged​(net.runelite.api.events.GameStateChanged gameStateChanged)  
      void postDrawScene()  
      protected void shutDown()  
      protected void startUp()  
    • Constructor Detail

      • GpuPlugin

        public GpuPlugin()
    • Method Detail

      • startUp

        protected void startUp()
        Overrides:
        startUp in class Plugin
      • shutDown

        protected void shutDown()
        Overrides:
        shutDown in class Plugin
      • drawScene

        public void drawScene​(int cameraX,
                              int cameraY,
                              int cameraZ,
                              int cameraPitch,
                              int cameraYaw,
                              int plane)
        Specified by:
        drawScene in interface net.runelite.api.hooks.DrawCallbacks
      • postDrawScene

        public void postDrawScene()
        Specified by:
        postDrawScene in interface net.runelite.api.hooks.DrawCallbacks
      • drawScenePaint

        public void drawScenePaint​(int orientation,
                                   int pitchSin,
                                   int pitchCos,
                                   int yawSin,
                                   int yawCos,
                                   int x,
                                   int y,
                                   int z,
                                   net.runelite.api.SceneTilePaint paint,
                                   int tileZ,
                                   int tileX,
                                   int tileY,
                                   int zoom,
                                   int centerX,
                                   int centerY)
        Specified by:
        drawScenePaint in interface net.runelite.api.hooks.DrawCallbacks
      • drawSceneModel

        public void drawSceneModel​(int orientation,
                                   int pitchSin,
                                   int pitchCos,
                                   int yawSin,
                                   int yawCos,
                                   int x,
                                   int y,
                                   int z,
                                   net.runelite.api.SceneTileModel model,
                                   int tileZ,
                                   int tileX,
                                   int tileY,
                                   int zoom,
                                   int centerX,
                                   int centerY)
        Specified by:
        drawSceneModel in interface net.runelite.api.hooks.DrawCallbacks
      • draw

        public void draw​(int overlayColor)
        Specified by:
        draw in interface net.runelite.api.hooks.DrawCallbacks
      • animate

        public void animate​(net.runelite.api.Texture texture,
                            int diff)
        Specified by:
        animate in interface net.runelite.api.hooks.DrawCallbacks
      • onGameStateChanged

        @Subscribe
        public void onGameStateChanged​(net.runelite.api.events.GameStateChanged gameStateChanged)
      • draw

        public void draw​(net.runelite.api.Renderable renderable,
                         int orientation,
                         int pitchSin,
                         int pitchCos,
                         int yawSin,
                         int yawCos,
                         int x,
                         int y,
                         int z,
                         long hash)
        Draw a renderable in the scene
        Specified by:
        draw in interface net.runelite.api.hooks.DrawCallbacks
        Parameters:
        renderable -
        orientation -
        pitchSin -
        pitchCos -
        yawSin -
        yawCos -
        x -
        y -
        z -
        hash -
      • drawFace

        public boolean drawFace​(net.runelite.api.Model model,
                                int face)
        Specified by:
        drawFace in interface net.runelite.api.hooks.DrawCallbacks