Skip to content

File NffTable.h

File List > Intern > rayx-core > src > Material > NffTable.h

Go to the documentation of this file

#pragma once

#include <string>
#include <vector>

// This file defines the NffEntry.
#include "../Shader/RefractiveIndex.h"

namespace rayx {
struct NffTable {
    std::string m_element;
    std::vector<NffEntry> m_Lines;

    static bool load(const char* element, NffTable* out);

    // double interpolate(double x) const;
};

}  // namespace rayx