Class PFMReader

java.lang.Object
gaiasky.util.gdx.loader.PFMReader

public class PFMReader
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    PFMReader()  
  • Method Summary

    Modifier and Type Method Description
    static PFMData constructPFMData​(int width, int height, java.util.function.Function<java.lang.Float,​java.lang.Float> f)  
    static java.util.List<gaiasky.util.gdx.loader.PFMReader.Quad> generateMesh​(float[] d, int w, int h)  
    static PFMData readPFMData​(com.badlogic.gdx.files.FileHandle file, boolean invert)  
    static com.badlogic.gdx.graphics.Pixmap readPFMPixmap​(com.badlogic.gdx.files.FileHandle file, boolean invert)  
    static com.badlogic.gdx.graphics.TextureData readPFMTextureData​(com.badlogic.gdx.files.FileHandle file, boolean invert)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PFMReader

      public PFMReader()
  • Method Details

    • readPFMTextureData

      public static com.badlogic.gdx.graphics.TextureData readPFMTextureData​(com.badlogic.gdx.files.FileHandle file, boolean invert)
    • readPFMData

      public static PFMData readPFMData​(com.badlogic.gdx.files.FileHandle file, boolean invert)
    • readPFMPixmap

      public static com.badlogic.gdx.graphics.Pixmap readPFMPixmap​(com.badlogic.gdx.files.FileHandle file, boolean invert)
    • constructPFMData

      public static PFMData constructPFMData​(int width, int height, java.util.function.Function<java.lang.Float,​java.lang.Float> f)
    • generateMesh

      public static java.util.List<gaiasky.util.gdx.loader.PFMReader.Quad> generateMesh​(float[] d, int w, int h)