created texture class