public void setImage ( final GVRImage imageData ) { mImage = imageData ; if ( imageData != null ) NativeTexture . setImage ( getNative ( ) , imageData , imageData . getNative ( ) ) ; else NativeTexture . setImage ( getNative ( ) , null , 0 ) ; }
Changes the image data associated with a GVRTexture . This can be a simple bitmap a compressed bitmap a cubemap or a compressed cubemap .