@Override
	public void load(Core core) throws ResourceException {
		InputStream in = ResourceService.getInstance(core).getStream(this.filename);
		if (in == null) {
			throw new ResourceException("resource not found " + this.filename);
		}
		try {
			this.texture = TextureLoader.getTexture(this.format, in, this.filter);
			in.close();
		} catch (IOException e) {
			throw new ResourceException("unable to load texture", e);
		}
	}