Added support for texture options.