Package 

Class ClientTexture

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final ByteArray data
      private final Integer width
      private final Integer height
    • Constructor Summary

      Constructors 
      Constructor Description
      ClientTexture(Bitmap data, Integer width, Integer height)
      ClientTexture(ByteArray data, Integer width, Integer height)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final ByteArray getData() bytes needs to be exactly that..
      final Integer getWidth() width of image
      final Integer getHeight() height of image
      Boolean equals(Object other)
      Integer hashCode()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClientTexture

        ClientTexture(Bitmap data, Integer width, Integer height)
        Parameters:
        data - Bitmap must be in RGBA format (.
        width - width of image
        height - height of image
      • ClientTexture

        ClientTexture(ByteArray data, Integer width, Integer height)
    • Method Detail

      • getData

         final ByteArray getData()

        bytes needs to be exactly that.. raw bytes r,g,b,a,r,g,b,a,r,g,b,a etc where every one of those is a byte in a regular byte array

      • getWidth

         final Integer getWidth()

        width of image

      • getHeight

         final Integer getHeight()

        height of image

      • equals

         Boolean equals(Object other)