more usable api for texture
change documentation