Interface TextureCache

All Known Implementing Classes:
TextureGridCache

public interface TextureCache
Fetches data from a source to the texture clipmap destination data through updateRegion.
  • Method Details

    • setCurrentPosition

      void setCurrentPosition(int x, int y)
    • getColor

      int getColor(int x, int z)
    • getSubColor

      int getSubColor(float x, float z)
    • updateRegion

      void updateRegion(ByteBuffer destinationData, int sourceX, int sourceY, int destX, int destY, int width, int height)
    • isValid

      boolean isValid()
    • setMailBox

      void setMailBox(DoubleBufferedList<Region> mailBox)
    • handleUpdateRequests

      Set<Tile> handleUpdateRequests()
    • shutdown

      void shutdown()