Added getSize() method to Texture.