/** * Get texture from cache or load it to cache. * * @param pName * file name from: <br> * 1. directory {PLUGIN_DIR_NAME}/ <br> * 2. from resources from jar in dir {PLUGIN_JAR}/ <br> * @return texture */ @Override public Texture getTexture(GL gl, String pName) { return this.get(gl, pName); }