类 TextureShape

  • 所有已实现的接口:
    java.lang.Cloneable

    public class TextureShape
    extends ImageShape
    作者:
    yaqiang
    • 构造器详细资料

      • TextureShape

        public TextureShape()
        Constructor
      • TextureShape

        public TextureShape​(com.jogamp.opengl.util.texture.Texture texture)
        Constructor
        参数:
        texture - Texture
    • 方法详细资料

      • getTexture

        public com.jogamp.opengl.util.texture.Texture getTexture()
        Get texture
        返回:
        Texture
      • setTexture

        public void setTexture​(com.jogamp.opengl.util.texture.Texture value)
        Set texture
        参数:
        value - Texture
      • getFileName

        public java.lang.String getFileName()
        Get file name
        返回:
        File name
      • setFileName

        public void setFileName​(java.lang.String value)
        Set file name
        参数:
        value - File name
      • loadTexture

        public void loadTexture()
                         throws java.io.IOException
        Load texture from file
        抛出:
        java.io.IOException