Class TextureHandle

java.lang.Object
dev.pfaff.altargui.texture.TextureHandle

public final class TextureHandle extends Object
  • Field Details

    • layer

      public final int layer
    • u

      public final char u
      The base U of the texture in the atlas. Normalized.
    • v

      public final char v
      The base U of the texture in the atlas. Normalized.
  • Method Details

    • unmanaged

      public static TextureHandle unmanaged(int layer, char u, char v, TextureAtlasScale atlasScale, int textureWidth, int textureHeight)
    • texToAtlasX

      public int texToAtlasX(float x)
    • texToAtlasY

      public int texToAtlasY(float y)