addTargetAndReturnTextureIndex