CompressedTexture function ( int arg0 , int arg1 , int arg2 , int arg3 , int arg4 , byte [ ] arg5 , int arg6 , int arg7 ) { ByteBuffer loc0 = ByteBuffer . wrap ( arg5 , arg6 , arg7 ) ; return new CompressedTexture ( arg0 , arg1 , arg2 , arg3 , arg4 , loc0 ) ; }
provides external parsers access to the internal compressedtexture constructor.the compressedtexture class represents a texture file , loadedinto memory ; it 's what your #parse byte , reader method needsto return . the first four parameters are passed directly to glcompressedteximage2d ; the names are from https://www.khronos.org/opengles/sdk/docs/man/xhtml/ glcompressedteximage2d.xml concode_field_sep byte[] data concode_elem_sep int maximumHeaderLength concode_elem_sep int INTEGER_BYTES concode_elem_sep List<GVRCompressedTextureLoader> loaders concode_elem_sep int readPointer concode_elem_sep int SHORT_BYTES concode_field_sep byte read concode_elem_sep int read concode_elem_sep boolean sniff concode_elem_sep int readLE concode_elem_sep void skip concode_elem_sep CompressedTexture parse concode_elem_sep void setPosition concode_elem_sep int getPosition concode_elem_sep List<GVRCompressedTextureLoader> getLoaders concode_elem_sep long readLong concode_elem_sep int headerLength concode_elem_sep void reset concode_elem_sep int readBE concode_elem_sep void register