Generic texture accessors changed to protected

This methods should be used by subclasses for creating a more specific
accessors.