Added functions to upload texture data without creating a new texture