added texture directive, image directive and touchpad directive.