org.jeometry.geom3D.textured.Texture Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jeometry-api Show documentation
Show all versions of jeometry-api Show documentation
Jeometry, a Mathematic and Geometry library for Java
package org.jeometry.geom3D.textured;
import org.jeometry.Jeometry;
/**
* A texture is an identified resource that can provide display information attached to a coordinate.
* (the resource can be a path to an image, a dynamic raster, ...)
* @author Julien Seinturier - COMEX S.A. - [email protected] - https://github.com/jorigin/jeometry
* @version {@value Jeometry#version} build {@value Jeometry#BUILD}
* @since 1.0.0
*/
public interface Texture{
/**
* Get the resource attached to the texture.
* @return the resource attached to the texture.
* @see #setResource(Object)
*/
public Object getResource();
/**
* Set the resource attached to the texture.
* @param resource the resource attached to the texture.
* @see #getResource()
*/
public void setResource(Object resource);
}