ABuffer uses sampler files

- RenderableVolumeGL provides a filepath to sampler
- ABuffer reloads all sampler files for each recompilation
- ABuffer has mostly private members
This commit is contained in:
Jonas Strandstedt
2014-06-24 11:31:06 -04:00
parent 3fe447274f
commit fe701ddc5a
6 changed files with 69 additions and 25 deletions
@@ -36,12 +36,6 @@
#include <ghoul/io/rawvolumereader.h>
#include <ghoul/filesystem/file.h>
#ifdef __APPLE__
#include <memory>
#else
#include <mutex>
#endif
namespace openspace {
class RenderableVolumeGL: public RenderableVolume {
@@ -61,6 +55,7 @@ private:
std::string _filename;
std::string _transferFunctionPath;
std::string _samplerFilename;
ghoul::filesystem::File* _transferFunctionFile;